Skip to content

OPE-47: Design-system Tool Call Card #561

Closed

Description

@ivanfenenko

Parent

OPE-46 — Assistant Tool Parts

What to build

Add a reusable Tool Call Card through the design-system component workflow on iOS and Android. Ship Component Gallery entries before Session Chat depends on it.

The card is collapsed-only and tool-agnostic:

  • status variants: pending | running | completed | error (error is a status variant of this card, not a separate component)
  • required title; optional subtitle, +/− counts, and error text
  • optional feature-owned tap (display-only when omitted; native pressed feedback when provided)
  • no expand/chevron/body slot, no shimmer/animation, no tool-ID knowledge, no navigation inside the component

Feature code (later tickets) builds strings such as “Called edit” and wires taps to Changes or child sessions.

Acceptance criteria

  • Shared component contract documented under docs/design-system/components/ matching the grilled API above.
  • SwiftUI and Material 3 implementations match the contract.
  • Component Gallery shows status variants and content presets (with/without subtitle, +/−, error text, tappable vs display-only) on both platforms.
  • Public API is variant-first (no ad-hoc colors/radii as customization).
  • Card remains tool-agnostic; no expand/body/shimmer in this ticket.

Blocked by

None — can start immediately.

Decisions

Grilled under docs/features/assistant-tool-parts/decisions.md (OPE-47 Tool Call Card).

Docs: docs/features/assistant-tool-parts/


Imported from Linear OPE-47. Linear status: Done. Priority: High. Created 2026-07-15. Completed 2026-07-15.
Parent: OPE-46.
Related: OPE-49.

Activity

  1. self-assigned this
    on Oct 11, 2026
  2. added
    enhancement
    ios
    android
    shared
    priority: high
    ready-for-agent
    on Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

androidenhancementiospriority: highready-for-agentshared

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions