Commit graph

1476 commits

Author SHA1 Message Date
Mauricio Navarro Miranda
c4acfaa609 fix: no need for child selectors
fix: eslint
2020-09-20 14:26:26 +01:00
Mauricio Navarro Miranda
42f19e9d02 fix: cash out fixes
fix: on and off should have a fixed width
fix: fist screen should be two p
fix: autofocus on fields after next
fix: spacing
fix: button position
fix: make the denominations a dropdown
fix: fiat should shown input suffix
fix: wizard should have splash image
fix: add missing warning icon
fix: eslint
fix: modal fiat should be a suffix
fix: increase modal height to match the spec
fix: confirmation step has repeated title
fix: label should cover both the input and the suffix
fix: use code+display to benefit from dropdown improvements
2020-09-20 14:26:26 +01:00
Liordino Neto
b870bdd999 fix: make all fields required on the Terms & Conditions page if Show on
screen is enabled

fix: enable/disable the Terms & Conditions form based on the Show on
screen toggle

fix: replaced deactivated field with plain text when not editing

fix: make de non editable text content field scrollable

style: make it follow the same style as the other screens, with the edit
button and links to save and cancel
2020-09-18 16:19:55 +01:00
Liordino Neto
8853f1fd20 feat: added an alert to confirm fiat currency changes on locales 2020-09-18 16:17:10 +01:00
Liordino Neto
192ae0c5fb style: fix uptime chip style
style: reduced the dropdown border-radius from 16px to 8px only when it's open

feat: scroll the table back up with a log level filter change

fix: dropdown border-radius bottom was still 16px instead of 8px when
opened
2020-09-18 16:16:03 +01:00
Liordino Neto
6177a781a6 fix: make the schema_version column not nullable 2020-09-11 14:13:18 +01:00
Liordino Neto
d6b707ff7a feat: refactor the loading of the latest config so there's now two
functions, one for the server and one for the new admin web page
2020-09-11 14:13:18 +01:00
Liordino Neto
a0f6feeb78 fix: remove unnecessary ternary operation 2020-09-11 14:13:18 +01:00
Liordino Neto
f95deab005 fix: removed unnecessary processes from the account loading process
fix: treat an empty response as an error when loading the latest config
2020-09-11 14:13:18 +01:00
Liordino Neto
6e356217ae feat: created migration to add a schema_version column on the user_config table
feat: adapted the new settings loader to work with the db instead of
the json file

fix: fixed the schema migration file

fix: updated accounts to work with the db

fix: fetch only data with the new schema version

fix: change the account saving process so there's no more than one
account record

chore: removed unnecessary TODO comments

fix: replaced an error throwing with a Promise reject

fix: when looking for the latest config, don't limit it to the new ones

fix: fix function names on gql server

fix: remove duplicate import

fix: return an empty object when there's no schema_version 2 config yet
2020-09-11 14:13:18 +01:00
Taranto
29502ee303 fix: new font sizes 2020-09-11 14:11:59 +01:00
Taranto
99b400f21c fix: regression in tooltips, autocomplete and font 2020-09-11 14:11:59 +01:00
Taranto
6f5cb385b0 feat: compliance triggers and customers up to spec 2020-09-11 14:11:59 +01:00
Taranto
b153a23f25 fix: small component fixes 2020-09-11 14:11:59 +01:00
Taranto
0b28e7f98a fix: get triggers up to spec 2020-09-11 14:11:59 +01:00
Taranto
b07c0e180a fix: general screen fixes 2020-09-11 14:11:59 +01:00
Taranto
ea53d782ad fix: menu changes 2020-09-11 14:11:59 +01:00
Taranto
b853f366f1 fix: soft rework Customers pages 2020-09-11 14:11:59 +01:00
Liordino Neto
246f736fa8 feat: first field now autofocus when editing a row
fix: move the focus to the first editable element

fix: make the Autocomplete options popup on autoFocus

feat: allow saving on table only when changes occurred

fix: compare only the editing row instead of the entire list to decide
if the save method will be called
2020-09-02 13:06:00 +02:00
Liordino Neto
1e810daabc refactor: ramda function replacements to cleanup the code 2020-09-02 13:03:56 +02:00
Liordino Neto
db966cb4c7 fix: removed debug logging 2020-09-02 13:03:56 +02:00
Liordino Neto
c18b935aa8 fix: moved the filtering of already overriden machines to the locales
helper

fix: allow already existing overrides to show the machine when
being edited
2020-09-02 13:03:56 +02:00
Liordino Neto
925d76dc4b fix: filter already overriden machines on locales 2020-09-02 13:03:56 +02:00
Mauricio Navarro Miranda
a32aca40b2 fix: no need to pointerEvents: none if svg have no name
fix: modified unrelated file
2020-09-02 12:57:18 +02:00
Mauricio Navarro Miranda
eb9acc32f2 fix: use new tooltip 2020-09-02 12:57:18 +02:00
Mauricio Navarro Miranda
79f10d032c feat: allow custom button for tooltip anchorEl 2020-09-02 12:57:18 +02:00
Mauricio Navarro Miranda
41eaa99429 fix: remove title attr from svg to prevent browser tooltip 2020-09-02 12:57:18 +02:00
Mauricio Navarro Miranda
5210e14a19 fix: simplify Tooltip 2020-09-02 12:57:18 +02:00
Mauricio Navarro Miranda
e7805040f0 fix: revert selected files, no need to add tooltips on svg buttons 2020-09-02 12:57:18 +02:00
Mauricio Navarro Miranda
653f939856 feat: custom tooltip instead of browser tooltip
fix: remove default browser tooltip
fix: rename HelpTooltip into Tooltip
feat: allow custom tooltip element
fix: open cashout fudgefactor help tooltip on click
feat: edit and delete (editabletable) custom tooltip
feat: custom tooltip on single field editables
feat: SingleRowTable custom tooltip
feat: custom tooltip on modal close button
fix: operatorinfo custom tooltip
feat: confirmdialog custom close tooltip
fix: remove browser default tooltip from action buttons
fix: eslint
2020-09-02 12:57:18 +02:00
Liordino Neto
f700b29b3d fix: added last month last days on the popup calendar, and fix it's day
of week organization

