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

312 commits

Author SHA1 Message Date
Jose Farias
139a18bf61 Improve time series chart property names 2024-04-20 12:37:45 -06:00
Jose Farias
fd84d1df28 Remove ambiguities between time series and series data 2024-04-20 12:30:45 -06:00
Jose Farias
663a58c9f3 Prevent double-renders when displaying turbo caches of time series charts 2024-04-20 12:28:10 -06:00
Jose Farias
92e9e181ad Merge branch 'jose/line-charts' of github.com:josefarias/maybe into jose/line-charts 2024-04-20 12:27:12 -06:00
Jose Farias
f5c33c051e Replace chart types with optional elements 2024-04-20 12:26:59 -06:00
Jose Farias
513484cd43
Merge branch 'main' into jose/line-charts 2024-04-19 19:39:01 -06:00
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
Zach Gollwitzer
c46662c99f
Add apply button, improve transaction filters (#655)
* Add apply button, improve transaction filters

* Remove temp log

* Fix lint errors
2024-04-19 12:03:16 -04: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