1
Fork 0
mirror of https://github.com/thegeneralist01/archivr synced 2026-07-22 03:05:32 +02:00
archivr/crates/archivr-server/static/index.html
TheGeneralist 506d23f05f
feat(ui/tags): tooltips, entry counts (direct + N Total), Create/Move flows, Esc handling
- Tooltips on all action buttons (pencil, ×, + New, Move, picker close/nodes)
- Tag rows show 'Name (own) (N Total)': own = direct assignments,
  Total = unique entries on this tag or any descendant (COUNT DISTINCT)
- + New flow: header button → TagPickerModal → inline CreateInput at chosen
  level; Enter saves, Escape cancels; identical UX to rename
- Move flow (2-step): Move button → source-select mode → click source →
  TagPickerModal minus the moving subtree → pick destination or root;
  onTagRenamed(oldPath, updated.full_path) keeps tag filter coherent
- Esc: document keydown in TagPickerModal + separate useEffect in TagsView
  for source-select mode only; both preventDefault+stopPropagation so
  App's window-level handler does not also clear selected entries
- TagsView.stories.jsx: 6 stories, fetch stub scoped to useEffect
- Rebuilt static assets
2026-07-19 10:57:50 +02:00

13 lines
390 B
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Archivr</title>
<script type="module" crossorigin src="/assets/index-BpGwC-YY.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-DLdY9nrw.css">
</head>
<body>
<div id="root"></div>
</body>
</html>