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

320 commits

Author SHA1 Message Date
Jose Farias
e8cabd9d42 Use same stroke width on all trend lines 2024-04-20 17:31:36 -06:00
Jose Farias
e7e4127398 Implement trendline split behavior 2024-04-20 17:29:45 -06:00
Jose Farias
56cd190afe Apply trendline gradient 2024-04-20 16:09:41 -06:00
Jose Farias
176eac82b3 Match tooltip designs 2024-04-20 13:12:33 -06:00
Jose Farias
c65b08efe5
Merge branch 'main' into jose/line-charts 2024-04-20 12:55:13 -06:00
Jose Farias
bf170b830c Clean up tooltip template 2024-04-20 12:42:59 -06:00
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
Zach Gollwitzer
fe2a2ac3f9
Update issue templates 2024-04-20 08:28:00 -04:00
Thibaut Gorioux
5be1ced19e
Shared money input should respond to change in currency (#654)
* Add step method to currency

* Change amount placeholder and step, when currency select change

* Lint

* Add test with auth

* Extract request to specific service
2024-04-20 08:07:06 -04: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