Skip to content
This repository was archived by the owner on Oct 11, 2026. It is now read-only.

Chat UI polish: composer dock, prompt overlay, status shimmer - #11

Closed
letnull19A wants to merge 83 commits into
mainfrom
fix/session-setoptions-loop
Closed

letnull19A wants to merge 83 commits into
mainfrom
fix/session-setoptions-loop

Conversation

@letnull19A

Copy link
Copy Markdown
Collaborator

Polish pass over the session chat UI:

  • composer dock as fixed overlay with theme-aware gradient backdrop
  • permission/question prompts as overlay above the composer (input stays mounted underneath)
  • slash command popover docked to the input, app-style card
  • project-card border on the composer input
  • user bubbles shrink to content width
  • braille spinner + shimmer sweep on the agent status indicator
  • tool cards: dropped running spinner and error badge

Plus earlier branch work: setOptions/outbox loop fixes, client-side message queue.

- remove StatusIndicator from above toolbar (was statusFooter)
- add fixed 32px statusContainer at bottom of listWrap inside
  messages container, always below FlatList
- messages: top, status: bottom (fixed height), toolbar/input
  immediately below with no extra gap
- add auto-scroll when sessionStatus becomes busy/retry so
  status is always visible after streaming
…m block

- remove standalone StatusIndicator above toolbar (black block)
- render StatusIndicator as ListHeaderComponent of inverted FlatList
  (visually bottom, after newest message) with transparent bg, height 36,
  placeholder when idle to reserve fixed height in messages block
- auto-scroll on status change to keep indicator visible
- toolbar directly below messages, no extra height
…der container

- remove 18 purple/indigo hexes (#8b5cf6, #6d28d9, #a78bfa, #c4b5fd, #f5f3ff, #e9d5ff, #f3e8ff, #c7d2fe, #6366f1, #3730a3, #1e1b4b, #f0f0ff, #e8e5f0, #2a2040, #1f1a2e, #2a1a3e, #1a1030, #2a1a4a) -> blue accent (#2563eb) via src/lib/theme.ts
- add centralized palette (colors, theme, spacing, layout) and Container component (previously absent)
- fix ConnectionBadge headerRight to follow container width via headerRightContainerStyle paddingRight=layout.containerPadding (16)
- fix double left offset on header titles by not adding headerLeftContainerStyle (empty left container shifted title)

Co-authored-by: opencode-mobile
…ed forms

- theme breakpoints 768/1024 + content/form/modal maxWidth
- useTablet hook (numColumns 1/2/3), Container maxWidth prop
- login form maxWidth 500, projects grid 2-3 cols, account ScrollView
- Maestro tablet-baseline flows + container-layout regression test
…ptivity; repo cleanup

- packages/uikit: @opencode-ai/uikit 0.1.0 — theme, Container, use-tablet, chat (14), markdown (3); workspaces file: + tsconfig paths + metro extraNodeModules; src/ shims

- tablet: breakpoints 768/1024, login maxWidth 500, projects grid 1/2/3, account ScrollView, Maestro baseline flows

- cleanup: removed docs-site/, website/, docs/, fdroid patches, .agents/, .tasks/ and root docs (pre-existing deletions in tree)

- Trello: UIKit 1-2, palette+header, adaptive — Done; atoms/chat/switch/Sentry — This Week
- app name, Android label, iOS permission texts, i18n EN/RU
- Play listing title + description, support email
- mock data and code comments
- keep: package id, slug, API protocol, stored keys, live URLs
- drop sessions-screen new-project button (Navbar tab already opens the modal)
- clone stub moved into the shared modal, delete app/project/new
- icon: remove feDropShadow glow (librsvg banding on transparency)
…oice locale

- Remove telemetry consent modal, PostHog analytics, Chatwoot auto-delivery
- Remove Sentry stub, noise gate, breadcrumbs and all call sites
- Remove Sentry CI tooling (volume/noise-gate/release-uptake reports, gate workflow)
- Strip Sentry source from product-intelligence and verify-release-bundle
- Rewrite privacy policy/listings: no automatic collection, Brevo waitlist only
- Fix RECORD_AUDIO stripped by image-picker plugin (drop microphonePermission:false, prebuild)
- Voice input uses device locale, surfaces native error codes
- Task-completed notifications on by default; create tab moved to center
…tasks by project

- Session and task rows become cards (bg #fff/#1a1a1a, radius 12, 1px border)
- Tasks grouped by project with header (name + count), only projects with active tasks
- Lists follow container via contentContainerStyle padding + gap (gap only, no margins)
- Remove verified-dead session/dir-badge styles from tabs index
- Input minHeight 80 (two lines), maxHeight 120 -> 240
- Mic + attach buttons overlaid bottom-left over the field (zIndex)
- Text paddingLeft reserves button zone, overlay is box-none for taps
- Send/stop join mic/attach in bottom overlay bar (space-between)
- Drop paddingLeft reserve; paddingBottom 52 keeps text clear of buttons
- Uniform 36x36 buttons, 22px icons
letnull19A and others added 28 commits October 10, 2026 20:05
…f truth

Reusable UI and its pure utils live only in packages/uikit/src; app-bound components (stores, server clients, release checks) live only in src/components. Deletes stale duplicates, shims and unused pickers; StatusIndicator takes status via props.
45px height, no top/bottom dividers, width matched to the composer field.
The card count is the number of sessions in the project, not files.
Detects github.com URLs in assistant text and renders one opener button per link.
Remotes parsed from the project's .git/config via file.content; header shows top 3, rest behind show-all.
Remove paddingHorizontal from the follow-up strip content so chips
start flush at the bar edge — spacing lives only between chips (gap 8).
Move quick actions + composer (plus prompts/attachments when visible)
into an absolutely positioned bottom dock overlaying the message list.
The dock height is measured via onLayout (sum of visible blocks) and
added to the inverted list's visual-bottom padding so messages never
slide under it; the dock lifts above the keyboard via tracked height.
Scroll-to-bottom button floats above the dock.
Project header (title + remotes) was a fixed bar above the list.
Move it into FlatList ListHeaderComponent so it scrolls with
sessions, and restyle as a card reusing sessionItem tokens
(radius 12, 1px border, padding 16) inside the list container.
Bottom dock (quick actions + input) had a 1px top border and opaque
white/black block background. Make dock, input container and
follow-up strip transparent, drop the divider and its flush variant.
Input field and chips keep their fill for readability.
While the agent is busy, follow-ups wait in a per-session outbox and
send FIFO on idle. Queue button shows '{n} messages in queue' and opens
a sheet with 2-line previews, delete and inline edit per item.
Maximum update depth exceeded on the session screen (Screen ->
StackScreen -> SessionScreen, via navigation setOptions).

Two feedback paths, both fed by fresh object identities on every
render (e.g. per streamed token):

- Stack.Screen got an inline options literal, so expo-router called
  navigation.setOptions on every render; the navigation-state update
  re-renders the screen with fresh options again. Memoize options +
  headerRight so setOptions fires only on real changes.
- The outbox selector minted a fresh [] on every store notification
  and the sheet got fresh items/closures each render. Use a shared
  EMPTY_QUEUE and memoized sheet props.
- The auto-flush retried a failing head immediately in a tight
  setState + Alert loop. Gate flushes on the busy -> idle transition
  (or a new/edited head) and park a failed head until the next cycle.
@letnull19A
letnull19A force-pushed the fix/session-setoptions-loop branch from 5d9ac26 to 07765b2 Compare October 10, 2026 20:07
@letnull19A letnull19A closed this Oct 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant