Skip to content
quarry History Of Ticket cffde42876bf0b89c2f999f1539cdb6627adeb01
Login

History Of Ticket cffde42876bf0b89c2f999f1539cdb6627adeb01

Artifacts Associated With Ticket cffde42876bf0b89c2f999f1539cdb6627adeb01

  1. Ticket change [c64331a7a2] (rid 1611) by ai-local on 2026-08-21 19:48:46:

    1. Untracked field cmimetype: "text/x-markdown"
    2. comment initialized to:
      The fleet row menu was first built as a <details> disclosure while the account menu is a native popover — nothing names the sanctioned pattern, so the next author reaches for whatever works. Make native-first enforceable.
      
      1. internal/web/components.go: Go helpers returning template.HTML for each sanctioned primitive, registered in the FuncMap like navlink/tipcol: menu (popover + anchor + .menu, the only dropdown), fold (<details>), badge (.tl-badge variants), confirm (acknowledgement form), toggle, pager, rows. Two-line doc each: when to use, which native element it wraps, what it deliberately does not do.
      2. args helper (dict) so named templates take parameters instead of copying fragments.
      3. TestNativeComponentsOnly: scan template sources and fail on reinvented patterns — .menu without popover, <details> without a catalogued class, role=menu/dialog on a div, onclick beyond the pinned allowlist, class=dropdown|modal|tooltip. Failure message names the component to use.
      4. One-paragraph rule at the top of the template file; a pointer from the wiki page Audit after change.
      5. Migrate the existing account menu, fleet kebab, folds, pager and toggle onto the catalogue as the proof.
      
      Not: a templates directory or a component framework — one file, one script, html/template stays.
      
    3. priority initialized to: "Medium"
    4. severity initialized to: "Important"
    5. status initialized to: "Open"
    6. subsystem initialized to: "web"
    7. title initialized to:
      Component catalogue and guard test: native elements first, one source of markup
      
    8. type initialized to: "Feature_Request"
  2. Ticket change [cd76d76e89] (rid 1682) by ai-local on 2026-08-22 00:41:36:

    1. status changed to: "Review"
  3. Ticket change [25ec393c92] (rid 1683) by ai-local on 2026-08-22 00:43:11:

    1. status changed to: "Open"
  4. Ticket change [97185986ad] (rid 12499) by zeitgeist on 2026-09-24 00:53:30:

    1. Untracked field number: "64"
  5. Ticket change [fe9d44ef48] (rid 25932) by zeitgeist on 2026-11-17 06:50:09:

    1. icomment:
      Closing as a duplicate of #173, which asks for the same thing (one source of markup for each pattern, native elements first, a guard test that keeps pages on it) and carries the discussion. The catalogue and guard test described here are part of that ticket's scope.
      
    2. mimetype: "text/x-markdown"
    3. resolution changed to: "Rejected"
    4. status changed to: "Closed"