Skip to content

[front] feat: wire Members/Groups tabs of the usage filter panel to real, period-scoped data - #30168

Open
avervaet wants to merge 5 commits into
avervaet/usage-filter-consumption-scope-wiringfrom
avervaet/wiring-usage-filter-component-members-tab
Open

[front] feat: wire Members/Groups tabs of the usage filter panel to real, period-scoped data#30168
avervaet wants to merge 5 commits into
avervaet/usage-filter-consumption-scope-wiringfrom
avervaet/wiring-usage-filter-component-members-tab

Conversation

@avervaet

@avervaet avervaet commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Description

Wires the Members panel of the filter component for the usage page.
Members now come from the same period-ranked consumption data the Attribution table uses instead of the full,
period-unaware member roster. Groups are no longer mock: a new relevant-groups endpoint resolves, for that same set of period-active users, which groups they belonged to during the period window.

Also wires the page's UsageFilter state into the actual consumption queries (overview/chart/attribution table) for the "member" dimension.

Tests

Risk

Low - safe to rollback

Deploy Plan

  • Deploy front

@vercel

vercel Bot commented Aug 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated (UTC)
playground Ignored Ignored Preview Aug 10, 2026 10:01am
storybook Ignored Ignored Preview Aug 10, 2026 10:01am

Request Review

@dust-agent dust-agent Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Coding Rules LGTM \o/

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This will collapse cleanly once every data source are wired check #30174

@avervaet
avervaet force-pushed the avervaet/usage-filter-consumption-scope-wiring branch from 422d611 to ae2261f Compare August 10, 2026 07:21
@avervaet
avervaet force-pushed the avervaet/wiring-usage-filter-component-members-tab branch from e3b3e3a to b78e388 Compare August 10, 2026 07:21
@avervaet
avervaet force-pushed the avervaet/usage-filter-consumption-scope-wiring branch from ae2261f to 9246936 Compare August 10, 2026 08:35
@avervaet
avervaet force-pushed the avervaet/wiring-usage-filter-component-members-tab branch from b78e388 to 3df4875 Compare August 10, 2026 08:35
@avervaet
avervaet force-pushed the avervaet/usage-filter-consumption-scope-wiring branch from 9246936 to a30cb37 Compare August 10, 2026 09:04
@avervaet
avervaet force-pushed the avervaet/wiring-usage-filter-component-members-tab branch from 3df4875 to 29acbab Compare August 10, 2026 09:04
@avervaet
avervaet force-pushed the avervaet/usage-filter-consumption-scope-wiring branch from a30cb37 to c833b23 Compare August 10, 2026 09:29
@avervaet
avervaet force-pushed the avervaet/wiring-usage-filter-component-members-tab branch 2 times, most recently from 1ce2dfc to 5ac24fc Compare August 10, 2026 09:53
…eal, period-scoped data

Members now come from the same period-ranked consumption data the
Attribution table uses (useConsumptionTop) instead of the full,
period-unaware member roster. Groups are no longer mock: a new
relevant-groups endpoint resolves, for that same set of period-active
users, which groups they belonged to during the period window (not
"now"), via a new GroupResource.listGroupsForUserModelIdsInWindow.
Matches the naming convention already used by the consumption scope
dimensions and consumptionDimensions.ts: the category key is "user"
(same as the ES dimension it filters on), "Members" stays the display
label. Avoids a per-category translation layer as more categories get
wired to real data.
@avervaet
avervaet force-pushed the avervaet/usage-filter-consumption-scope-wiring branch from 691cce9 to 6f888c0 Compare August 10, 2026 10:00
@avervaet
avervaet force-pushed the avervaet/wiring-usage-filter-component-members-tab branch from 5ac24fc to 516e948 Compare August 10, 2026 10:00
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.

1 participant