1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-22 06:39:39 +02:00
Commit graph

10 commits

Author SHA1 Message Date
Zach Gollwitzer
3ec9c9b56b
Scaffold out the UI for individual account page (#461)
* Add `AccountBalance` table for account views

* Scaffold out account UI

* Add D3 line chart scaffolding

* Style fixes
2024-02-14 13:02:11 -05:00
Josh Brown
101a5ee0c5
Add notification UI (#449)
* Add notification UI

* Make animation an aribtrary value

It didn't make much sense in the theme as it feels very specific, this
change also means the timing information is clearer within the html
itself.

* Update to use tailwind theme

* Refactor structure of icon

* Add support for multiple notifications at once

* Adjust notification animation timing

* Make notification more accessible

Applies role to the notification which will apply the appropriate
aria-live status to ensure notifications are read out when they are
rendered into the screen for screenreader users.

Wraps the svg with a button tag that keyboard users can focus and engage
with to close the notification.

* Fix notification progress indicator placement

* Map flash types to notification types automatically

* Refine notification animations

* Set success as default icon for notifications
2024-02-13 09:19:11 -06:00
Sergey Tyan
e79ff94f6c
Improve account modal keyboard navigation (#424)
* Add back button support to account keyboard navigation and autofocus text input on the form

* Wrap modal content with keyboard navigation controller
2024-02-11 13:17:03 -06:00
Cristiano Crolla
96debfaeda
Currency Dropdown (#415)
* Initial dropdown setup and styles

* Allow form field to pass through block content and update dropdown posititon

* add currency to accounts params

* Add repositionDropdown function and carry over dropdown controller

* remove block context from form builder in favour of using form tag directly

* Hide currency input and set checks for input and label before updating

* align currency button with balance

* revert form_field_tag changes

* remove margin on currency button, looks cleaner

---------

Signed-off-by: Josh Pigford <josh@joshpigford.com>
Co-authored-by: Josh Pigford <josh@joshpigford.com>
2024-02-11 13:02:27 -06:00
Sergey Tyan
aef15c9371
Add controller to save accounts collapse state to localStorage (#432)
* Add controller to save accounts collapse state to localStorage

* Small clean up

* Fix indentation
2024-02-11 12:38:28 -06:00
Rob Zolkos
10399df3d0
Fix height of modal during account creation steps (#418)
* Don't reopen an already open modal

* Avoid changing height of modal during wizard steps
2024-02-09 19:21:19 -06:00
Konnor Rogers
6254ea9d8a
Prevent duplicate listeners and memory leak (#387)
* Prevent duplicate listeners and memory leak

Signed-off-by: Konnor Rogers <konnor5456@gmail.com>

* Update dropdown_controller.js

Signed-off-by: Konnor Rogers <konnor5456@gmail.com>

---------

Signed-off-by: Konnor Rogers <konnor5456@gmail.com>
2024-02-08 13:37:36 -06:00
Josh Pigford
be79430999 Delete hello_controller.js 2024-02-08 13:34:11 -06:00
Josh Pigford
4761619870
New Add Account UI
* Add Lucide gem (#364)

* feat: add cursor pointer in the log-in and create account pages, also make full with (it's cutted right now) the fileds in the settings edit page

* feat: skip system test with an explanation instead of comment them

* fix typo in the skip

* feat: add lucide gem

* Add reusable modal (#362)

* Remove unused form

* Add reusable modal

* Prelim styling

* Add instructions

---------

Co-authored-by: Josh Pigford <josh@joshpigford.com>

* Add keyboard navigation to new account selector (#375)

* New account menu (#372)

* New account menu

* Styling tweaks

---------

Signed-off-by: Josh Pigford <josh@joshpigford.com>

* Entry method links (#376)

* Initial add account form (#378)

* Initial add account form

* Unused

---------

Signed-off-by: Josh Pigford <josh@joshpigford.com>
Co-authored-by: Pedro López Mareque <Pedro.lopez.mareque@gmail.com>
Co-authored-by: Rob Zolkos <rob@zolkos.com>
Co-authored-by: Josh Brown <josh@joossh.com>
2024-02-08 10:46:05 -06:00
Josh Pigford
99de24ac70 Initial commit 2024-02-02 09:05:04 -06:00