Commit graph

18 commits

Author SHA1 Message Date
Taranto
96b8e3d9a2 feat: error handling for the tables and wizards 2020-10-30 20:13:12 +00:00
Liordino Neto
cce8289e22 fix: prompt when leaving page without saving changes on editable tables 2020-10-27 17:14:50 +00:00
Taranto
0a491e0522 fix: big wizard fixes 2020-10-21 11:31:17 +02:00
Liordino Neto
92eebd630e fix: No reason for 'Enable' switch on 'Wallet Settings' panel (#439)
* fix: remove the "enable" toggle

fix: make edit available at all times and make it toggle the wizard if
the coin config is empty

fix: disable focus on the first edit

feat: open the coin config wizard when adding a not configured coin on
locales

* fix: set default value for focusOnEditWhen to avoid breaking tables
first field focus

refactor: replaced relative path imports from outside the module with
full paths

fix: removed console.log

* fix: changed the edit override logic to a cleaner one

* fix: trigger the wizard only when the coin isn't configured
2020-10-20 20:07:49 +01:00
Taranto
3a6f3a2915 fix: wizard rework 2020-10-15 21:32:46 +02:00
Mauricio Navarro Miranda
0f4350f99c fix: wizard tables are not on edit mode by default 2020-10-15 21:32:46 +02:00
Liordino Neto
0c3ae801d0 fix: Editing/saving fixes (#432)
* feat: table add button is now hidden when adding/editing

feat: disable every other action on editable table when editing/adding

feat: hide add button instead of disabling it when can't add

feat: disable every other action when adding/editing on the commissions
page

feat: disable every other action when adding/editing on the locales
page

feat: disable every other action when adding/editing on the
notifications page

feat: disable save buttons while waiting for server response on tables
and editable numbers

* chore: removed TODO
2020-09-22 22:28:55 +01:00
Liordino Neto
3c0f4ec194 feat: Prevent leaving the page without saving (#431)
* 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

feat: created Prompt component to avoid leaving pages without saving

feat: applied component to the editable table

feat: applied component to the Cashout, Commissions, Locales, Cashboxes,
Notifications, CryptoBalanceOverrides and Wallet pages

feat: applied component to the ContactInfo and ReceiptPrinting pages

refactor: export the default prompt message to be used in other contexts

fix: applied prompt component to the Operator Info pages

fix: create routes for the operator info components

feat: applied the Prompt component to the Contact Info and Receipt pages

feat: applied the Prompt component to the Terms & Conditions page

* refactor: move prompt to components

* feat: use formik on the boolean properties table

* chore: removed console.logs

chore: removed comments

refactor: moved BooleanCell to the BooleanPropertiesTable file and make
it not a formik field
2020-09-21 12:45:29 +01:00
Taranto
0b28e7f98a fix: get triggers up to spec 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
Taranto
bf8f1d991c chore: integrate new admin with l-s 2020-05-27 22:43:00 +01:00
Taranto
ec73f0b022 fix: flat schema on operator info pages 2020-05-09 20:14:43 +01:00
Taranto
1f6d272aa0 fix: rework wallet screen 2020-04-23 18:38:29 +02:00
Taranto
ffa8713ee4 feat: notifications rework 2020-04-23 18:38:29 +02:00
Luis Félix
b6e7d98b72 feat: notifications page 2020-04-23 18:38:29 +02:00
Rafael Taranto
b8e0c2175b feat: add graphql support (#349)
* fix: eslint warnings

* refactor: use ramda + sanctuary instead of lodash

* refactor: use prettier-standard for formatting

* feat: enable security

* feat: add graphql

* chore: remove trailing commas from linter

* docs: new scripts on react and new-admin-server

* feat: handle authentication on graphql

* fix: perf improvement to date picker

* chore: add insecure-dev script to run servers
2019-12-24 15:36:41 +01:00
Rafael Taranto
8b4a1ff23f Feat: New styleguide, table component and screen 2019-11-12 15:17:03 +00:00
Rafael Taranto
fc1951c4b2 Lamassu admin server initial commit 2019-10-31 12:28:51 +00:00