feat(frontend): Hub Simple — chat-first home with real agent chat#243
Draft
esafwan wants to merge 2 commits into
Draft
feat(frontend): Hub Simple — chat-first home with real agent chat#243esafwan wants to merge 2 commits into
esafwan wants to merge 2 commits into
Conversation
- Add HubSimplePage as default '/' route (chat-first, no UnifiedLayout) - Add '/dashboard' route for existing metrics dashboard (agents/flows/executions tabs) - Collapsed 60px icon sidebar with nav to all major sections - Role-aware greetings and starter prompts (admin/builder/operator/viewer) - Starter prompts navigate to real pages; free-text triggers real agent chat - Slash command palette (/) with keyboard navigation → navigates to real routes - Real agent chat via 'Hub Orchestrator' with SSE streaming + delta updates - Provider check on mount: no provider → amber onboarding card with link to /models - Streaming delta updates using same pattern as ChatInput (streamingAvailable flag) - HomeHeaderActions: replace switch button with '← Hub' ghost button back to / - SlashCommandMenu and HubConversationView extracted to frontend/src/components/hub/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Chat-first home interface as default landing page.
Changes
New default home (
/) —HubSimplePageReal agent chat
sendMessageAPI (same pattern as ChatInput)/modelsDashboard preserved at
/dashboard/dashboard← Hubbutton in dashboard header returns to hubNew files
frontend/src/components/hub/SlashCommandMenu.tsxfrontend/src/components/hub/HubConversationView.tsxfrontend/src/pages/HubSimplePage.tsxNotes