Summary
Add a guild context model so dashboard views and actions are scoped to the selected guild. This is important for operators managing more than one community.
Current Behaviour
Dashboard pages render global mock data for passes, guilds, members, and activity. There is no shared selected-guild state or routing pattern that scopes data to a particular guild.
Expected Behaviour
Users should be able to select a guild and see passes, members, activity, and settings scoped to that guild.
Suggested Implementation
Create a guild context provider or route-level context such as /guilds/[guildId]/.... Update data access helpers to accept guildId, filter mock data by guild, and prepare the same interface for live API calls.
Files or Areas Likely Affected
apps/dashboard/app/guilds/page.tsx
apps/dashboard/app/guilds/[guildId]/
apps/dashboard/components/DashboardLayout.tsx
apps/dashboard/components/Sidebar.tsx
apps/dashboard/lib/data/
apps/dashboard/lib/mock-data.ts
Acceptance Criteria
Additional Notes
Assumption: the dashboard is intended to manage multiple GuildPass communities, not only one hard-coded demo guild.
Summary
Add a guild context model so dashboard views and actions are scoped to the selected guild. This is important for operators managing more than one community.
Current Behaviour
Dashboard pages render global mock data for passes, guilds, members, and activity. There is no shared selected-guild state or routing pattern that scopes data to a particular guild.
Expected Behaviour
Users should be able to select a guild and see passes, members, activity, and settings scoped to that guild.
Suggested Implementation
Create a guild context provider or route-level context such as
/guilds/[guildId]/.... Update data access helpers to acceptguildId, filter mock data by guild, and prepare the same interface for live API calls.Files or Areas Likely Affected
apps/dashboard/app/guilds/page.tsxapps/dashboard/app/guilds/[guildId]/apps/dashboard/components/DashboardLayout.tsxapps/dashboard/components/Sidebar.tsxapps/dashboard/lib/data/apps/dashboard/lib/mock-data.tsAcceptance Criteria
Additional Notes
Assumption: the dashboard is intended to manage multiple GuildPass communities, not only one hard-coded demo guild.