• Stefy Lanza (nextime / spora )'s avatar
    township: an app shell, not a longer page (v0.2.41) · 2b094b26
    Stefy Lanza (nextime / spora ) authored
    The 0.2.40 "restyle" rewrote the stylesheet into tokens and kept every class and
    every piece of markup, so it rendered as the same page in a slightly different
    grey. It also could not have shown: the markup carried 270 inline style
    attributes, 32 of which re-shrank a button below the type scale it had just been
    given, and 47 of which hardcoded a colour. This changes the structure.
    
    THE SHELL. Three regions that do not move, instead of one 1180px column:
    
    - A left sidebar with the six sections, each one an icon plus a label, and the
      active one carried by aria-current. Under ~900px it becomes a strip of icons
      above the content rather than eating a third of a phone.
    - A sticky top bar holding the page title and, on the Run page, the controls that
      start, stop and persist a run. Starting a render used to mean scrolling past 66
      settings to reach the button. The status pill sits with them.
    - A log dock fixed to the bottom. Watching a render used to mean scrolling to the
      end of the page and staying there. It remembers whether it was open, and opens
      itself the moment a run starts, which is the one time it is worth reading.
    
    Templates and the per-stage buttons move from under the settings to a card above
    them, in the order they are used: pick a template, see it in the form, run a
    stage. The Refresh links on Characters/Environments/Matches move to the top bar,
    and the per-page <h1> goes with them, since the bar already names the page.
    
    THE FORM. Above 1220px the cards flow in two columns, which roughly halves the
    height of a 66-setting form; the four wide cards span both. Each card is a
    container query root, so a row inside a half-width card collapses to the card's
    width rather than the window's. A label that wraps to two lines no longer pushes
    its field out of line with the one beside it.
    
    A BUG THIS SURFACED. The wardrobe inputs declared no type=, and [type=text] does
    not match a missing attribute, so every outfit field had been rendering as a
    white browser-default box on a dark page. The selector now covers them.
    
    The inline styles are mostly gone: 46 button size attributes folded into .btn-sm
    /.btn-xs, and 144 hardcoded hex values replaced by tokens, including four hues
    (violet, sage, tan, deep green) that the markup had been spelling out by hand and
    that are now declared once.
    
    THE STARTERS, answering what they left out. Both only carried video settings, so
    switching to LongCat left the outcome stings at Wan's 96-150 frames — neither
    4n+1 nor segment-aligned, so the server had to round them. Both now also set the
    outcome range (LongCat: 93, one whole segment, to 173), frame interpolation (off
    for LongCat, which does not need it at 15fps), the upscale factor, the keyframe
    size and the match count (3 for LongCat, where a scene is ~4x the frames). Both
    cover the same keys, so switching between them is deterministic.
    
    What they still do not set, deliberately: the character and environment stages.
    Those are image-side work — the video model never sees the pool — so a template
    that pinned the pool size or the reference-image budget would reset an operator's
    setup for no reason.
    
    All six pages rendered and screenshotted at 1600px and 820px. 53 tests.
    Co-Authored-By: 's avatarClaude Opus 5 (1M context) <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_0182DhR1eFNPQyGmDrpHbedY
    2b094b26
Name
Last commit
Last update
..
assets Loading commit data...
audiocraft_service.py Loading commit data...
canary_service.py Loading commit data...
character_studio.py Loading commit data...
crisperwhisper_service.py Loading commit data...
docker_leak_audit.py Loading commit data...
gen_township_fighters.py Loading commit data...
h3_common.py Loading commit data...
h3_service.py Loading commit data...
longcat_common.py Loading commit data...
longcat_service.py Loading commit data...
longcat_train.py Loading commit data...
lora_train_worker.py Loading commit data...
manual_multimodal_test_client.py Loading commit data...
melotts_service.py Loading commit data...
mux_service.py Loading commit data...
parler_tts_service.py Loading commit data...
pyannote_service.py Loading commit data...
review_outputs.py Loading commit data...
runpod_model_test.py Loading commit data...
video_dubber.py Loading commit data...
video_editor.py Loading commit data...
videogen.py Loading commit data...
xtts_service.py Loading commit data...