diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-08-29 17:35:20 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-08-29 17:35:20 +0200 |
| commit | a36661b4c2a24199922d60be1bcb6ed597b433a5 (patch) | |
| tree | 4552b64f3da6e760510ff24e86bf0cdce8033385 /packages/meshbay-hub/src/meshbay_hub/static/style.css | |
| parent | 78eef92bfa3513a81ac64d4377f8300c533aaa6c (diff) | |
| download | meshbay-a36661b4c2a24199922d60be1bcb6ed597b433a5.tar.gz | |
feat(hub): drop the Search page title, add a Files refresh button
1. The "Search Files" <h2> is removed from the search page — it duplicated
the nav and cost a line of vertical space on mobile. `search.title` is
dropped from all ten locales (its only use).
2. A monochrome refresh button sits left of the Files breadcrumb home
icon. It calls `onRefreshIndex` (re-fetch the group index from the
node — the file list is a view over a cached copy with no other way to
pull a fresh one), spins while in flight, and only renders where an
`onRefreshIndex` is wired (the real group view, not the cross-group
search results). New `refresh` icon; `group.refresh_index` in all ten
locales.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018BMLQjqFGCize2KtNBT79v
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/style.css')
| -rw-r--r-- | packages/meshbay-hub/src/meshbay_hub/static/style.css | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/style.css b/packages/meshbay-hub/src/meshbay_hub/static/style.css index 8e714f3..2a2bd8a 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/style.css +++ b/packages/meshbay-hub/src/meshbay_hub/static/style.css @@ -886,6 +886,15 @@ button:disabled { opacity: 0.5; cursor: not-allowed; } } .crumb:hover { background: var(--bg-raised); text-decoration: none; } .crumb-sep { color: var(--text-dim); } +.crumb-refresh { + background: none; + border: 0; + font: inherit; + color: var(--text-secondary); +} +.crumb-refresh:hover:not(:disabled) { color: var(--text); } +.crumb-refresh:disabled { cursor: default; } +.crumb-refresh.spinning .icon { animation: spin 0.8s linear infinite; } /* ── File table ──────────────────────────────────────────────────────────── */ |