1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-02 03:55:20 +02:00
Commit graph

305 commits

Author SHA1 Message Date
Jose Farias
bdd7e82bae Fix favorable direction serialization 2024-04-19 19:35:34 -06:00
Jose Farias
febfa3bce6 Handle integers as well as money 2024-04-19 19:27:24 -06:00
Jose Farias
0015c8159d Fix favorable direction serialization 2024-04-19 19:25:34 -06:00
Jose Farias
0de97b676d Draw empty time series chart if less than 2 data points 2024-04-19 19:05:27 -06:00
Jose Farias
57eebbbdc0 Replace line-chart controller with time-series-chart controller 2024-04-19 18:43:44 -06:00
Jose Farias
3f946c7968 Fix empty state in time series chart 2024-04-19 18:43:21 -06:00
Jose Farias
406e294dac Fix indicator color 2024-04-19 18:32:47 -06:00
Jose Farias
23e71f82c5 Group similar time series chart functionality 2024-04-19 18:30:25 -06:00
Jose Farias
f52b042253 Split out methods 2024-04-19 18:17:54 -06:00
Jose Farias
afdb748a63 Port line-chart controller into time-series-chart 2024-04-19 17:37:48 -06:00
Jose Farias
39ebf7f129 Implement empty state 2024-04-19 10:02:37 -06:00
Jose Farias
f40cb215f7 Replace trendline controller 2024-04-19 09:52:41 -06:00
Jose Farias
237cfc1f45 Refactor trendline chart controller into a time series chart controller 2024-04-19 09:50:15 -06:00
Jose Farias
ee920f359c Remove object parsing in TimeSeries::Value
We're only every passing hashes
2024-04-18 22:57:50 -06:00
Jose Farias
31caf7056d Refactor Money 2024-04-18 21:06:47 -06:00
Jose Farias
03cee1f121 Skip trend values same class validations if any values are nil 2024-04-18 21:06:36 -06:00
Jose Farias
70747320c0 Clean up TimeSeries::Trend 2024-04-18 20:54:11 -06:00
Jose Farias
5d14d03963 Allow nil current values in trends
I think I might've gotten it wrong before, nils might appear in trends if values are unavailable for snapshots
2024-04-18 20:52:52 -06:00
Jose Farias
ec68b9bfe7 Make trend public in TimeSeries::Value 2024-04-18 20:49:43 -06:00
Jose Farias
11afc94f69 Merge branch 'jose/refactor-time-series' of github.com:josefarias/maybe into jose/refactor-time-series 2024-04-18 20:47:36 -06:00
Jose Farias
7a119199b3 Use favorable_direction for trend_styles helper 2024-04-18 20:47:25 -06:00
Jose Farias
e1c75c1628
Merge branch 'maybe-finance:main' into jose/refactor-time-series 2024-04-18 20:44:52 -06:00
Jose Farias
7714c4f89d Correctly enumerate trend test 2024-04-18 20:43:00 -06:00
Jose Farias
913e50569c Bring back trend test 2024-04-18 20:42:28 -06:00
Jose Farias
c041f4f6c0 Bring back tests for trends where current is nil 2024-04-18 20:40:16 -06:00
Jose Farias
9aa975cc90 Use as_json in TimeSeries 2024-04-18 20:40:00 -06:00
Jose Farias
4ed294eb13 Refactor TimeSeries artifacts 2024-04-18 20:03:46 -06:00
Jose Farias
cc7b878d50 Reindent Money class 2024-04-18 20:01:58 -06:00
Jose Farias
996a2e1c75 Remove trend tests where current is nil
I think if we've gotten this far with a nil value for current, there's a data integrity problem.

