Skip to content

feat(dashboard): adopt light academic presentation - #28

Merged
mohamed2ze merged 2 commits into
mainfrom
feat/light-academic-presentation
Nov 18, 2026
Merged

mohamed2ze merged 2 commits into
mainfrom
feat/light-academic-presentation

Conversation

@mohamed2ze

Copy link
Copy Markdown
Collaborator

What

Rework the four primary HTML routes into a presentation-ready light academic interface while preserving the existing stack, routes, API contracts, authentication and frozen-model gates.

  • Replace the dark visual identity with shared tokenized colours, 18px base text, a 1200px content maximum, visible focus and print styles.
  • Revise English and formal Arabic interface copy, including dynamic states, table captions, ARIA labels, chart labels and evidence status.
  • Add an explicit research-status strip: exploratory feature-space results, real transfer pending, frozen benchmark not accepted, defenses planned.
  • Give chart series non-colour patterns and labelled table alternatives; clarify the historical MNIST error-rate definition.
  • Group attack filters with a fieldset/legend and add a reset action.
  • Add regression coverage for palette contrast, token-only component colours, bilingual status copy, chart alternatives, filter semantics and research-status consistency.
  • Add the light-mode review record with the Arabic glossary and outstanding human checks.

Research claims, stored measurements, data, dependencies and deployment behaviour are unchanged. The user-supplied brief remains untracked and is not part of this PR.

Why

The prior dashboard used a dark presentation, rhetorical headings and colour-only chart distinctions. This change improves projector readability, bilingual clarity and evidence traceability without inventing results, approvals or completed defenses.

How tested

  • make lint
  • make test
  • make coverage — 629 passed, 6 optional skips, 90% total coverage in a clean detached worktree containing only the task diff
  • make security — not required: no dependencies, HTTP API behaviour, containers or CI changed
  • Focused Node/Python UI regressions
  • Headless Chromium review: four routes in English/Arabic at 320, 390, 844 landscape, 1366 and 1920 CSS px; five research views; no document overflow or uncaught JavaScript errors
  • Keyboard, forced-colors, doubled root text, language/filter persistence, empty/error and gated-prediction states
  • Lighthouse: 1.0 accessibility, best practices and SEO on the four default English route states

Checklist

  • Conventional Commits title
  • No datasets/weights/.env/mlruns committed
  • Security-impacting changes reviewed — none
  • Docs updated (docs/DECISIONS.md, docs/light_dashboard_review.md)
  • New docs discoverable from docs/README.md; dependency boundaries and generated-file rules preserved

Outstanding human checks

Real projector readability, native Arabic review, Firefox/Safari, physical mobile devices, screen-reader spot checks, a complete keyboard walkthrough and actual browser zoom remain unperformed. Automated audits do not establish accessibility compliance.

Replace the dark presentation with a tokenized light report style, formal bilingual copy, explicit research-status wording, patterned charts and labelled tables. Group filters with a reset action, add a local favicon and cover the presentation contracts with regression tests.
Document the presentation design, Arabic glossary, automated and browser verification, and the outstanding projector, native-review and assistive-technology checks.
@mohamed2ze
mohamed2ze merged commit 052f35e into main Nov 18, 2026
3 checks passed
@mohamed2ze
mohamed2ze deleted the feat/light-academic-presentation branch November 18, 2026 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant