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

457 commits

Author SHA1 Message Date
Rob Zolkos
ac37b54a32
Fix modal height bug [safari] (#420) 2024-02-10 13:26:07 -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
Josh Brown
df3e14a975
Apply default form styling (#272)
* Add and organise component stylesheets

* Revert CSS folder and file structure

* Add FormsHelper and FormBuilder to apply component classes

* Refactor label args

Co-authored-by: Jose Farias <31393016+josefarias@users.noreply.github.com>
Signed-off-by: Josh Brown <josh@joossh.com>

* Update form field styles

* Apply form builder to all fields

* Remove redundant style rules

Some of these were either duplicative or had no effect.

* Apply default submit button styles

* Set default form class

* Fix opacity of input when focused

---------

Signed-off-by: Josh Brown <josh@joossh.com>
Co-authored-by: Jose Farias <31393016+josefarias@users.noreply.github.com>
Co-authored-by: Josh Pigford <josh@joshpigford.com>
2024-02-09 09:29:31 -06:00
Josh Brown
f8174990ca
Fix accountable type references in new account flow (#395)
* Fix accountable type references in new account flow

* Add remaining references

* Refactor accountable type checking

* Refactor new account template to use account

* Refactor account create action

* Refactor account sidebar
2024-02-09 08:26:54 -06:00
Josh Brown
80f68b657c
Fix translation scope within modals (#404)
* Patch virtual_path within modal helper

Added an example translation within the modal to test.

* Fix modal translation scope

By changing this to a partial that accepts the content via a local var
instead of a layout the virtual path, and therefore translation scope is
not changed.
2024-02-09 08:25:59 -06:00
Josh Pigford
69c5df73d9 Only show account grouping if sum > 0 2024-02-08 15:52:33 -06:00
Josh Brown
9284352f06
Build out account sidebar (#391)
* Build out account sidebar

* Use detail and summary element instead of controller

* Update localisation

* Remove redundant code
2024-02-08 15:46:27 -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
89f66ad4cf Default back to Inter
Using Inter for everything now since General Sans isn't open-source
2024-02-08 13:09:21 -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
754c506aad Merge branch 'main' of https://github.com/maybe-finance/maybe 2024-02-07 11:11:53 -06:00
Muhammed Kılıç
6d0e5febe9
Fix accountable text and alignment (#330)
* Fix #319 Accountable text format

* Fix account index table alignment

* Update to_accountable_title helper

---------

Signed-off-by: Muhammed Kılıç <muhammeddkilicc@gmail.com>
2024-02-06 19:48:05 -06:00
Jesper Christiansen
db478e5fbd
Add Account type investment form (#343)
* Add Account type investment form

* Move subtypes to Account::Investment

* Linting
2024-02-06 19:45:17 -06:00
Muhammed Kılıç
bb1cdc1a98
Update labels opacity to 75 for inactive status (#337) 2024-02-06 19:31:28 -06:00
Muhammed Kılıç
b8198d17b7
Fix accounts title and i18n variable name (#333) 2024-02-06 13:50:11 -06:00
Josh Pigford
4a5de41065 Remove unused form 2024-02-06 13:04:56 -06:00
Josh Pigford
774c1518e8 i18n spelling fix 2024-02-06 12:08:40 -06:00
Ricardo Siqueira de Oliveira Leite
c8a659694d
Start I18n Internationalization setup (#276)
* start internationalization_setup

* add passwords views translations

* add account views translations

* fix translations

* temporary disable i18n used key
2024-02-06 11:58:17 -06:00
Nidhi Sarvaiya
1182ab39bd
Integrate money-rails gem (#268)
* Integrate money-rails gem

* Fix Lint issues

* Basic test for monetize feature

* Merge main branch

* Changes to monetize balance field

---------

Co-authored-by: Zach Gollwitzer <zach.gollwitzer@gmail.com>
2024-02-06 12:30:51 -05:00
Pedro López Mareque
323a8ccf50
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 (#321) 2024-02-06 08:10:28 -06:00
Dwight Watson
e812b715d3
First pass at a system test (#305) 2024-02-05 15:19:31 -06:00
Josh Pigford
0922a7cbd6 Form save icon
Fixes #310
2024-02-05 12:45:56 -06:00
Pedro López Mareque
c4ec434187
feat: add cursor pointer in the setting dropdown (#309) 2024-02-05 12:36:32 -06:00
Edrick Leong
622fc07a76
feat: add settings page (#274)
* feat: add settings page

* feat: add updating family name

* fix: formatting

* refactor: update to use Rails label helper
2024-02-05 08:19:23 -06:00
Dwight Watson
97789bc538
Fix arguments to find_by_token_for (#299) 2024-02-04 19:10:48 -06:00
Dwight Watson
1cded2af90
Use Current association in AccountsController and add tests (#298)
* Add PagesControllerTest with authentication

* Rubocop fixes

* Move sign_in to setup block

* Remove instance variable

* Add tests for AccountsController

* Use specific account
2024-02-04 18:00:40 -06:00
Dwight Watson
d61a22b070
Opt-in to Current fully (#297) 2024-02-04 17:36:46 -06:00
Dwight Watson
23eaa3e066
Split authentication concern from ApplicationController (#289)
* Split authentication concern from ApplicationController

* Remove empty space

* Rubocop fixes
2024-02-04 13:05:13 -06:00
Rob Zolkos
4699423eb4
Fix dynamic classname generation (#287)
Tailwinds JIT compiler doesn't recognize concatenated partial class
names and will therefore not include these in the generated css.

Ref: https://tailwindcss.com/docs/content-configuration#dynamic-class-names
2024-02-03 21:01:58 -06:00
Rob Zolkos
a2b96db75d
Remove styling configuration for account types out (#284)
* Remve styling configuration for account types out

* No need to tailwind config for models
2024-02-03 14:38:52 -06:00
Josh Pigford
9b400c9c50 Light message styling 2024-02-03 14:35:32 -06:00
Jose Farias
c5192ee424
Centralize auth messages (#269)
* Add i18n-tasks

* Add auth-related i18n

* Centralize auth messages

* Remove safe navigation

* Revert "Remove safe navigation"

This reverts commit 56b5e01e5e.

* Remove newline in Gemfile
2024-02-03 14:17:49 -06:00
Jarrett Lusso
472746df06
Clean up registration and session views (#279)
* Clean up registration and session views

- There was some lingering devise logic that was hiding some text and links for sign-up and sign-in in the auth layout.
- Added a `text-link` class since I feel this is a commonly used thing that is ideal to have an applied it to all links in these views.

* Remove text-link class
2024-02-03 11:39:24 -06:00
Josh Brown
973c3750c4
Make the entire input area clickable (#271) 2024-02-03 10:14:47 -06:00
Rob Zolkos
ecb3f2726f Add custom new forms 2024-02-03 02:50:10 +00:00
Rob Zolkos
6a35667bb5 Rely on delegated types 2024-02-03 02:50:10 +00:00
Rob Zolkos
48ade396ca Fix account creation 2024-02-03 02:50:09 +00:00
Rob Zolkos
ace7fb48ee Fix spellling 2024-02-03 02:49:48 +00:00
Rob Zolkos
ecfb178b87 Remove duplication 2024-02-03 02:49:25 +00:00
Rob Zolkos
129daa6a11 Add option to association 2024-02-03 02:49:23 +00:00
Rob Zolkos
71939d6fb5 Rework Account to use delegated types 2024-02-03 02:48:51 +00:00
Jose Farias
b3a792c47d
Implement invitation codes 2024-02-02 17:55:27 -06:00
Josh Pigford
fed010e202 Credit start 2024-02-02 15:31:32 -06:00
Josh Pigford
525fdea7da Initial sidebar listing of accounts 2024-02-02 11:45:06 -06:00
Josh Pigford
2161cce29a Fix for renamed Depository model 2024-02-02 11:35:32 -06:00
Rob Zolkos
787f0d864e Fix lint issue 2024-02-02 17:15:12 +00:00
Rob Zolkos
797a8e1cd0 Update layout for new morphing 2024-02-02 17:14:59 +00:00
Josh Pigford
dfb999b4c1 Update account.rb 2024-02-02 11:10:14 -06:00
Josh Pigford
dbc76c76ef Merge branch 'main' of https://github.com/maybe-finance/maybe 2024-02-02 11:09:55 -06:00