diff --git a/CHANGELOG.md b/CHANGELOG.md index 46204aa..cac692a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,16 +9,6 @@ former name, "Daybook".) _Nothing yet._ -## [0.6.0] — 2026-09-07 - -### Added -- **Per-artifact actions menu.** A **⋯** button appears on row hover, and - **right-clicking** a feed row opens the same floating menu — **Keep / - Open / Copy link / Delete**. Dismisses on click-away or Escape, edge-flips - to stay on-screen. The standalone one-click Delete icon stays; the Trash - view keeps its dedicated Undelete. (Share and Add-label will join the menu - in later slices.) - ## [0.5.1] — 2026-09-07 ### Added @@ -205,8 +195,7 @@ First tagged release. - Dockerised (Gunicorn + whitenoise), SQLite, `git`-based deploy with a runbook (`deploy/cloud_agent_deploy.md`) and health check. -[Unreleased]: https://git.cygnus.systems/peter/daybook/compare/v0.6.0...HEAD -[0.6.0]: https://git.cygnus.systems/peter/daybook/compare/v0.5.1...v0.6.0 +[Unreleased]: https://git.cygnus.systems/peter/daybook/compare/v0.5.1...HEAD [0.5.1]: https://git.cygnus.systems/peter/daybook/compare/v0.5.0...v0.5.1 [0.5.0]: https://git.cygnus.systems/peter/daybook/compare/v0.4.1...v0.5.0 [0.4.1]: https://git.cygnus.systems/peter/daybook/compare/v0.4.0...v0.4.1 diff --git a/daybook_project/__init__.py b/daybook_project/__init__.py index 2d6a887..ee033ee 100644 --- a/daybook_project/__init__.py +++ b/daybook_project/__init__.py @@ -1,4 +1,4 @@ # Single source of truth for the app version. Bump this, commit, then tag the # commit `vX.Y.Z` and deploy. Surfaced on Settings -> About and in # GET /api/capabilities ("version"). -__version__ = "0.6.0" +__version__ = "0.5.1" diff --git a/static/agentfeed.css b/static/agentfeed.css index aa0626e..667a968 100644 --- a/static/agentfeed.css +++ b/static/agentfeed.css @@ -1060,22 +1060,12 @@ kbd { position: relative; } -.row-actions { +.row-action { position: absolute; - right: 0.4rem; + right: 0.5rem; top: 50%; transform: translateY(-50%); - display: flex; - gap: 0.15rem; opacity: 0; -} - -.artifact-row:hover .row-actions, -.artifact-row:focus-within .row-actions { - opacity: 1; -} - -.row-action { cursor: pointer; font-size: 0.95rem; line-height: 1; @@ -1085,6 +1075,11 @@ kbd { color: var(--muted); } +.artifact-row:hover .row-action, +.artifact-row:focus-within .row-action { + opacity: 1; +} + .row-action:hover { background: var(--surface-alt); color: var(--text); @@ -1094,43 +1089,6 @@ kbd { color: var(--danger-text-plain); } -/* Per-row actions menu (opened by the ⋯ trigger or right-click) */ -.row-menu { - position: fixed; - z-index: 100; - min-width: 9rem; - background: var(--surface); - border: 1px solid var(--control-border); - border-radius: 8px; - box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14); - padding: 0.25rem; - display: flex; - flex-direction: column; -} - -.row-menu[hidden] { - display: none; -} - -.row-menu button { - background: transparent; - border: 0; - border-radius: 5px; - color: var(--text); - cursor: pointer; - font-size: 0.85rem; - padding: 0.4rem 0.6rem; - text-align: left; -} - -.row-menu button:hover { - background: var(--surface-alt); -} - -.row-menu button.danger { - color: var(--danger-text-plain); -} - /* System folders (Keep / Deleted) at the bottom of the sidebar */ .source-folders { border-top: 1px solid var(--grid-line); diff --git a/templates/artifacts/_artifact_rows.html b/templates/artifacts/_artifact_rows.html index 37c9ed1..45c2f2f 100644 --- a/templates/artifacts/_artifact_rows.html +++ b/templates/artifacts/_artifact_rows.html @@ -30,13 +30,10 @@ {% endif %} {{ artifact.source }} - - {% if in_trash %} - ↩ - {% else %} - 🗑 - - {% endif %} - + {% if in_trash %} + ↩ + {% else %} + 🗑 + {% endif %} {% endfor %} diff --git a/templates/artifacts/feed.html b/templates/artifacts/feed.html index 95e8659..90a26bb 100644 --- a/templates/artifacts/feed.html +++ b/templates/artifacts/feed.html @@ -147,13 +147,6 @@ -
-