Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Third and final release in the "UI overhaul, part 2" arc. Five pieces of
work, all landing together:
Universal delete popover. New inline popover replaces the old
confirm()/prompt()dialogs and the typed-name Danger Zone form. Alldelete entry points (drawer button, tile trash icon, row trash icon, edit
page button) use the same component. Backed by a new JSON endpoint
POST /api/v1/entries/<id>/deleteso tile/row deletes don't require afull page reload.
Trash + lock icons on Tiled tiles and Dashboard rows. Dynamic entries
get a trash icon in the action row (muted by default, red on hover). Static
(Locked) entries get a lock icon in the same slot — passive, non-clickable,
signals "delete from edit page only." Replaces the 🔒 emoji on Dashboard
rows. Drawer Delete button hidden for static entries.
Edit page form polish. Four section headings (Identity / URLs & Health /
Grouping & Display / Widget), tighter input padding and border-radius, URL
fields now group their health-check checkbox directly below the input,
helper text muted and italicized, group selector replaced with a tab-style
toggle (pure CSS, underlying radios unchanged so
toggleGroupModeJS isuntouched). Danger Zone section removed; single Delete button at the bottom
uses the new popover.
Widget data modal. Chart icon on Tiled tiles is now a
<button>. Clickopens a modal populated from the already-server-rendered widget cards inside
the tile's (hidden) drawer — no new API endpoint, no new template rendering.
Responsive card grid: 3-col desktop → 2-col ≤480px → 1-col ≤360px.
Auto-refresh pauses while interacting. New
isInteracting()checks forany open tile drawer, widget modal, delete popover, or changelog modal. While
true, the refresh tick skips the reload and shows "Refresh paused (drawer
open)." Timer resets to 0 on close so the next cycle starts fresh.