Skip to content

feat(staged): show hashtag dropdown items with subtitle layout#728

Open
matt2e wants to merge 1 commit into
mainfrom
hashtag-options-style
Open

feat(staged): show hashtag dropdown items with subtitle layout#728
matt2e wants to merge 1 commit into
mainfrom
hashtag-options-style

Conversation

@matt2e
Copy link
Copy Markdown
Contributor

@matt2e matt2e commented May 14, 2026

Summary

  • Refactors hashtag dropdown items to use a two-line subtitle layout instead of inline repo/branch context
  • Adds a subtitle field to HashtagItem for flexible secondary text (repo slug for timeline items, "Project note" for project notes)
  • Widens dropdown to 420px and aligns items to flex-start to accommodate the stacked layout

Test plan

  • Open hashtag dropdown in a session and verify items show title on the first line and subtitle below
  • Confirm timeline items (notes, commits, reviews, images) display the repo slug as subtitle
  • Confirm project notes display "Project note" as subtitle
  • Verify text truncation works correctly for both title and subtitle

🤖 Generated with Claude Code

Widen the hashtag dropdown from 340px to 420px and restructure each
option from a single-line layout (title + right-aligned context) to a
two-row layout with the subtitle below the title. Timeline items from
other repos show the repo slug as a subtitle, and project notes show
"Project note" as a subtitle.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Matt Toohey <contact@matttoohey.com>
@matt2e matt2e requested review from baxen and wesbillman as code owners May 14, 2026 07:38
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0a1449bcb1

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines +103 to 104
subtitle: repoSlug,
branchName,
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Include branch name in timeline subtitles

When the project-level hashtag picker includes multiple branches from the same repo, buildProjectHashtagItems still passes branch.branchName into timelineToHashtagItems, but the new subtitle uses only repoSlug and the dropdown no longer renders branchName separately. This regresses the previous repo · branch context, making items with the same or similar titles from different branches indistinguishable in the project hashtag dropdown.

Useful? React with 👍 / 👎.

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.

1 participant