chore: removed debug logging
2020-09-02 12:50:03 +02:00
Liordino Neto
d88508d0f5 fix: machine status popup validation now occurs only on lose of focus 2020-09-02 12:47:24 +02:00
Mauricio Navarro Miranda
8a8503dcbb fix: server_logs creates inf loop on l-s install
fix: flag that skips storing server_logs on DB when table does not yet exists
fix: hook server logs migration as soft dependency on initial
Revert "fix: hook server logs migration as soft dependency on initial"
This reverts commit e6c4cf4419c894598393997637dcfd95a5ff6a0e.
fix: empty promise, actually no additional promise was needed
2020-09-02 12:41:49 +02:00
Mauricio Navarro Miranda
4b98f3503f fix: remove selected item preference when something is typed 2020-09-02 12:36:14 +02:00
Mauricio Navarro Miranda
ddf488e3b7 fix: selected values must be at the start of the dropdown 2020-09-02 12:36:14 +02:00
Mauricio Navarro Miranda
ef9f8b49a6 fix: match-sorter for a better drop-down sorting
fix: autocoplete inerOnBlur
fix: revert autocomplete limit api
fix: no need for custom filterOptions
fix: eslint
2020-09-02 12:36:14 +02:00
Liordino Neto
d1c1734dec fix: set the correct number o decimal places on percentage number inputs 2020-09-02 12:32:40 +02:00
Liordino Neto
27da8cc025 feat: created a number input component (base and formik)
fix: replace numeric TextInput fields on the Cashout, Commissions,
Cashboxes, Notifications, Operator Info and Terms & Conditions pages

fix: change the way the number format is defined on the component

fix: parameterize the number of decimal places in the in the number
input and set it's value for the current number inputs on the admin
2020-09-02 12:32:40 +02:00
Liordino Neto
72a1b798f8 fix: added missing lodash dependency to accounts lib
fix: don't prepend '+' when using a friendly name with Twilio

fix: consider that the phone number may contain whitespaces

fix: removed duplicated import on accounts.js

fix: replaced isNan with lodash's _.isNumber

fix: _isNumber logic was inverted
2020-09-02 12:31:06 +02:00
Liordino Neto
8564c8b727 fix: replaced ternary operator with a more readable expression on the
percentage calculation
2020-09-02 12:29:01 +02:00
Liordino Neto
112544fc75 fix: increased width of inputs so they doesn't cut off text
fix: reenabled the cash-out display component with 500 notes max bot and top

fix: fixed repeated import on new-admin config accounts

feat: reenabled the cash-out display component
2020-09-02 12:29:01 +02:00
Liordino Neto
c3222362d7 fix: change default port to 3001 2020-08-06 12:37:54 +02:00
Liordino Neto
994f823632 fix: added missing lodash dependency to accounts lib
fix: show full languages name on the dropdown

fix: search crypto per name as well

fix: limit selected languages to 4 (the same as the old admin)

fix: removed duplicated import
2020-08-02 00:38:54 +02:00
Liordino Neto
f641e605a4 fix: added timestamp parameters for a date range on the gql queries for
machineLogs, serverLogs and transactions

feat: added optional limit and offset variables for the logs queries,
for filtering and pagination

feat: adapted the LogsDownloaderPopper to download the logs by whats set
on the filters

fix: improved code readability

fix: avoid errors when the range option is selected and no range is
actually selected
2020-07-31 00:37:00 +02:00
Liordino Neto
37ea3a04c3 fix: replaced the 'info card enabled' radio group with a switch
fix: increased width of inputs

fix: avoid formik fields wiggling

fix: avoid content bellow form to wiggle when editing

fix: fixed the wiggling on the fields labels

fix: add ellipsis on text overflow on the contact info form

fix: validate phone number, considering locale country if no country
code is provided

fix: contact info can now be edited independent of the "info card
enabled" switch state

fix: removed unused style
2020-07-31 00:29:51 +02:00
Liordino Neto
78f3cfd5c1 fix: added missing lodash dependency to accounts lib
fix: made the properties table editable even when the receipt printing
is off

fix: change company registration to company number on the
receipt printing page

fix: refetch config after saving

fix: set fixed height for the editable property row

fix: remove debug log

fix: placed the options of the BooleanPropertiesTable in a TableCell to
avoid raising an error caused by having an <svg> inside a <td>

fix: change the receipt options to a switch

fix: copied style instead of importing from other component
2020-07-31 00:09:55 +02:00
Liordino Neto
fbb72e9562 fix: added missing lodash dependency to accounts lib
fix: removed unnecessary properties from CAR page and config

style: changed the CAR page properties from radio groups to switches

fix: refetch config after saving
2020-07-31 00:02:42 +02:00
Taranto
5dd8501a17 fix: pre release screen fixes 2020-07-06 14:17:44 +01:00
Josh Harvey
1bcc87757b Merge pull request #400 from lamassu/fix/flat-schema
WIP: New admin integration
2020-06-09 17:19:46 +00:00
Taranto
db32ad4f16 Merge remote-tracking branch 'upstream/defiant-dingirma' into fix/flat-schema 2020-06-01 21:02:44 +01:00