Skip to content

refactor: modernize edit and configure affordances#1

Merged
brege merged 7 commits into
mainfrom
three-dot
Mar 10, 2026
Merged

refactor: modernize edit and configure affordances#1
brege merged 7 commits into
mainfrom
three-dot

Conversation

@brege
Copy link
Copy Markdown
Owner

@brege brege commented Mar 10, 2026

Summary

This updates edit and configuration affordances across editable widgets to use quieter shared controls with clearer hover and focus behavior. This refactor is inspired by the Pinned Pages on Firefox's start page, whose edit modals are accessible by a minimal ... icon on the app tile. This follows an initial style change in 0b705d6 which added better "app icons" to compact service cards.

What changed

Shared affordances

  • add shared overflow and card-action affordance helpers
  • move hover, focus, color, and corner-surface behavior into the shared editor layer
  • switch widget-level actions to the shared muted visible ... treatment

Wiki

Keeps the document edit iconography, but reveal the wiki edit affordance from the content header or notes container using the new shared behavior.

Reminders

Replaces add and per-card edit controls with shared overflow affordances and moves card editing to the top-right corner.

Services

Replaces add and per-card desktop controls with shared overflow affordances and:

  • route the card action through the info modal,
  • move edit entry into the info modal with a right-aligned wrench, and
  • preserve card classes during status refresh instead of rebuilding them.

Metrics

Moves configure from the old widget-wide controls row into the snapshot feature header, since Metrics widget only has editing on the snapshot tiles anyway. Further UI config on Network widget or othe multi-subwidget widgets should use ... on subwidget feature-headers.

Demo and docs

Updates editor demo and service demo text to match the new UI paths.

Validation

Refreshing browser page and using the app.

brege added 7 commits March 10, 2026 16:24
Editor controls
- add shared editor affordance buttons and action icon entries
- move hover-expand color shifts into the shared theme utility
- support icon-name overrides so widgets can swap icons w/o inlining svg

Wiki
- remove old legacy verbiage
Shared editor controls
- add a shared card-action wrapper for on-card overflow buttons
- move the clipped corner geometry into the editor component layer
- keep default affordance buttons on rounded-square hover surfaces

Services
- replace the desktop card edit pencil with the shared overflow action
- preserve service card classes during status refreshes instead of
  rebuilding the card class string
- add a modal edit action for compact and mobile service flows
- reserve the card corner so service text does not run under the action
  zone

Reminders
- switch reminder card edit actions to the shared card-action helper
Services cards
- remove the desktop info icon from service cards
- make the shared overflow action open the service info modal
- keep status refreshes updating card state without rebuilding card
  classes

Services modal
- replace the bottom edit button with a right-aligned wrench in the
  modal header row
- style the wrench with the shared affordance hover treatment
- keep compact and desktop service editing reachable from the info
  modal

Shared icons
- add a wrench action icon for modal edit entrypoints
Metrics snapshot
- remove the hidden widget-wide configure controls row
- add the shared visible overflow affordance to the snapshot
  feature-header
- scope metrics editing to the snapshot subwidget only

Metrics styling
- align the snapshot header affordance with the shared
  widget-level action treatment
- leave history and events controls unchanged
@brege brege merged commit 490dd9f into main Mar 10, 2026
2 checks passed
@brege brege deleted the three-dot branch March 10, 2026 22:47
@brege brege added the enhancement New feature or request label Mar 10, 2026
@brege brege self-assigned this Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant