Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NNS1-3486: period filter for reporting transactions #6032

Merged
merged 8 commits into from
Dec 19, 2024

Conversation

yhabib
Copy link
Contributor

@yhabib yhabib commented Dec 17, 2024

Motivation

We want users to be able to generate three types of reports:

  • full history
  • year-to-date
  • last year

https://qsgjb-riaaa-aaaaa-aaaga-cai.yhabib-ingress.devenv.dfinity.network/reporting/

Changes

  • Adds period state to ReportingTransactions. It binds it to ReportingDateRangeSelector so it can be updated, and it passes it down to ReportingTransactionsButton to be used when generating the report.

Tests

  • Unit tests for ReportingTransactions

Todos

  • Add entry to changelog (if necessary).

@yhabib yhabib force-pushed the NNS1-3486/clean-up-types branch from cbccad8 to 06fb4af Compare December 17, 2024 17:11
Base automatically changed from NNS1-3486/clean-up-types to main December 18, 2024 09:28
@yhabib yhabib force-pushed the NNS1-3486/filter-transactions branch 2 times, most recently from a07715b to 276db08 Compare December 18, 2024 12:27
@yhabib yhabib force-pushed the NNS1-3486/filter-transactions branch from 276db08 to 0b6204f Compare December 18, 2024 12:39
@yhabib yhabib changed the title WIP NNS1-3486: period filter for reporting transactions Dec 18, 2024
@yhabib yhabib marked this pull request as ready for review December 18, 2024 12:56
@yhabib yhabib requested a review from a team as a code owner December 18, 2024 12:56
@yhabib yhabib requested a review from dskloetd December 18, 2024 16:01
@yhabib yhabib force-pushed the NNS1-3486/filter-transactions branch from 1d72c17 to 581b2a0 Compare December 18, 2024 16:05
@yhabib yhabib force-pushed the NNS1-3486/filter-transactions branch from eb53247 to 34b503e Compare December 18, 2024 20:17
@yhabib yhabib requested a review from dskloetd December 18, 2024 20:42
@yhabib yhabib added this pull request to the merge queue Dec 19, 2024
Merged via the queue into main with commit 832d650 Dec 19, 2024
31 checks passed
@yhabib yhabib deleted the NNS1-3486/filter-transactions branch December 19, 2024 09:27
github-merge-queue bot pushed a commit that referenced this pull request Dec 19, 2024
# Motivation

We want to be consistent and removed named parameters when not
necessary.
Addresses this comment:
#6032 (comment)

# Changes

- removes named parameters from Reporting related page-objects

# Tests

- Not necessary

# Todos

- [ ] Add entry to changelog (if necessary).
Not necessary
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.

2 participants