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

Refactor ListReport to TS, share props #5161

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

apata
Copy link
Contributor

@apata apata commented Mar 7, 2025

Changes

This PR refactors ListReport to Typescript and unifies its props with BreakdownModal. No functional changes.

This is in anticipation of changing how metrics are determined in both ListReport and BreakdownModal.

Refactoring how metrics are determined is needed because the BE knows better which metrics are possible for each situation. Especially if some of the filters are wrapped inside a segment.

Tests

  • Manually tested to function the same

Changelog

  • This PR does not make a user-facing change

Documentation

  • This change does not need a documentation update

Dark mode

  • The UI has been tested both in dark and light mode

@apata apata added the preview label Mar 7, 2025
Copy link

github-actions bot commented Mar 7, 2025

Preview environment👷🏼‍♀️🏗️
PR-5161

@apata apata requested a review from a team March 10, 2025 11:42
@apata apata force-pushed the saved-segments/list-to-tsx branch from f00741f to 3a286a8 Compare March 12, 2025 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant