Skip to content

ui: extend Liquid Glass to the remaining over-video chrome - #172

Merged
morepriyam merged 1 commit into
mainfrom
feat/glass-remaining
Aug 26, 2026
Merged

ui: extend Liquid Glass to the remaining over-video chrome#172
morepriyam merged 1 commit into
mainfrom
feat/glass-remaining

Conversation

@morepriyam

@morepriyam morepriyam commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator

Closes #168.

Stacked on #171; only the last commit is this PR's change. With the preview-card set (#169) and the segment-bar container (#170) already converted, this finishes the checklist — every flat scrim floating over video now goes through GlassPill (Liquid Glass on iOS 26+, the usual dark scrim on Android/older iOS).

Changes

Export screen (over the merged video only — the themed body stays flat)

  • ▶ play badge → glass, grown 56→64pt / 28pt glyph to match the recorder preview card
  • clip-count · duration meta pill → glass
  • caption badge → glass and grown 30→40pt with a 20pt icon (48pt effective tap target with hitSlop — it had the same sub-HIG problem the preview-card badges did); split into placement + surface styles so the spinner and pressable variants share one surface

Subtitles editor

  • ▶ play badge → glass, keeping the existing 48pt / 32pt-compact text-mode sizing (this one was missing from the original checklist)

Recorder

  • the top timer sits in a small glass pill next to the glass close button, tying the top bar together; its text shadow is dropped — the pill's dimming layer does that job now

Deliberately not converted (per the audit on the issue)

  • Export/subtitles close buttons: dark-pinned glass turns nearly transparent over light themed backgrounds (white ✕ becomes invisible in light mode) — a themed-glass variant was prototyped and rejected; the flat scrim stays
  • Modal/sheet backdrops, home draft cards, tiny badges, caption text scrim, accent controls — reasons documented on ui: extend Liquid Glass to all chrome floating over video #168

Testing

  • tsc --noEmit, ESLint, and the jest suite clean
  • Verified on device: export ▶ / meta pill / caption badge (spinner + tappable states), subtitles ▶ in timing and text modes, recorder timer over bright and dark scenes

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR finishes the “over-video chrome uses GlassPill” checklist by converting the remaining video-overlaid scrims to GlassPill (native Liquid Glass on iOS 26+, dark scrim fallback elsewhere), aligning the export/subtitles overlays and recorder top bar with the existing recorder glass chrome.

Changes:

  • Subtitles editor: converts the center ▶ overlay badge to GlassPill (including compact/text mode sizing).
  • Recorder: wraps the timer readout in a small GlassPill next to the glass close button and removes the now-redundant text shadow.
  • Export: converts the ▶ badge, meta pill, and caption badge (spinner + pressable variants) to GlassPill, and adjusts sizing to match the recorder preview card.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
src/app/subtitles.tsx Replaces the over-video ▶ scrim badge with GlassPill, keeping existing sizing variants.
src/app/recorder.tsx Adds a glass timer pill to unify the top bar chrome and removes timer text shadow.
src/app/export.tsx Moves all over-video export overlays (▶, meta pill, captions badge) onto GlassPill and updates sizing/structure for shared surfaces.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@SarkarShubhdeep SarkarShubhdeep left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All simple UI updates. Looks fine.

@morepriyam
morepriyam force-pushed the feat/glass-remaining branch from 8566e29 to 609a746 Compare August 26, 2026 05:35
Base automatically changed from feat/segment-bar-autoscroll to main August 26, 2026 05:36
Converts the last flat-scrim overlays to GlassPill (Liquid Glass on
iOS 26+, the usual dark scrim elsewhere), completing the glass system:
glass = chrome floating over video, themed screens stay flat.

- export: ▶ play badge goes glass and grows 56→64pt / 28pt glyph to
  match the recorder preview card; clip-count · duration meta pill goes
  glass; caption badge goes glass and grows 30→40pt with a 20pt icon
  (48pt effective target with hitSlop — it had the same sub-HIG tap
  target problem as the preview card badges), split into placement +
  surface so the spinner and pressable variants share the surface
- subtitles: ▶ play badge goes glass, keeping the 48pt / 32pt-compact
  text-mode sizing
- recorder: the top timer sits in a small glass pill next to the glass
  close button; the text shadow is dropped — the pill's dimming layer
  does that job now

The export/subtitles close buttons deliberately stay flat: dark-pinned
glass over a light themed background turns nearly transparent, and the
glass rule reserves glass for chrome over video anyway.

Closes #168
@morepriyam
morepriyam force-pushed the feat/glass-remaining branch from 609a746 to 4fdfeeb Compare August 26, 2026 05:36
@morepriyam
morepriyam added this pull request to the merge queue Aug 26, 2026
Merged via the queue into main with commit 48dca11 Aug 26, 2026
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.

ui: extend Liquid Glass to all chrome floating over video

3 participants