Skip to content

Conversation

@vcarl
Copy link
Member

@vcarl vcarl commented Jul 3, 2025

Why invent a new design language? The overall structure seems great to keep around.

Plenty of design improvements to be made here but this let me pull together a working guild selector, which is great

Screenshot 2025-07-03 at 6 37 23 AM

Base automatically changed from euno_productize-with-claude to main July 3, 2025 22:06
vcarl and others added 4 commits July 3, 2025 18:12
- Add Discord-inspired layout with server selector column and channel sidebar
- Implement TTL cache for guild data using @isaacs/ttlcache (5min TTL, 100 user max)
- Add /app/ base URL segment for guild routes to improve route hierarchy
- Share guild context across authenticated routes to eliminate redundant fetches
- Update all authenticated routes to use consistent DiscordLayout
- Remove duplicate guild fetching in child routes

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Add guilds route back to __auth layout so DiscordLayout can access guild context
- Update guild links in guilds.tsx to use /app/ prefix for dashboard and onboard routes

Fixes: Error: useGuilds must be used within a GuildProvider
- Remove GuildContext provider and useGuilds hook that caused hydration issues
- Move DiscordLayout component to __auth.tsx layout level
- Pass guilds as direct props instead of through React context
- Remove DiscordLayout wrappers from child route components
- Simplify component architecture and eliminate context timing issues

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@vcarl vcarl merged commit 3d0421d into main Jul 4, 2025
5 checks passed
@vcarl vcarl deleted the euno_layouts branch July 4, 2025 00:39
@vcarl vcarl mentioned this pull request Jul 12, 2025
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