Mobile / Tweak bridge buttons#2611
Conversation
There was a problem hiding this comment.
Pull request overview
This PR enhances the mobile bridge button functionality by adding two new parameters: show-label (displays button text alongside icons) and main-action (applies more prominent styling). The changes update multiple button instances across the application to use these new features, making key actions like "Add card" and "Mark done" more prominent and accessible on mobile devices.
Changes:
- Added
displayTitleandisMainActionproperties to the bridge button configuration - Updated "Add card", "Add board", and "Mark done" buttons to display labels and be styled as main actions
- Standardized button titles across the application (e.g., "Add a card" → "Add card")
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| app/views/events/index/_add_card_button.html.erb | Updated "Add card" button with main action styling and visible title |
| app/views/events/index/_add_board_button.html.erb | Updated "Add board" button with visible title |
| app/views/columns/show/_add_card_button.html.erb | Updated "Add card" button with main action styling and visible title |
| app/views/cards/container/_closure_buttons.html.erb | Updated "Mark done" button with main action styling and visible title |
| app/javascript/initializers/bridge/bridge_element.js | Added displayTitle and isMainAction properties to bridge button configuration |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…ty-Q98x2 Merge pull request basecamp#2611 from basecamp/mobile/tweak-bridge-buttons
Add
display-title(ie. button with icon + text) anddisplay-as-primary-action(ie. more prominent style) button parameters.Quick test on iOS (don't pay attention to the actual look of the colored buttons, I didn't want to fight with UIKit) 👇
Simulator.Screen.Recording.-.iPhone.17.-.2026-02-25.at.17.55.42.mov