Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(ui): replace long-press picker with explicit New note and New commit buttons on remote branch cards#80

Merged
wesbillman merged 1 commit intomainfrom
add-note-and-commit-buttons-to-remote-branches
Feb 12, 2026
Merged

fix(ui): replace long-press picker with explicit New note and New commit buttons on remote branch cards#80
wesbillman merged 1 commit intomainfrom
add-note-and-commit-buttons-to-remote-branches

Conversation

@wesbillman
Copy link
Collaborator

@wesbillman wesbillman commented Feb 12, 2026

Summary

  • Replaces the single "New" button with long-press picker on remote branch cards with two explicit buttons: New note and New commit
  • Removes all long-press timer logic, picker dropdown state, and associated event handlers
  • Simplifies the component by removing ~110 lines of long-press/picker code in favor of a straightforward two-button layout

Test plan

  • Verify "New note" and "New commit" buttons appear in the footer of running remote branch cards
  • Verify clicking each button opens the correct session modal (note vs commit)
  • Verify buttons are disabled when a new session form is already open

🤖 Generated with Claude Code

Replace the single long-press '+' button in RemoteBranchCard with
explicit 'New note' and 'New commit' buttons matching BranchCard's
footer pattern.

Changes:
- Remove Plus icon import and long-press state/functions/handlers
- Remove svelte:window click-outside listener for picker dropdown
- Add separate 'New note' and 'New commit' buttons with StickyNote
  and GitCommitHorizontal icons
- Replace picker-dropdown/picker-item CSS with new-btn-group/new-item-btn
  styles matching BranchCard
@wesbillman wesbillman closed this Feb 12, 2026
@wesbillman wesbillman reopened this Feb 12, 2026
@wesbillman wesbillman merged commit d8e739a into main Feb 12, 2026
5 checks passed
@wesbillman wesbillman deleted the add-note-and-commit-buttons-to-remote-branches branch February 12, 2026 21:06
loganj added a commit that referenced this pull request Feb 26, 2026
- Match Go menu item order: Copy markdown, Copy file, Copy relative
  path, Copy absolute path
- Add missing "Copy file" item (calls /api/copy-file server-side)
- Add missing "Copy Blockcell link" item (appears after publishing)
- Rename "Publish" to "Publish to Blockcell"
- Add publish toast notification matching Go's implementation
- Load publish state on mount to show "Copy Blockcell link" for
  already-published files
- Add --copied-bg/border/color CSS variables for both themes

Co-Authored-By: Claude Opus 4.6 <[email protected]>
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