If we allow this, we'll have to be very defensive in our code. Best to raise and fix early.
2024-04-18 20:01:40 -06:00
Jose Farias
3c4bdb6bef Fix spacing in time series tests 2024-04-18 18:09:03 -06:00
Jose Farias
e175aa9b49 Reindent TimeSeries classes 2024-04-18 18:03:52 -06:00
Zach Gollwitzer
0277bc94f3
Small redesign of transaction filters (#650) 2024-04-18 17:05:37 -04:00
Jakub Kottnauer
0a1fa525d5
Fix modal height in Safari (#648) 2024-04-18 16:55:56 -04:00
Zach Gollwitzer
f5f624881f
Add placeholders for dashboard features (#642)
* Add placeholders for new dashboard

* Fix tests and lint errors
2024-04-18 10:32:36 -04:00
Zach Gollwitzer
4708e85da3
Update issue templates 2024-04-18 08:34:50 -04:00
Zach Gollwitzer
9bda7efc3f
New Settings Menu, Routes and Controllers Organization (#641)
* Add new settings routes and controllers

* Add new settings view, restructure controllers and routes

* Fix lint errors
2024-04-18 07:56:51 -04:00
Harshit Chaudhary
39d57a167e
Fixed Data Access Restriction (#636)
Co-authored-by: Harshit Chaudhary <harshit.chaudhary@procol.in>
2024-04-16 15:58:53 -04:00
Jose Farias
cd8d741fe1
Add transaction modal flow (#633)
* Add transaction modal flow

* Preserve decimals when creating transactions
2024-04-16 14:44:31 -04:00
Thibaut Gorioux
a22c7a0e9c
Add persistent notification with dismiss and action button (#611)
* Update notification partial

* Update locals args

* Lint

* Move content to body in notification helper

* Avoid dynamic Tailwind class

* Styling

* Add notification to localization file

* Lint

* Normalize locales

* Auto dismiss by default
2024-04-16 13:33:51 -04:00
dependabot[bot]
5516b03b6e
Bump rails from bad7ff1 to 6d3fd5b (#626)
Bumps [rails](https://github.com/rails/rails) from `bad7ff1` to `6d3fd5b`.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](bad7ff1664...6d3fd5b98c)

---
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-04-15 12:04:59 -04:00
dependabot[bot]
3672835ba1
Bump mocha from 2.1.0 to 2.2.0 (#617)
Bumps [mocha](https://github.com/freerange/mocha) from 2.1.0 to 2.2.0.
- [Changelog](https://github.com/freerange/mocha/blob/main/RELEASE.md)
- [Commits](https://github.com/freerange/mocha/compare/v2.1.0...v2.2.0)

---
updated-dependencies:
- dependency-name: mocha
  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-04-15 11:35:36 -04:00
dependabot[bot]
be288afcd4
Bump pagy from 8.0.2 to 8.1.2 (#618)
Bumps [pagy](https://github.com/ddnexus/pagy) from 8.0.2 to 8.1.2.
- [Release notes](https://github.com/ddnexus/pagy/releases)
- [Changelog](https://github.com/ddnexus/pagy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ddnexus/pagy/compare/8.0.2...8.1.2)

---
updated-dependencies:
- dependency-name: pagy
  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-04-15 11:35:29 -04:00
dependabot[bot]
81115a9bed
Bump tailwindcss-rails from 2.3.0 to 2.4.0 (#620)
Bumps [tailwindcss-rails](https://github.com/rails/tailwindcss-rails) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/rails/tailwindcss-rails/releases)
- [Changelog](https://github.com/rails/tailwindcss-rails/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rails/tailwindcss-rails/compare/v2.3.0...v2.4.0)

---
updated-dependencies:
- dependency-name: tailwindcss-rails
  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-04-15 11:35:22 -04:00
dependabot[bot]
eee07a4d6c
Bump sentry-ruby from 5.17.2 to 5.17.3 (#621)
Bumps [sentry-ruby](https://github.com/getsentry/sentry-ruby) from 5.17.2 to 5.17.3.
- [Release notes](https://github.com/getsentry/sentry-ruby/releases)
- [Changelog](https://github.com/getsentry/sentry-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-ruby/compare/5.17.2...5.17.3)

---
updated-dependencies:
- dependency-name: sentry-ruby
  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-04-15 11:35:04 -04:00
Pieter Beulque
fc631e698d
Allow 2 decimals when adding a balance (#614) 2024-04-15 11:27:39 -04:00
Zach Gollwitzer
5aca2ff9b6
Add zero-config self hosting on Render (#612)
* v1 of backend implementation for self hosting

* Add docs

* Add upgrades controller

* Add global helpers for self hosting mode

* Add self host settings controller

* Conditionally show self hosting settings

* Environment and config updates

* Complete upgrade prompting flow

* Update config for forked repo

* Move configuration of github provider within class

* Add upgrades cron

* Update deploy button

* Update guides

* Fix render deployer

* Typo

* Enable auto upgrades

* Fix cron

* Make upgrade modes more clear and consistent

* Trigger new available version

* Fix logic for displaying upgrade prompts

* Finish implementation

* Fix regression

* Trigger new version

* Add i18n translations

* trigger new version

* reduce caching time for testing

* Decrease cache for testing

* trigger upgrade

* trigger upgrade

* Only trigger deploy once

* trigger upgrade

* If target is commit, always upgrade if any upgrade is available

* trigger upgrade

* trigger upgrade

* Test release

* Change back to maybe repo for defaults

* Fix lint errors

* Clearer naming

* Fix relative link

* Add abs path

* Relative link

* Update docs
2024-04-13 09:28:45 -04:00
Pieter Beulque
2bbf120e2f
Use placeholder-shown: for reduced opacity (#615) 2024-04-13 08:49:48 -04:00
Mike
b812b6d8c9
Enhance currency selector to list 'All Others' after 'Popular' (#610) 2024-04-10 10:47:58 -04:00
Igor Alexandrov
b5c56f7775
Added lints for ERB templates (#609)
* Added erblint and fixed offenses

* Added erblint bintstub. Included erblint into CI

* Merged GitHub Actions tasks for rubocop and erblint into one

* Added config for erblint.

* Reverted erblint call in the CI
2024-04-09 08:08:58 -04:00
Josh Pigford
21e2d05d0c Sentry 2024-04-08 11:29:11 -05:00