Skip to content

Session Chat: floating pill component #900

Closed

Description

@ivanfenenko

Part of #899. A shared floating pill component in the design system on iOS and Android, which every Session Chat pill will use.

Scope

  • Four layouts:
    • icon + label
    • round icon only
    • live counter with a spinner (e.g. "3 subagents")
    • label with a close ✕
  • Five states:
    • live
    • ready
    • needs attention: amber text, thin amber ring; a waiting item swaps the spinner for a pulsing amber dot
    • error
    • done: green check
  • The look matches today's btw pill (OpenCodeSideQuestionPill): same height, type and frosted glass.
  • Variant-first, state-aware public API. No raw colours, typography or radius overrides.
  • Component Gallery entry on both platforms, showing every layout × state.
  • Accessibility:
    • the label and state are spoken
    • icon-only pills get a label
    • the spinner respects Reduce Motion

Out of scope: placing pills on screen (#903) and migrating existing pills.

Acceptance

  • Component plus gallery entries on iOS and Android, with matching layouts and states.
  • Snapshot or unit tests for the variant and state mapping on both platforms.
  • Snapshot evidence for both platforms, light and dark, on the PR.

Activity

  1. added
    enhancement
    ios
    android
    todo
    priority: medium
    on Oct 31, 2026
  2. added 4 commits that reference this issue on Oct 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    androidenhancementiospriority: mediumtodo

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions