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

Skip to content

feat(site/src/pages/TemplateBuilder): deselect modules using button in main content area instead of sidebar - #27113

Merged
aqandrew merged 3 commits into
mainfrom
aqandrew/template-builder-delete-modules-with-trash-can-icon
Jul 9, 2026
Merged

feat(site/src/pages/TemplateBuilder): deselect modules using button in main content area instead of sidebar#27113
aqandrew merged 3 commits into
mainfrom
aqandrew/template-builder-delete-modules-with-trash-can-icon

Conversation

@aqandrew

@aqandrew aqandrew commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

closes DEVEX-588

Prototyped in #27077, broken off into a separate PR to make this work easier to track

changes

  • Reveals the previously hidden trash can icon within ModuleConfiguration (main content area)
  • Removes the "x" icons from ModuleSelection (sidebar)

context

@tracyjohnsonux and I decided in Slack that it would be a better UX to move the deletion action from the "x" icons in the sidebar to the trash can icons in the main content area. This change has the benefits of

  1. making it harder to delete modules accidentally
  2. removing the responsibility of deletion from the items in ModuleSelection
    • interacting with these items will serve only to navigate to configuring that module (DEVEX-587, to be done in a separate PR)
image

@linear-code

linear-code Bot commented Jul 9, 2026

Copy link
Copy Markdown

DEVEX-588

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It feels less than ideal that ModuleConfiguration has bg-surface-secondary, and <Button variant="outline"> has hover:bg-surface-secondary. So there's no visible hover state besides the cursor:

Screen.Recording.2026-07-08.at.6.22.20.PM.mov

Should we give these buttons bg-surface-primary?

Screen.Recording.2026-07-08.at.6.22.57.PM.mov

^There are a few places in the codebase that do this, like GitPanel and SessionTimeline. Wonder if adjusting outline buttons like this sitewide should be part of a larger design system convo

@aqandrew
aqandrew marked this pull request as draft July 9, 2026 01:32
@aqandrew
aqandrew marked this pull request as ready for review July 9, 2026 04:19
@aqandrew
aqandrew merged commit 8a095d3 into main Jul 9, 2026
35 of 36 checks passed
@aqandrew
aqandrew deleted the aqandrew/template-builder-delete-modules-with-trash-can-icon branch July 9, 2026 17:48
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 9, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants