gitoria

gitoria

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit7f992d627f992d62gitoria#23: phone first on the shared theme — brand, branch and pull links 44 px, readme code 14 px; gate block "phone first" (15 pages at 390 + the three dropdowns, fails 20 on old), dropdown-aware login/logout clicks, check-theme in GATESmre7f992d62/components/styles.hl

20.0 KB

  1. // components/styles.hl — the app's CSS, served as /__hl/app.css: it INHERITS THE WORLDAPI THEME (theme/theme.hl, copied from
  2. // layouts.worldapi.org — never edited here; docs: layouts.worldapi.org docs/using-the-theme.md) and adds only what gitoria's own
  3. // pages need. Components carry no Style blocks: markup is domain tags (<repo-page>, <repo-meta>, …), this file lays them out
  4. // (the theme's shell files theme/shell/*.hl carry their own Style).
  5. // TOKENS: colours only through the named tokens (shared/tokens.hl = layouts' file, byte-equal); the app sets only its accent
  6. // (blue-dark). Corners: radiusSmall (5px: buttons, links, fields, rows) / radiusLarge (10px: panels, boxes). Borderless —
  7. // `node theme/check-theme.mjs .` must report 0 problems (a deploy gate).
  8. // In a styles file a bare name is a TAG (camelCase → kebab), a quoted name is a selector written verbatim; a selector the theme
  9. // already writes may not be written again (hl:web refuses it) — so a few rules here start with `html ` (as the theme does).
  10. // PHONE FIRST (gitoria#23): every rule outside a block is the PHONE's (390 px): nothing makes the page wider than the screen
  11. // (code, tables and long lines scroll inside their own box), every tap target is at least 44×44 px (2.75rem), every field 16 px
  12. // (iOS zooms into smaller ones), no text under 14 px (.875rem). `@media (min-width: 60rem)` (the theme's one breakpoint) at the
  13. // bottom only ADDS the wide layout.
  14. inherit '../theme/theme.hl'
  15. import { var } from 'hl:web/css'
  16. import { blueDark, colorText, colorTextStrong, colorTextMuted, colorBackground, colorBackgroundSunken, colorAccentText, colorSurface, colorDanger, colorSuccess } from '../shared/tokens.hl'
  17. colorAccent = var(blueDark) // the app's accent: the only token this app sets
  18. // ---- phone first: targets, fields, text --------------------------------------------------------------------------
  19. // the theme's buttons are 2.25rem high, its header icon buttons 2.5rem: a finger needs 2.75rem (44 px)
  20. 'html button,
  21. html .button' { minHeight = '2.75rem' }
  22. 'html application-header > button,
  23. html user-menu > button,
  24. html ident-menu > button.ident-toggle,
  25. html app-sidebar > button.sidebar-close' { width = '2.75rem' height = '2.75rem' }
  26. // the brand (the theme's link, 26 px high): a 44 px row of its own, the ellipsis kept (line-height, not flex)
  27. 'html application-header > a.brand' { lineHeight = '2.75rem' }
  28. 'html input,
  29. html select' { minHeight = '2.75rem' }
  30. 'html input,
  31. html select,
  32. html textarea' { fontSize = '1rem' }
  33. 'html main-menu a,
  34. html user-menu > nav a,
  35. html user-menu > nav button' { display = 'flex' alignItems = 'center' minHeight = '2.75rem' }
  36. time { color = colorTextMuted fontSize = '.875rem' whiteSpace = 'nowrap' }
  37. dl { display = 'grid' gridTemplateColumns = 'auto minmax(0, 1fr)' gap = '.3rem 1rem' alignItems = 'center' margin = '0' }
  38. dt { color = colorTextMuted }
  39. dd { margin = '0' overflowWrap = 'anywhere' }
  40. 'dd > a' { display = 'inline-flex' alignItems = 'center' minHeight = '2.75rem' }
  41. 'form label' { display = 'grid' gap = '.35rem' }
  42. 'form input' { width = '100%' }
  43. '.message' { margin = '0' minHeight = '1.5em' color = colorDanger }
  44. '.notice' { margin = '0' color = colorSuccess }
  45. // ---- the shell (components/main.hl: the theme's AppHeader, MainMenu, UserMenu, Sidebar, ContentFirst) ------------------
  46. // the signed-in name at the top of the user menu (UserMenu's own `p.who` look)
  47. 'user-menu p#whoami' { fontSize = '.875rem' }
  48. // SIGNED OUT: the ident icon at the far right (phone) opens the dropdown with ident's selector and the login button; from 60rem the
  49. // dropdown stands open in the header. Signed in (class `in`) it is not shown: the user menu stands there (the selector stays in
  50. // the page — /login.js keeps its state).
  51. identMenu { display = 'block' flex = 'none' }
  52. 'ident-menu.in' { display = 'none' }
  53. 'ident-menu > button.ident-toggle' { minHeight = '0' marginRight = '-.5rem' padding = '0' color = colorText }
  54. 'ident-menu svg.ident-icon' { width = '2rem' height = '1.32rem' }
  55. 'svg.ident-icon .ident-d' { fill = colorTextStrong }
  56. 'svg.ident-icon .ident-d-side' { fill = colorTextMuted }
  57. 'svg.ident-icon .ident-i' { fill = colorAccent }
  58. '#ident-panel:popover-open' { position = 'fixed' inset = 'var(--layout-header) max(var(--layout-gutter), calc((100% - var(--layout-column)) / 2)) auto auto' display = 'grid' gap = '.6rem' width = 'auto' minWidth = '14rem' maxWidth = 'calc(100vw - 2 * var(--layout-gutter))' height = 'auto' margin = '.25rem 0 0' padding = '.75rem' color = colorText background = colorSurface border = '0' borderRadius = radiusLarge boxShadow = '0 .75rem 2rem ' + colorBackgroundSunken }
  59. '#ident-panel::backdrop' { background = 'transparent' }
  60. // the identity selector (gitoria#14): ident's shadow DOM, restyled to the accent; hidden on a repo address (class onrepo, main.hl:
  61. // ident answers only the main address) — the login button stays
  62. identSelector { '--ident-accent' = colorAccent '--ident-accent-text' = colorAccentText '--ident-background' = colorSurface '--ident-border' = colorSurface '--ident-font' = '600 1rem/1.4 system-ui, sans-serif' minWidth = '0' }
  63. 'ident-selector::part(button)' { minHeight = '2.75rem' padding = '.35rem .8rem' border = 'none' whiteSpace = 'nowrap' }
  64. 'ident-selector::part(status)' { minHeight = '2.75rem' padding = '.35rem .8rem' border = 'none' }
  65. 'ident-selector::part(identity)' { minHeight = '2.75rem' border = 'none' }
  66. 'ident-selector::part(panel)' { border = 'none' }
  67. 'ident-selector.onrepo' { display = 'none' }
  68. '#loginerror' { margin = '0' padding = '.5rem var(--layout-gutter)' background = colorBackgroundSunken }
  69. // the display-name prompt of a first login: in the content column, under the header
  70. namePrompt { display = 'block' paddingInline = 'max(var(--layout-gutter), calc((100% - var(--layout-column)) / 2))' paddingTop = '1rem' }
  71. 'name-prompt form' { display = 'grid' gap = '.6rem' padding = '1rem' background = colorSurface borderRadius = radiusLarge }
  72. // ---- offline (mission 046, components/main.hl): the note under the header, and the probe whose endless animation is
  73. // the shell's 1 s tick (it must be rendered for the animation to run — not display none — so: invisible)
  74. offlineNote { display = 'block' padding = '.5rem var(--layout-gutter)' color = colorTextStrong background = colorSurface }
  75. netProbe { position = 'fixed' left = '0' top = '0' width = '1px' height = '1px' opacity = '0' pointerEvents = 'none' animation = 'gitoria-net-tick 1s linear infinite' }
  76. '@keyframes gitoria-net-tick' = {
  77. 'from' = { opacity = '0' }
  78. to = { opacity = '0' }
  79. }
  80. // ---- grids: the gap spaces the parts, so their own margins go -----------------------------------------------------------
  81. repoHome { display = 'grid' gap = '1rem' minWidth = '0' }
  82. repoPage { display = 'grid' gap = '1rem' minWidth = '0' }
  83. repoHead { display = 'grid' gap = '.75rem' minWidth = '0' }
  84. repoList { display = 'grid' gap = '1rem' minWidth = '0' }
  85. codeView { display = 'grid' gap = '1rem' minWidth = '0' }
  86. 'repo-home > *,
  87. repo-page > *,
  88. repo-head > *,
  89. repo-list > *,
  90. code-view > *,
  91. code-browser > *,
  92. code-head > *,
  93. code-file > *,
  94. code-side section > *,
  95. repo-pulls > *,
  96. repo-releases > *,
  97. repo-tickets > *,
  98. repo-settings > *,
  99. #ticketsettings > *,
  100. access-tokens > *,
  101. ssh-keys > *,
  102. add-code > *,
  103. homepage-file > *,
  104. name-prompt form > *,
  105. #createform > *,
  106. #tokenform > *,
  107. #keyform > *,
  108. #newticketform > *' { margin = '0' }
  109. 'repo-head h1' { fontSize = '1.4rem' }
  110. // ---- the repositories (main address) ------------------------------------------------------------------------------
  111. '#createform,
  112. #tokenform,
  113. #keyform' { display = 'grid' gap = '.75rem' padding = '1rem' background = colorSurface borderRadius = radiusLarge }
  114. '#repos' { display = 'grid' gap = '.5rem' margin = '0' padding = '0' listStyle = 'none' }
  115. '#repos li' { display = 'grid' gap = '.1rem' margin = '0' padding = '.25rem 1rem .6rem' background = colorSurface borderRadius = radiusLarge }
  116. '#repos .slug' { display = 'flex' alignItems = 'center' minHeight = '2.75rem' fontWeight = '700' fontSize = '1.05rem' overflowWrap = 'anywhere' }
  117. '#repos .about' { color = colorText }
  118. repoMeta { display = 'flex' flexWrap = 'wrap' gap = '.2rem 1rem' fontSize = '.875rem' color = colorTextMuted }
  119. // ---- the repo head (components/repohead.hl, gitoria#16 — styled only, its markup is gitoria#22's) -------------------------
  120. // THE TAB ROW: Readme · Code · Pull requests · Releases · Tickets · Settings. It WRAPS inside its own row (two rows on a phone) —
  121. // never wider than the screen; every tab 44 px high. The tab of the page you are on is marked (the head is not told the page:
  122. // CSS reads which view the page holds)
  123. repoNav { display = 'flex' flexWrap = 'wrap' gap = '.15rem .25rem' minWidth = '0' marginInline = '-.75rem' }
  124. 'repo-nav a' { display = 'inline-flex' alignItems = 'center' justifyContent = 'center' minWidth = '2.75rem' minHeight = '2.75rem' padding = '0 .75rem' fontWeight = '600' color = colorText borderRadius = radiusSmall }
  125. 'repo-nav a:hover' { textDecoration = 'none' color = colorTextStrong background = colorSurface }
  126. 'body:has(#repoaddress) repo-nav #navhome,
  127. body:has(code-view) repo-nav #navcode,
  128. body:has(repo-pulls) repo-nav #navpulls,
  129. body:has(repo-releases) repo-nav #navreleases,
  130. body:has(repo-tickets) repo-nav #navtickets,
  131. body:has(repo-settings) repo-nav #navsettings' { color = colorAccent background = colorSurface }
  132. // ---- the repo homepage (gitoria#8): README.md / $docs as rendered Markdown (components/markdown.hl) ----
  133. repoHomepage { display = 'grid' gap = '1.5rem' minWidth = '0' }
  134. homepageFile { display = 'grid' gap = '.5rem' minWidth = '0' }
  135. 'homepage-file > .path' { color = colorTextMuted fontSize = '.875rem' background = 'transparent' padding = '0' }
  136. markdownText { display = 'block' minWidth = '0' }
  137. 'markdown-text > :first-child' { marginTop = '0' }
  138. 'markdown-text > :last-child' { marginBottom = '0' }
  139. 'markdown-text p,
  140. markdown-text li' { margin = '.5rem 0' overflowWrap = 'anywhere' }
  141. 'markdown-text h2,
  142. markdown-text h3,
  143. markdown-text h4' { margin = '1.2rem 0 .5rem' lineHeight = '1.3' color = colorTextStrong }
  144. 'markdown-text h2' { fontSize = '1.25rem' }
  145. 'markdown-text h3' { fontSize = '1.08rem' }
  146. 'markdown-text h4' { fontSize = '1rem' }
  147. 'markdown-text ul,
  148. markdown-text ol' { margin = '.5rem 0' paddingLeft = '1.4rem' }
  149. 'markdown-text li' { margin = '.15rem 0' }
  150. 'markdown-text ul' { listStyleType = 'disc' }
  151. 'markdown-text ol' { listStyleType = 'decimal' }
  152. 'markdown-text strong' { color = colorTextStrong }
  153. 'markdown-text a' { color = colorAccent textDecoration = 'underline' textUnderlineOffset = '.15em' }
  154. 'markdown-text code' { font = 'max(.875rem, .9em)/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace' padding = '.05em .3em' color = colorTextStrong background = colorBackgroundSunken borderRadius = radiusSmall }
  155. 'markdown-text pre' { margin = '.5rem 0' padding = '.6rem .8rem' overflowX = 'auto' background = colorBackgroundSunken borderRadius = radiusLarge }
  156. 'markdown-text pre code' { padding = '0' background = 'transparent' whiteSpace = 'pre' }
  157. 'markdown-text blockquote' { margin = '.5rem 0' padding = '.1rem .9rem' color = colorTextMuted borderLeft = '3px solid ' + colorSurface } // functional: the bar says "quoted"
  158. 'markdown-text hr' { height = '1px' margin = '1rem 0' border = '0' background = colorSurface }
  159. // a wide table scrolls inside its own box, the page never does
  160. 'markdown-text table-scroll' { display = 'block' maxWidth = '100%' overflowX = 'auto' margin = '.5rem 0' contain = 'inline-size' }
  161. 'markdown-text table' { width = 'auto' margin = '0' }
  162. 'markdown-text th' { fontSize = '.875rem' }
  163. // ---- adding code + access tokens (gitoria#7, plain text on the Code page of an empty repo: gitoria#20) ----
  164. '#addcode' { padding = '1rem' background = colorSurface borderRadius = radiusLarge }
  165. addCode { display = 'grid' gap = '.5rem' minWidth = '0' }
  166. '#addcode pre,
  167. #tokensecret' { margin = '0' padding = '.6rem .8rem' overflowX = 'auto' font = '.875rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace' color = colorTextStrong background = colorBackgroundSunken borderRadius = radiusLarge }
  168. accessTokens { display = 'grid' gap = '.75rem' minWidth = '0' }
  169. sshKeys { display = 'grid' gap = '.75rem' minWidth = '0' }
  170. '#tokenlist,
  171. #keylist' { display = 'grid' gap = '.5rem' margin = '0' padding = '0' listStyle = 'none' }
  172. '#tokenlist li,
  173. #keylist li' { display = 'flex' flexWrap = 'wrap' alignItems = 'center' gap = '.2rem 1rem' margin = '0' padding = '.4rem .5rem .4rem 1rem' background = colorSurface borderRadius = radiusLarge }
  174. '#tokenlist .slug,
  175. #keylist .slug' { fontWeight = '700' marginRight = 'auto' overflowWrap = 'anywhere' }
  176. '#keylist .fingerprint' { overflowWrap = 'anywhere' color = colorTextMuted }
  177. '#keytext' { font = '1rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace' }
  178. // ---- browsing code (gitoria#9): /code, /branch/<name>, /commit/<id> ----
  179. codeBrowser { display = 'grid' gap = '1rem' minWidth = '0' }
  180. codeHead { display = 'grid' gap = '.3rem' minWidth = '0' }
  181. latestCommit { display = 'flex' flexWrap = 'wrap' gap = '0 .8rem' alignItems = 'center' minWidth = '0' padding = '.1rem .8rem .4rem' background = colorSurface borderRadius = radiusLarge }
  182. 'latest-commit > a' { display = 'inline-flex' alignItems = 'center' minHeight = '2.75rem' }
  183. 'latest-commit a,
  184. code-side li > a:first-child' { font = '.9em/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace' }
  185. // the path: every crumb a 44 px target
  186. pathCrumbs { display = 'flex' flexWrap = 'wrap' alignItems = 'center' gap = '0 .1rem' minWidth = '0' overflowWrap = 'anywhere' }
  187. 'path-crumbs a' { display = 'inline-flex' alignItems = 'center' justifyContent = 'center' minWidth = '2.75rem' minHeight = '2.75rem' padding = '0 .4rem' borderRadius = radiusSmall }
  188. 'path-crumbs a:hover' { background = colorSurface }
  189. // the folder: one row per entry, the whole row is the link (44 px), rows told apart by stripes (no lines)
  190. '#entries,
  191. code-side ul' { display = 'grid' margin = '0' padding = '0' listStyle = 'none' }
  192. '#entries li' { display = 'flex' alignItems = 'center' justifyContent = 'space-between' gap = '1rem' margin = '0' paddingRight = '.8rem' borderRadius = radiusSmall }
  193. '#entries li:nth-child(odd)' { background = colorBackgroundSunken }
  194. '#entries li > a,
  195. #entries li > span.file' { flex = '1 1 auto' display = 'flex' alignItems = 'center' minWidth = '0' minHeight = '2.75rem' padding = '0 .8rem' overflowWrap = 'anywhere' }
  196. '#entries li > span.muted' { flex = 'none' whiteSpace = 'nowrap' fontSize = '.875rem' }
  197. '#entries a.dir' { fontWeight = '700' }
  198. '#entries a.dir::after' { content = '"/"' }
  199. // a file: the lines scroll sideways INSIDE their box (a 19 000 px line too); the box is as wide as the column. A narrow line-number
  200. // gutter (4 digits) on the phone
  201. codeFile { display = 'grid' gap = '.5rem' minWidth = '0' }
  202. '#lines' { margin = '0' padding = '.5rem 0' overflowX = 'auto' listStyle = 'none' counterReset = 'line' background = colorBackgroundSunken borderRadius = radiusLarge font = '.875rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace' }
  203. '#lines li' { counterIncrement = 'line' whiteSpace = 'pre' minHeight = '1.5em' margin = '0' padding = '0 .8rem 0 0' width = 'max-content' minWidth = '100%' }
  204. '#lines li::before' { content = 'counter(line)' display = 'inline-block' width = '4ch' marginRight = '.8rem' paddingLeft = '.5rem' boxSizing = 'content-box' textAlign = 'right' color = colorTextMuted userSelect = 'none' }
  205. '#lines code' { padding = '0' font = 'inherit' color = colorTextStrong background = 'transparent' }
  206. // branches + latest commits: under the file on a phone, a side column from 60rem
  207. codeSide { display = 'grid' gap = '1rem' minWidth = '0' }
  208. 'code-side section' { display = 'grid' gap = '.4rem' minWidth = '0' }
  209. 'code-side h2' { fontSize = '1.05rem' }
  210. 'code-side li' { display = 'flex' flexWrap = 'wrap' alignItems = 'center' gap = '0 .8rem' margin = '0' padding = '0 .5rem' overflowWrap = 'anywhere' borderRadius = radiusSmall }
  211. 'code-side li:nth-child(odd)' { background = colorBackgroundSunken }
  212. 'code-side li > a,
  213. code-side li > strong' { display = 'inline-flex' alignItems = 'center' minWidth = '2.75rem' minHeight = '2.75rem' }
  214. // ---- the repo's tickets (gitoria#10): the list of tickets.worldapi.org's project ----
  215. repoTickets { display = 'grid' gap = '1rem' minWidth = '0' }
  216. '#newticket summary' { padding = '.7rem .9rem' color = colorAccent }
  217. '#newticketform' { display = 'grid' gap = '.75rem' }
  218. '#ticketlist,
  219. #pulllist,
  220. #releaselist' { display = 'grid' gap = '.4rem' margin = '0' padding = '0' listStyle = 'none' }
  221. '#ticketlist li,
  222. #pulllist li,
  223. #releaselist li' { display = 'flex' flexWrap = 'wrap' alignItems = 'center' gap = '0 .8rem' margin = '0' padding = '.1rem 1rem .3rem' background = colorSurface borderRadius = radiusLarge overflowWrap = 'anywhere' }
  224. '#ticketlist li > a' { display = 'inline-flex' alignItems = 'center' minHeight = '2.75rem' }
  225. '#ticketlist .number' { justifyContent = 'center' minWidth = '2.75rem' marginLeft = '-.5rem' color = colorTextMuted }
  226. '#ticketlist .subject' { flex = '1 1 12rem' fontWeight = '600' }
  227. '#ticketlist .state' { fontSize = '.875rem' color = colorTextMuted }
  228. // ---- the repo's pull requests (gitoria#11) — a subject's parts are links in a line of text: each 44 px high ----
  229. repoPulls { display = 'grid' gap = '1rem' minWidth = '0' }
  230. '#pulllist .subject' { flex = '1 1 12rem' fontWeight = '600' }
  231. '#pulllist .subject a' { display = 'inline-block' paddingBlock = '.65rem' }
  232. '#pulllist .subject a.ticketref' { minWidth = '2.75rem' textAlign = 'center' }
  233. '#pulllist .open' { fontSize = '.875rem' color = colorAccent }
  234. '#pulllist .nomerge' { display = 'none' }
  235. '#pulllist .merged' { fontSize = '.875rem' color = colorTextMuted }
  236. '#pulllist .branches' { display = 'inline-flex' flexWrap = 'wrap' alignItems = 'center' gap = '0 .5rem' }
  237. '#pulllist .branches a' { display = 'inline-flex' alignItems = 'center' justifyContent = 'center' minWidth = '2.75rem' minHeight = '2.75rem' }
  238. '#pulllist button.mergepr' { color = colorAccentText background = colorAccent }
  239. // ---- the repo's settings (gitoria#18) and "#12" links to tickets ----
  240. repoSettings { display = 'grid' gap = '1rem' minWidth = '0' }
  241. '#ticketsettings' { display = 'grid' gap = '.75rem' justifyItems = 'start' }
  242. '#disconnecttickets.nomerge' { display = 'none' }
  243. 'a.ticketref' { fontWeight = '600' }
  244. '#connecttickets' { color = colorAccentText background = colorAccent }
  245. // ---- the repo's releases (gitoria#12) ----
  246. repoReleases { display = 'grid' gap = '1rem' minWidth = '0' }
  247. '#releaselist .version' { fontSize = '1.05rem' color = colorAccent }
  248. '#releaselist .latest' { fontSize = '.875rem' color = colorTextMuted }
  249. '#releaselist .subject' { flex = '1 1 12rem' display = 'inline-flex' alignItems = 'center' minHeight = '2.75rem' }
  250. // ---- the failed login (components/loginfailed.hl) ----
  251. '#home' { display = 'inline-flex' alignItems = 'center' minHeight = '2.75rem' }
  252. // ---- from 60rem (the theme's breakpoint): the code browser gets its side column, the repo list its columns, the signed-out
  253. // header shows the selector and the login button themselves (no icon) ----
  254. '@media (min-width: 60rem)' = {
  255. 'code-browser' = { gridTemplateColumns = 'minmax(0, 1fr) 18rem' alignItems = 'start' columnGap = '2rem' }
  256. 'code-browser > *' = { gridColumn = '1' }
  257. 'code-browser > code-side' = { gridColumn = '2' gridRow = '1 / span 4' }
  258. '#repos li' = { gridTemplateColumns = 'minmax(10rem, 16rem) 1fr auto' alignItems = 'center' gap = '.15rem 1rem' padding = '.25rem 1rem' }
  259. 'ident-menu > button.ident-toggle' = { display = 'none' }
  260. '#ident-panel,
  261. #ident-panel:popover-open' = { position = 'static' inset = 'auto' display = 'flex' alignItems = 'center' gap = '.5rem' width = 'auto' minWidth = '0' maxWidth = 'none' height = 'auto' margin = '0' padding = '0' overflow = 'visible' color = 'inherit' background = 'transparent' border = '0' boxShadow = 'none' }
  262. identSelector = { position = 'relative' }
  263. 'ident-selector::part(panel)' = { position = 'absolute' top = '100%' right = '0' zIndex = '30' boxShadow = '0 .75rem 2rem ' + colorBackgroundSunken }
  264. }

Branches

Latest commits

  • 7f992d62gitoria#23: phone first on the shared theme — brand, branch and pull links 44 px, readme code 14 px; gate block "phone first" (15 pages at 390 + the three dropdowns, fails 20 on old), dropdown-aware login/logout clicks, check-theme in GATESmre
  • a2a840a5gitoria#23 WIP (quota stop): theme from layouts, styles inherit it, shell on the theme's header/menus/sidebar, phone measurement script; gates not runmre
  • 12b665b0mission brief 005mre
  • b680c483Revert "gitoria#22: RepoTabs wrapping component for the repo tabs (active tab, no content for a missing repo)"mre
  • 4fda244fgitoria#22: RepoTabs wrapping component for the repo tabs (active tab, no content for a missing repo)mre
  • 0fd5e280mission brief 004mre
  • e1d425e7paths: projects moved into /media/STORAGE/projects/WorldAPI/mre
  • e59ff114deploy.sh: wait up to DEPLOY_URL_WAIT (120 s) for 200 after the restart, as the other apps (cold compile, hybriel#148)mre
  • bcafcceb003: compose cache volume + tmpfs /tmp, gate start waits 120 s, report/LOG/STATUSmre
  • bed3f2d5Re-vendor Hybriel to the shared static build 0f396652 (plugins; bin/ is git-ignored)mre
  • 3207e128mission brief 003mre
  • 18ab71fbtests/ticketskit: wait up to 120 s for tickets (native Hybriel cold compile ~25 s, hybriel#148)mre
  • 4fffa966docker-compose: init: true (hybriel#156, PID 1 ignored SIGTERM, every restart waited 10 s)mre
  • 4f47843egate: ticket links use the tickets short URL (/<slug>/<n>, tickets#25)mre
  • 86605446mission 002 (code order) 4/4: README file map + import order + 'Same output' test + gate run with a tickets HEAD copy, STATUS (entry, lessons), LOG, report; tests/realdata-baseline.mjs + realdata-compare.py (a cleanup answers the same on live data: pages, modules, API, git over HTTPS and SSH, faces), tests/letcount.pymre
  • cc7bf7bamission 002 (code order) 3/4: let only where a variable is reassigned or re-bound in a loop body (289 lets → plain declarations; 213 left: 125 reassigned, 88 loop-bound; no member/import/param clash). gates 200/0, 46/0, 44/0; real-data reads + writes identical (browser modules: var → const only)mre
  • 090a20c6mission 002 (code order) 2/4: one lib/ file per topic — git.hl split into git (calls, branches, init, temp folder) / homepage / code / pulls / releases (+ git-helpers: paths, ids, |||PR/|||RL markers); repos-helpers, tickets-helpers, transport-helpers; util.hl = localtime + env, storage dir, addresses, lists, text checks, one newest-first sort (was 3 copies); the function routes out of project.hl into lib/api.hl (thin; plumbing in api-helpers.hl), sshgate.hl folded into api.hl + sshkeys.hl keyLine + repos.hl mayPush; 'Make main' and the merge answer out of the faces (code.hl makeMain, pulls.hl pullsView), one login helper (users.hl userOfLoginCode); project.hl is the map. Session-writing routes get &req + &server.sessions. gates 200/0, 46/0, 44/0; real-data identical except /login/failed now shows the parked reason for a browser that already had a session (the old copy-of-req lost it)mre
  • 110c2799mission 002 (code order) 1/4: .hl files out of the root — lib/ (api, git, localtime, markdown, repos, sshgate, sshkeys, tickets, tokens, transport, users), components/styles.hl; jsoncheck.hl removed (imported nowhere); import paths only. gates 200/0, 46/0, 44/0; real-data reads + writes identicalmre
  • fdfb4b1bgitoria: Hybriel master 06617221 (plugin allocators 3a781359 + 413f60e4, mpackdb 2cb7ae5e, http1 773de63e); gates 200/0, 46/0, 44/0mre
  • 5b46ac84antcolony#40: LOG.md — missions 069/072 are antcolony missions (report paths on Byrodin)mre