Skip to content

(BEDS-875) Add rewards chart history based on premium perks#1220

Merged
enzo-bitfly merged 8 commits intostagingfrom
BEDS-875/rewards-chart
Sep 2, 2025
Merged

(BEDS-875) Add rewards chart history based on premium perks#1220
enzo-bitfly merged 8 commits intostagingfrom
BEDS-875/rewards-chart

Conversation

@remoterami
Copy link
Contributor

No description provided.

@remoterami remoterami force-pushed the BEDS-875/rewards-chart branch from 517ce8d to c6d5fa4 Compare December 18, 2024 14:56
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Dec 18, 2024

Deploying beaconchain with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3e7b8de
Status: ✅  Deploy successful!
Preview URL: https://fa802bc2.beaconchain.pages.dev
Branch Preview URL: https://beds-875-rewards-chart.beaconchain.pages.dev

View logs

@sasha-bitfly
Copy link
Contributor

@remoterami Ideally to cover the changes with tests. Unit tests are nice, but api tests can be fine.

Copy link
Contributor

@LuccaBitfly LuccaBitfly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@remoterami remoterami force-pushed the BEDS-875/rewards-chart branch from 8e79801 to 362046d Compare December 23, 2024 10:36
@remoterami
Copy link
Contributor Author

@remoterami Ideally to cover the changes with tests. Unit tests are nice, but api tests can be fine.

I've added some tests and did some refactoring. Could probably further solidify and generalize the testing setup, but that depends on our coverage goals and I didn't want to over-engineer for now. Open to suggestions though

@LuccaBitfly
Copy link
Contributor

rebased with staging

@LuccaBitfly LuccaBitfly force-pushed the BEDS-875/rewards-chart branch 4 times, most recently from 0a3e329 to 1e90339 Compare July 2, 2025 07:25
@LuccaBitfly LuccaBitfly force-pushed the BEDS-875/rewards-chart branch 2 times, most recently from a106557 to 05b3fce Compare July 4, 2025 09:07
Copy link
Contributor Author

@remoterami remoterami left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very nice refactoring, looks way better now. ptal, left some comments

@LuccaBitfly LuccaBitfly force-pushed the BEDS-875/rewards-chart branch 2 times, most recently from 53db867 to 886de83 Compare July 8, 2025 14:36
@invis-bitfly invis-bitfly dismissed their stale review July 9, 2025 09:07

all my comments have been addressed

@remoterami
Copy link
Contributor Author

remoterami commented Aug 18, 2025

all my comments have been addressed

same, lgtm

@enzo-bitfly enzo-bitfly force-pushed the BEDS-875/rewards-chart branch from 886de83 to 1525e0f Compare August 27, 2025 07:47
@enzo-bitfly enzo-bitfly force-pushed the BEDS-875/rewards-chart branch from ce1cc03 to 1efe601 Compare August 29, 2025 13:39
…instead of `dashboard overview` store

`chart history seconds` is part of the `user` and `dashboard overview` data, but `rewards_history_seconds` is only part of `user` data

See: BEDS-875
- prevent showing `aggregation` filter in `summary` chart to match `rewards chart`
- fix aggregation filter for logged-out usrers in `summary chart`

See: BEDS-875
@enzo-bitfly enzo-bitfly force-pushed the BEDS-875/rewards-chart branch from 3be1f06 to 3e7b8de Compare September 2, 2025 08:51
@enzo-bitfly enzo-bitfly merged commit 7520761 into staging Sep 2, 2025
4 checks passed
@enzo-bitfly enzo-bitfly deleted the BEDS-875/rewards-chart branch September 2, 2025 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants