admin: responsive UI for phones, tablets and ultrawide - #115
Merged
Conversation
Postlog
force-pushed
the
feat/responsive-admin
branch
2 times, most recently
from
June 18, 2026 17:03
b216705 to
2ceeb8d
Compare
Postlog
force-pushed
the
feat/responsive-admin
branch
4 times, most recently
from
June 19, 2026 10:27
a91ad27 to
8147ba6
Compare
Make the admin panel usable on every screen — mini-phones (320px) through ultrawide. Mostly static (app.css/app.js/index.html), plus a one-line dev-only tweak so the live SUBGEN_STATIC_DIR assets actually reload. The desktop (>=992px) is visually unchanged. - navbar collapses into a hamburger below lg (992px): an animated toggle + a full-width collapsible menu; the tabs became <button> (keyboard-operable). - Users/Nodes tables turn into data-label cards below 992px (two-up on tablets via CSS-grid; the table returns at >=992px). The user description shows inline on a card instead of a floating gray tooltip, and Bootstrap's row-hover cell tint (an inset box-shadow that lit the card title block) is dropped on cards. - config constructors and rule/group/sub-rule rows stack below 768px. - bigger tap targets on touch (pointer:coarse); inputs keep their normal size (no 16px bump — it blew the dense config selects/inputs out of proportion). - hover popovers open on tap (:focus-within); modals scroll their body only (header/footer pinned); Monaco no longer traps page scroll; the container widens on ultrawide. - render.go: serve dev SUBGEN_STATIC_DIR assets with Cache-Control: no-cache so an edited CSS/JS shows on a plain reload (heuristic caching otherwise served a stale asset for minutes, defeating the live-edit feature). Verified with a real browser at 320/360/500/768/850/1024/1280/1600px (no horizontal overflow, no desktop regression); make all is green. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Postlog
force-pushed
the
feat/responsive-admin
branch
from
June 19, 2026 11:12
8147ba6 to
cd2734f
Compare
postlog-vibecoder
approved these changes
Jun 20, 2026
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.
Makes the admin panel usable on every screen size — mini-phones (320px) → phones → tablets → laptops → desktops → ultrawide. Almost all of it is static (
internal/handlers/web/static/{app.css,app.js,index.html}); the only Go change is a one-line dev tweak (see "Dev" below). Desktop (≥992px) is visually unchanged. Rebased onto the currentmain(English UI #117 + the subscription-links popup #116); the new sublinks modal reuses the generic responsive modal.What changed
lg(992px): an animated toggle + a full-width collapsible menu. The tabs moved from<a>(no href, unreachable by keyboard) to<button>+ a:focus-visiblering.data-labelrows below 992px (two-up on tablets via CSS-grid; the table returns at ≥992px). The user description shows inline on the card (not a floating gray tooltip), and Bootstrap's row-hover cell tint (an insetbox-shadowthat lit the card title block) is dropped on cards.✕is right-aligned.pointer:coarse; inputs keep their normal size (no 16px iOS-no-zoom bump — it blew the dense config selects/inputs out of proportion). Hover popovers open on tap (:focus-within+tabindex).max-height+dvhwith avhfallback).render.goserves the liveSUBGEN_STATIC_DIRassets withCache-Control: no-cache, so an edited CSS/JS shows on a plain reload (heuristic caching otherwise served a stale asset for minutes — defeating the live-edit feature).Verification
Driven with a real browser at 320 / 360 / 500 / 768 / 850 / 1024 / 1280 / 1600px (all tabs, modals incl. the subscription-links popup, login, plus a real
:hoveron the cards) — no horizontal overflow, no desktop regression.make allis green (build + vet + lint 0 issues + unit-race+ integration + apitest). The Cyrillic guard (grep -rI '[А-Яа-я]') stays clean.🤖 Generated with Claude Code