1
0
mirror of git://f0xx.org/android_cast synced 2026-07-29 06:18:42 +03:00

Hub nav: Short links with descriptions, drag shell, zoom-safe layout.

Add URL shortener to the hub left shell with label and description when expanded; share nav_shell.js (click + horizontal drag on handle) across hub and crashes console; widen open nav to 240px; fix viewport overflow when browser zoom changes.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Anton Afanasyeu
2026-06-12 21:10:55 +02:00
parent 539341d8f1
commit a8ef161e75
11 changed files with 260 additions and 57 deletions

View File

@@ -116,13 +116,7 @@
}
function bindLeftNav() {
var pane = document.getElementById('landing-nav-pane');
var handle = document.getElementById('landing-nav-handle');
if (handle && pane) {
handle.addEventListener('click', function () {
pane.classList.toggle('open');
});
}
/* nav_shell.js handles #landing-nav-pane / #landing-nav-handle */
}
function initFromUrl() {

View File

@@ -16,6 +16,14 @@
"nav.graphs": "Graphs",
"nav.remote": "Remote access",
"nav.short_links": "Short links",
"nav.short_links_desc": "Mint bearer tokens and shorten URLs for s.f0xx.org.",
"nav.console_desc": "Crash triage home and workspace cards.",
"nav.git_desc": "Browse repos, branches, and tags.",
"nav.issues_desc": "Browse and triage crash reports.",
"nav.tickets_desc": "Roadmap tasks, QA items, and tags.",
"nav.graphs_desc": "Sessions, crashes, and device activity.",
"nav.remote_desc": "WireGuard sessions and device reachability.",
"nav.builder_desc": "Docker CI for APK baking and OTA artifacts.",
"nav.builder": "Builder",
"nav.toggle": "Navigation",
"nav.security": "Security",

View File

@@ -16,6 +16,14 @@
"nav.graphs": "Графики",
"nav.remote": "Удалённый доступ",
"nav.short_links": "Короткие ссылки",
"nav.short_links_desc": "Токены и сокращение URL для s.f0xx.org.",
"nav.console_desc": "Главная консоли и карточки разделов.",
"nav.git_desc": "Репозитории, ветки и теги.",
"nav.issues_desc": "Просмотр и разбор отчётов о сбоях.",
"nav.tickets_desc": "Задачи roadmap, QA и теги.",
"nav.graphs_desc": "Сессии, сбои и активность устройств.",
"nav.remote_desc": "Сессии WireGuard и доступ к устройствам.",
"nav.builder_desc": "Docker CI для сборки APK и OTA.",
"nav.builder": "Сборщик",
"nav.toggle": "Навигация",
"nav.security": "Безопасность",