Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

admin: the console's layout and its panel show/hide depend entirely on the jsdelivr Bootstrap, with no local fallback #1331

Backlog

Description

@chappie-daemon

Found by job 045's ui lens (row 5 of #868) at 8488bf13.

resources/admin/dashboard.html:10 loads Bootstrap from cdn.jsdelivr.net; resources/admin/assets/dashboard.css defines none of what the markup depends on — 0 occurrences of .d-none, .table-responsive, .row, .col-, .container-fluid, .visually-hidden and .g-2 in its 1,842 lines. The two top-level panels are made mutually exclusive by that class alone: #login-panel carries row justify-content-center with no d-none (dashboard.html:45) and #dashboard-panel starts d-none with the script toggling both (dashboard.js:356-391).

Evidence

reading — cutting the CDN (an egress firewall, an air-gapped box, a CDN outage) renders both the sign-in card and the whole dashboard at once, loses every grid and scroll container, and prints visually-hidden captions; no test fetches the page as a browser would.

What a fix changes

Vendor bootstrap.min.css into resources/admin/assets/ — the asset route already serves .css from there (get_asset.rs:20-26) and the CSP's style-src 'self' permits it — and point :10 at the local file. Fonts can keep degrading to system-ui/ui-monospace; the framework cannot.

Acceptance

  • The console renders its panels and tables with no network egress.
  • A case asserts the page's stylesheet links are same-origin.

Record: docs/rewrite/reviews/2026-11-30-relay-storage.md — finding F39, lens ui, tree 8488bf13.

Activity

  1. added
    bug
    rewrite
    rust
    factory
    on Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfactoryrewriterust

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions