Skip to content

Give popups what a quick chat with an agent needs #572

Closed

Description

@Seb-GRAF

Problem

The Quick ask package (Seb-GRAF/stablebar-packages, packages/quick-ask) chats with Claude Code or Codex in a popup, but popups lack what such a chat needs, compared with the quick chat of an AI app:

  • The text field is one line with the system bezel. It has no send button, and stopping an answer takes a separate button.
  • markdown shows only inline Markdown, so an answer's lists, code blocks and tables come out as raw text.
  • A list can't scroll on its own, so a chat built from one row per question can't keep the newest answer in view, and one long field can't show questions as bubbles.
  • In a popup, a block with maxWidth stretches to that width and stays at the leading edge, so a question can't sit in a bubble that fits its text.
  • Changing model means opening the chooser's panel every time; there's no way to keep favourite model and effort pairs at hand.
  • A script can't tell when its popup opens or closes, so a package can't start a fresh chat after time away.
  • Only a pinned popup resizes, and its grab edge sits in the transparent shadow margin outside the visible popup.

Proposal

  • input: wrap grows the field to six lines, with Shift-Return or Option-Return for a new line. sendButton puts a round send button in it and leaves the field's shape to the block's style. busy names a field that turns the button into a stop button, which runs onStop.
  • markdown in a wrapping field also draws headings, lists, code blocks and tables.
  • maxHeight on vertical lists: the list scrolls, opens at its end, follows what grows there until you scroll away, and brings a new entry into view.
  • fitWidth: a block in a popup takes its content's width, up to maxWidth, placed by its alignment.
  • chooser: starsSource and onStar star an option with its level as a preset, shown as chips chosen with a click or ⌘1 to ⌘9, and under Starred in the panel.
  • Popup onOpen and onClose commands.
  • Pinnable popups resize from their visible edge, pinned or not, and open at that size again.

Possible today

No.

Related

Triaged by Claude Code via T3 Code (Claude Opus 5.5).

Activity

  1. added
    enhancement
    on Nov 11, 2026
  2. stablebar-releases commented on Nov 12, 2026

    @stablebar-releases

    🎉 This issue has been resolved in version 0.14.0 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

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

    enhancementreleased

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions