tracker
All repositories: gitoria
3.1 KB
// components/franchisewidget.hl — THE FRANCHISE WIDGET on a show / movie page (tracker.worldapi.org#19, mission 066), composed// by components/show.hl: `FranchiseWidget { widgets = … }` (franchises.hl widgetsOf). One per timeline the title is in://// Star Trek ← the franchise (only when the timeline has one) → its index// ‹ Prequel | Star Trek — Prime | Sequel › ← links to the title before / after this one; an end is greyed out//// The timeline's name links to /timelines/<slug>. Each side shows the title it leads to under the word.widgets = []// HM49: component rules keep the existing selectors and shared theme variables.Style {franchiseWidgets {display = 'block'margin = '0'@media {minWidth = '40rem'margin = '.5rem 0'}}'franchise-widgets:not(:has(franchise-widget))' {display = 'none'}franchiseWidget {display = 'block'padding = '.5rem .6rem'marginBottom = '.5rem'background = 'var(--color-surface)'borderRadius = 'var(--radius-large)'}aFwFranchise {display = 'block'padding = '.8rem 0'marginBottom = '0'fontSize = '.8rem'fontWeight = '600'letterSpacing = '.04em'textTransform = 'uppercase'textAlign = 'center'}fwRow {display = 'grid'gridTemplateColumns = 'minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr)'alignItems = 'center'gap = '.5rem'@media {minWidth = '40rem'gridTemplateColumns = 'minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr)'}}fwSide {display = 'flex'flexDirection = 'column'justifyContent = 'center'minHeight = '2.75rem'minWidth = '0'color = 'var(--color-accent)'}fwNext {alignItems = 'flex-end'textAlign = 'right'}'.fw-side.off' {color = 'var(--color-text-muted)'opacity = '.5'}'a.fw-side' {hover {textDecoration = 'none'fwDir {textDecoration = 'underline'}}}fwDir {fontWeight = '600'whiteSpace = 'nowrap'}fwTitle {fontSize = '.8rem'color = 'var(--color-text-muted)'whiteSpace = 'nowrap'overflow = 'hidden'textOverflow = 'ellipsis'maxWidth = '100%'}aFwTimeline {minWidth = '0'fontWeight = '600'color = 'var(--color-text-strong)'textAlign = 'center'overflowWrap = 'anywhere'padding = '0 .4rem'}}View {franchiseWidgets {for (w of widgets) {franchiseWidget { "data-timeline" = w.idif (w.hasFranchise) { a { Style.aFwFranchise href = w.franchiseHref w.franchiseName } }fwRow {if (w.hasPrev) {a { Style.fwSide class = "fw-prev" href = w.prevHref title = w.prevTitlefwDir { "‹ Prequel" }fwTitle { w.prevTitle }}}if (w.noPrev) { span { Style.fwSide class = "fw-prev off" "aria-disabled" = "true" fwDir { "‹ Prequel" } } }a { Style.aFwTimeline href = w.href w.name }if (w.hasNext) {a { Style.fwSide Style.fwNext href = w.nextHref title = w.nextTitlefwDir { "Sequel ›" }fwTitle { w.nextTitle }}}if (w.noNext) { span { Style.fwSide Style.fwNext class = "off" "aria-disabled" = "true" fwDir { "Sequel ›" } } }}}}}}
Branches
Latest commits
- c6d464e5Log: Apollo GO backlog, AP56 and BS1 startedmre
- 1eb6f1a1Missions AP56, BS1mre
- 4871f8adLog: AP52 live on day52, browser gate greenmre
- d9bf2988Merge ap52: day52, tracker#58 server argument, #51 modal close rule, #56 keyed season rowsmre
- c4a60ef2Log: RT52 retest passed, AP52 startedmre
- 83760a55Browser gate: search results belong to the address form of the typed text (tracker#52 navigate replace)mre
- 6e951d91AP52: show-page rows are keyed records; closing a season is one upsert and removes (tracker#56, hybriel#331)mre
- 3bb4ccddAP52: modal close button refers to its nested rule with Style.buttonModalX (tracker#51, hybriel#333)mre
- ba16933fAP52: login callback and title route are static handlers taking the server as third argument (tracker#58, hybriel#332)mre
- 85153900AP52: re-vendor Hybriel set day52 (source 77cfca31, bin 0a8ed496)mre
- 7c051eddLog: hybriel#338 answermre
- d049b8b8Log: HM50 live, #52 donemre
- 6d05fa37Log: HM50 Part A mergedmre
- 1c7dab74HM50: the shell reads the framework's online state, netProbe removed (tracker#55)mre
- e8b91697HM50: search address follows the text via navigate(path, replace = true) (tracker#52)mre
- 6fe1896cHM50: re-vendor Hybriel set day50 (source 0ae38232, bin d3ef9d16)mre
- 2f391aa9Log: HM50 startedmre
- 4b59c03dHM50 mission: doc pathmre
- ed526d67HM50 missionmre
- 2f986ca3Log: RT50 passmre