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

860 commits

Author SHA1 Message Date
dependabot[bot]
2abbc22f4f
Bump dotenv-rails from 2.8.1 to 3.0.2 (#467)
Bumps [dotenv-rails](https://github.com/bkeepers/dotenv) from 2.8.1 to 3.0.2.
- [Release notes](https://github.com/bkeepers/dotenv/releases)
- [Changelog](https://github.com/bkeepers/dotenv/blob/main/Changelog.md)
- [Commits](https://github.com/bkeepers/dotenv/compare/v2.8.1...v3.0.2)

---
updated-dependencies:
- dependency-name: dotenv-rails
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-19 08:18:20 -05:00
dependabot[bot]
ad451f28d8
Bump pg from 1.5.4 to 1.5.5 (#469)
Bumps [pg](https://github.com/ged/ruby-pg) from 1.5.4 to 1.5.5.
- [Changelog](https://github.com/ged/ruby-pg/blob/master/History.md)
- [Commits](https://github.com/ged/ruby-pg/compare/v1.5.4...v1.5.5)

---
updated-dependencies:
- dependency-name: pg
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-19 08:17:41 -05:00
dependabot[bot]
20eaf0cc62
Bump turbo-rails from 2.0.1 to 2.0.3 (#470)
Bumps [turbo-rails](https://github.com/hotwired/turbo-rails) from 2.0.1 to 2.0.3.
- [Release notes](https://github.com/hotwired/turbo-rails/releases)
- [Commits](https://github.com/hotwired/turbo-rails/compare/v2.0.1...v2.0.3)

---
updated-dependencies:
- dependency-name: turbo-rails
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-19 08:17:25 -05:00
dependabot[bot]
9b505356d8
Bump letter_opener from 1.8.1 to 1.9.0 (#471)
Bumps [letter_opener](https://github.com/ryanb/letter_opener) from 1.8.1 to 1.9.0.
- [Changelog](https://github.com/ryanb/letter_opener/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ryanb/letter_opener/compare/v1.8.1...v1.9.0)

---
updated-dependencies:
- dependency-name: letter_opener
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-19 08:17:10 -05:00
Achmad Chun Chun
ffc33cbb40
Speedup docker build time (#463) 2024-02-17 09:47:57 -05:00
Adrien Poly
093ddba28f
Update database migrations and strengthen db smoke tests (#462) 2024-02-14 19:48:35 -05:00
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
Mattia
0490fda465
Improve active class assignment in sidebar links (#450)
* Fix active class assignment in sidebar links

* Revert "Fix active class assignment in sidebar links"

This reverts commit 55924f32db.

* Update sidebar_link_to helper to correctly assign active class for nested routes

---------

Co-authored-by: Zach Gollwitzer <zach.gollwitzer@gmail.com>
2024-02-14 07:55:23 -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
Zach Gollwitzer
bbe7323ca4
Add Tailwind color palette (#452) 2024-02-12 17:20:50 -05:00
dependabot[bot]
02ce81ba40
Bump rails from bfcfede to 0f9aaa5 (#444)
Bumps [rails](https://github.com/rails/rails) from `bfcfede` to `0f9aaa5`.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](bfcfede66a...0f9aaa5ca9)

---
updated-dependencies:
- dependency-name: rails
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-12 07:19:38 -06:00
dependabot[bot]
f8402da487
Bump good_job from 3.23.0 to 3.24.0 (#445)
Bumps [good_job](https://github.com/bensheldon/good_job) from 3.23.0 to 3.24.0.
- [Release notes](https://github.com/bensheldon/good_job/releases)
- [Changelog](https://github.com/bensheldon/good_job/blob/main/CHANGELOG.md)
- [Commits](https://github.com/bensheldon/good_job/compare/v3.23.0...v3.24.0)

---
updated-dependencies:
- dependency-name: good_job
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-12 07:19:20 -06:00
Josh Pigford
3fb9ed6953 Update en.yml 2024-02-11 14:08:29 -06:00
Josh Pigford
a86b4264c4 i18n additions 2024-02-11 14:00:16 -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
Josh Pigford
fbe49bf4ea Currency select tweaks 2024-02-11 13:09:14 -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
Josh Pigford
b2fdf78101 Sidebar nav tweak 2024-02-11 12:56:23 -06:00
Josh Pigford
a824e9d777 Not using solid queue 2024-02-11 12:52:55 -06:00
Josh Pigford
74f245711a Merge branch 'main' of https://github.com/maybe-finance/maybe 2024-02-11 12:51:04 -06:00
Josh Brown
e37ed2c988
Add sidebar link helper (#435)
* Add helper for sidebar nav links

* Allow options to be passed down to sidebar link
2024-02-11 12:47:58 -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
Josh Pigford
4867e2691d Lint 2024-02-11 12:38:15 -06:00
Adrien Poly
d3151be9ae
fix migration and add smoke test for migrations (#438)
* adds a smoke test in the CI for the migration

* add back money rails gem

* really remove money-rails

* update the migration to remove add_monetize
2024-02-11 12:34:18 -06:00
Josh Pigford
c483153721 Seed with USD 2024-02-11 12:31:29 -06:00
Josh Pigford
1b54d0b321 Use bin/setup
Fixes: #410, #434
2024-02-11 12:27:06 -06:00
Josh Pigford
4d5d35b277 Rough-in on account show pages 2024-02-10 19:39:18 -06:00
Josh Pigford
997bb52d89
Update README.md
Moved note about React/Rails to wiki page

Signed-off-by: Josh Pigford <josh@joshpigford.com>
2024-02-10 19:27:30 -06:00
Josh Pigford
8c2cb928c2 Update en.yml 2024-02-10 19:25:14 -06:00
Josh Pigford
2c34fa7564 Menu hover text color 2024-02-10 19:18:19 -06:00
Josh Pigford
22a9aad3c3 Main menu 2024-02-10 19:12:20 -06:00
Josh Pigford
aa351ae616
Multi-currency support (#425)
* Initial foundational pass at multi-currency

* Default format currency

* More work on currency and exchanging

* Re-build currencies on change

* Currency import/setup

* Background job overhaul + cheaper OXR plan support

* Lint fixes

* Test fixes

* Multi-currency setup instructions

* Allow decimals in the balance field

* Spacing fix for form

---------

Signed-off-by: Josh Pigford <josh@joshpigford.com>
2024-02-10 16:18:56 -06:00
Josh Pigford
94f7b4ea8f
Update README.md
Signed-off-by: Josh Pigford <josh@joshpigford.com>
2024-02-10 15:24:54 -06:00
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
dependabot[bot]
a5b3c50e32
Bump rails from bab4aa7 to bfcfede (#399)
Bumps [rails](https://github.com/rails/rails) from `bab4aa7` to `bfcfede`.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](bab4aa7cb2...bfcfede66a)

---
updated-dependencies:
- dependency-name: rails
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-09 08:25:14 -06:00
dependabot[bot]
88f8e567df
Bump turbo-rails from 2.0.0 to 2.0.1 (#400)
Bumps [turbo-rails](https://github.com/hotwired/turbo-rails) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/hotwired/turbo-rails/releases)
- [Commits](https://github.com/hotwired/turbo-rails/compare/v2.0.0...v2.0.1)

---
updated-dependencies:
- dependency-name: turbo-rails
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-09 08:24:59 -06:00
dependabot[bot]
37f7754368
Bump redis from 5.0.8 to 5.1.0 (#401)
Bumps [redis](https://github.com/redis/redis-rb) from 5.0.8 to 5.1.0.
- [Changelog](https://github.com/redis/redis-rb/blob/master/CHANGELOG.md)
- [Commits](https://github.com/redis/redis-rb/compare/v5.0.8...v5.1.0)

---
updated-dependencies:
- dependency-name: redis
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-09 08:24:46 -06:00
Rob Zolkos
b53c156dfc
Weekly dependabot checks (#407)
Whilst the project is focussing on building out base features, daily
dependabot updates are distracting particularly for fast moving repos
like rails/rails.

This calms the cadence to weekly.
2024-02-09 08:24:34 -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
e79636f372
Update README.md
Signed-off-by: Josh Pigford <josh@joshpigford.com>
2024-02-08 10:07:25 -06:00
dependabot[bot]
74cf8a1c3b
Bump rails from f0d433b to bab4aa7 (#373)
Bumps [rails](https://github.com/rails/rails) from `f0d433b` to `bab4aa7`.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](f0d433bb46...bab4aa7cb2)

---
updated-dependencies:
- dependency-name: rails
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-08 07:51:04 -06:00