Skip to content

fix(ui): v0-strict sidebar dropdown + chat-view hero (functional preserved)#66

Merged
Delqhi merged 1 commit into
mainfrom
fix/issues-59-60-62
Jun 13, 2026
Merged

fix(ui): v0-strict sidebar dropdown + chat-view hero (functional preserved)#66
Delqhi merged 1 commit into
mainfrom
fix/issues-59-60-62

Conversation

@Delqhi

@Delqhi Delqhi commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

Summary

#65 follow-up — restore the layout/typography/icons 100% v0-strict but keep all functional extensions (SIN_MODELS, Project selector, Sparkles Enhance, repo-task Suggestion chips).

What was wrong

  • UserMenu regression: A separate Anmelden button was rendered when no session — bypassing the v0 dropdown entirely. The legendary Theme switch + Profile/Pricing/Documentation/etc. were invisible until login.
  • ChatView hero regression: The What do you want to create? hero with the Starburst icon was lost in an earlier refactor; users only saw the loading state.

Files (2)

  • components/auth/user-menu.tsx — Dropdown now ALWAYS shown:
    • Trigger: ? avatar + Anmelden (or user initial + name when logged in)
    • Header: Nicht angemeldet + Melde dich an, um Chats zu speichern (or user info)
    • 7 v0 nav links: Profile / Account Settings / Pricing / Documentation / Feedback / Community Forum / Refer a Friend
    • Preferences: Theme (System/Light/Dark 3-segment toggle) / Language / Chat Position
    • Footer: Anmelden (when logged out) or Sign Out (when logged in)
  • components/chat/chat-view.tsx — Restored hero:
    • Starburst icon (10×10)
    • What do you want to create? h1
    • Press Enter to send hint with <kbd> element
    • Width adapts: full (empty) ↔ max-w-3xl (with messages)
    • Preserved AI SDK 6 wiring (useChat, sendMessage, parts, etc.) — NO functional regression

Verification (headless Chromium)

=== Sidebar UserMenu ===
After click on trigger:
  Refer a Friend: 1        Theme: 1
  Profile: 1               Monitor: 1
  Account Settings: 1      Sun: 1
  Pricing: 1               Moon: 1
  Documentation: 1         Language: 1
  Feedback: 1              Chat Position: 1
  Community Forum: 1       Anmelden (in menu): 1

=== Chat page ===
  Drafts (ChatHeader): 1
  Header element: 1
  Star icon: 1
  Share icon: 1
  Loading chat: 0
  What do you want: 1

pnpm tsc --noEmit → 0 errors. Docker image rebuilt and pushed live. URL: https://sincode-webui.delqhi.com

…erved)

#65 follow-up — keep all functional extensions (SIN_MODELS, Project
selector, Sparkles Enhance, Suggestion chips for repo tasks) but render
the layout/typography/icons 100% v0-faithful.

UserMenu (components/auth/user-menu.tsx):
- Dropdown is now ALWAYS shown — even for unauthenticated users
- Trigger displays '?' avatar + 'Anmelden' (was: a separate Anmelden
  button that bypassed the dropdown entirely, #65 regression)
- Dropdown header shows 'Nicht angemeldet' + 'Melde dich an, um Chats
  zu speichern' when no session
- Footer item toggles between 'Sign Out' and 'Anmelden' based on auth
- All 7 v0 links (Profile, Account Settings, Pricing, Documentation,
  Feedback, Community Forum, Refer a Friend) + Preferences section
  with Theme (System/Light/Dark 3-segment), Language, Chat Position

ChatView (components/chat/chat-view.tsx):
- Restored Starburst icon + 'What do you want to create?' hero (lost in
  earlier refactor)
- Added 'Press Enter to send' hint with kbd element
- Width switches from max-w-3xl (with messages) to full (empty state)
- Preserved all AI SDK 6 wiring (useChat, sendMessage, parts, etc.)
@Delqhi Delqhi force-pushed the fix/issues-59-60-62 branch from 1d817ed to ef502f4 Compare June 13, 2026 11:49
@github-actions

Copy link
Copy Markdown

CEO Audit — Not applicable

This repository is a Node.js / TypeScript project.
The CEO Audit is a Python tool; running it on a non-Python
repo would produce a misleading grade.

Recommended checks for this repo:

  • pnpm tsc --noEmit (type safety)
  • pnpm lint (style)
  • pnpm test (unit tests, when added)

@Delqhi Delqhi merged commit bee860e into main Jun 13, 2026
3 of 5 checks passed
Delqhi added a commit that referenced this pull request Jun 13, 2026
- #59, #60, #61, #62, #65, #66 all merged and verified
- Open Issues section now empty (live tracker)
- Added Recently Shipped list for reference

Co-authored-by: Delqhi <delqhi@users.noreply.github.com>
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