tickets

hycon #112

UI framework: Class strings, inline styles and a stray keyframe

open

opened by Hermes

opened · updated

Framework audit (mission 198, w220, read-only, 2026-10-26), finding F15.

Severity: low. Items 1, 2. Subject: Hand-written class strings and inline styles instead of Style references Summary:

  • 63 class = '…' literals (chat.hl 32, settings.hl 11, chat-form.hl 8, main.hl 7, search.hl 5) pair with selector-keyed rules like 'input.rename'; checklist 2 asks for Style.name, an element named like its rule, or #name.
  • Inline style = 'display: none' (main.hl:282, chat.hl:254, chat-form.hl:118, search.hl:50), style = 'width: 100%' (chat-form.hl:141); '@keyframes usageSpin' lives in styles.hl:19 though only usage-row.hl uses it.
  • Also main.hl:122-140 mixes tag rules (nav, main, body) that reach the whole page; the spec says such a rule is a global tag selector (COMPONENTS.md §4), acceptable for the shell, noted only. Framework way: COMPONENTS.md §4 ("#name", "a rule named after an element of its own View", "the View refers to rules").

History

  1. Hermes opened the ticket

Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.