gitoria

gitoria

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit00517faf00517fafgitoria: shell 404 page for unknown paths (catch-all route, status 404, JSON 404 under /api), 390 gate checksMG00517faf/components/styles.hl

21.4 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 (layouts dbe3de7) sets 44 px targets, 16 px fields and the shells' sizes itself; only gitoria's own component stays here
  20. 'html ident-menu > button.ident-toggle' { width = '2.75rem' height = '2.75rem' }
  21. time { color = colorTextMuted fontSize = '.875rem' whiteSpace = 'nowrap' }
  22. dl { display = 'grid' gridTemplateColumns = 'auto minmax(0, 1fr)' gap = '.3rem 1rem' alignItems = 'center' margin = '0' }
  23. dt { color = colorTextMuted }
  24. dd { margin = '0' overflowWrap = 'anywhere' }
  25. 'dd > a' { display = 'inline-flex' alignItems = 'center' minHeight = '2.75rem' }
  26. 'form label' { display = 'grid' gap = '.35rem' }
  27. 'form input' { width = '100%' }
  28. '.message' { margin = '0' color = colorDanger }
  29. '.message:empty' { display = 'none' } // an empty error line must not leave a dead strip under the button
  30. '.notice' { margin = '0' color = colorSuccess }
  31. // ---- the shell (components/main.hl: the theme's AppHeader, MainMenu, UserMenu, Sidebar, ContentFirst) ------------------
  32. // the signed-in name at the top of the user menu (UserMenu's own `p.who` look)
  33. 'user-menu p#whoami' { fontSize = '.875rem' }
  34. // SIGNED OUT: the ident icon at the far right (phone) opens the dropdown with ident's selector and the login button; from 60rem the
  35. // dropdown stands open in the header. Signed in (class `in`) it is not shown: the user menu stands there (the selector stays in
  36. // the page — /login.js keeps its state).
  37. identMenu { display = 'block' flex = 'none' }
  38. 'ident-menu.in' { display = 'none' }
  39. 'ident-menu > button.ident-toggle' { minHeight = '0' marginRight = '-.5rem' padding = '0' color = colorText }
  40. 'ident-menu svg.ident-icon' { width = '2rem' height = '1.32rem' }
  41. 'svg.ident-icon .ident-d' { fill = colorTextStrong }
  42. 'svg.ident-icon .ident-d-side' { fill = colorTextMuted }
  43. 'svg.ident-icon .ident-i' { fill = colorAccent }
  44. '#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 }
  45. '#ident-panel::backdrop' { background = 'transparent' }
  46. // the identity selector (gitoria#14): ident's shadow DOM, restyled to the accent; hidden on a repo address (class onrepo, main.hl:
  47. // ident answers only the main address) — the login button stays
  48. 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' }
  49. 'ident-selector::part(button)' { minHeight = '2.75rem' padding = '.35rem .8rem' border = 'none' whiteSpace = 'nowrap' }
  50. 'ident-selector::part(status)' { minHeight = '2.75rem' padding = '.35rem .8rem' border = 'none' }
  51. 'ident-selector::part(identity)' { minHeight = '2.75rem' border = 'none' }
  52. 'ident-selector::part(panel)' { border = 'none' }
  53. 'ident-selector.onrepo' { display = 'none' }
  54. '#loginerror' { margin = '0' padding = '.5rem var(--layout-gutter)' background = colorBackgroundSunken }
  55. // the display-name prompt of a first login: in the content column, under the header
  56. namePrompt { display = 'block' paddingInline = 'max(var(--layout-gutter), calc((100% - var(--layout-column)) / 2))' paddingTop = '1rem' }
  57. 'name-prompt form' { display = 'grid' gap = '.6rem' padding = '1rem' background = colorSurface borderRadius = radiusLarge }
  58. // ---- offline (mission 046, components/main.hl): the note under the header, and the probe whose endless animation is
  59. // the shell's 1 s tick (it must be rendered for the animation to run — not display none — so: invisible)
  60. offlineNote { display = 'block' padding = '.5rem var(--layout-gutter)' color = colorTextStrong background = colorSurface }
  61. netProbe { position = 'fixed' left = '0' top = '0' width = '1px' height = '1px' opacity = '0' pointerEvents = 'none' animation = 'gitoria-net-tick 1s linear infinite' }
  62. '@keyframes gitoria-net-tick' = {
  63. 'from' = { opacity = '0' }
  64. to = { opacity = '0' }
  65. }
  66. // ---- grids: the gap spaces the parts, so their own margins go -----------------------------------------------------------
  67. repoHome { display = 'grid' gap = '1rem' minWidth = '0' }
  68. repoPage { display = 'grid' gap = '1rem' minWidth = '0' }
  69. repoHead { display = 'grid' gap = '.75rem' minWidth = '0' }
  70. repoList { display = 'grid' gap = '1rem' minWidth = '0' }
  71. codeView { display = 'grid' gap = '1rem' minWidth = '0' }
  72. 'repo-home > *,
  73. repo-page > *,
  74. repo-head > *,
  75. repo-list > *,
  76. code-view > *,
  77. code-browser > *,
  78. code-head > *,
  79. code-file > *,
  80. code-side section > *,
  81. repo-pulls > *,
  82. repo-releases > *,
  83. repo-tickets > *,
  84. repo-settings > *,
  85. #ticketsettings > *,
  86. access-tokens > *,
  87. ssh-keys > *,
  88. add-code > *,
  89. homepage-file > *,
  90. name-prompt form > *,
  91. #createform > *,
  92. #tokenform > *,
  93. #keyform > *,
  94. #newticketform > *' { margin = '0' }
  95. 'repo-head h1' { fontSize = '1.4rem' }
  96. // ---- the repositories (main address) ------------------------------------------------------------------------------
  97. '#createform,
  98. #tokenform,
  99. #keyform' { display = 'grid' gap = '.75rem' padding = '1rem' background = colorSurface borderRadius = radiusLarge }
  100. '#repos' { display = 'grid' gap = '.5rem' margin = '0' padding = '0' listStyle = 'none' }
  101. '#repos li' { display = 'grid' gap = '.1rem' margin = '0' padding = '.25rem 1rem .6rem' background = colorSurface borderRadius = radiusLarge }
  102. '#repos .slug' { display = 'flex' alignItems = 'center' minHeight = '2.75rem' fontWeight = '700' fontSize = '1.05rem' overflowWrap = 'anywhere' }
  103. '#repos .about' { color = colorText }
  104. repoMeta { display = 'flex' flexWrap = 'wrap' gap = '.2rem 1rem' fontSize = '.875rem' color = colorTextMuted }
  105. // ---- the repo head (components/repo.hl, the repo layout level, gitoria#16/#22) -------------------------
  106. // THE TAB ROW: Readme · Code · Pull requests · Releases · Tickets · Settings. On a phone a 3 × 2 grid of equal cells (a wrapping
  107. // flex row left the two rows ragged), from 60rem one row — never wider than the screen; every tab 44 px high. The tab of the page you are on carries aria-current="page" (components/repo.hl,
  108. // the repo layout level that STANDS while you switch tabs): bold, strong colour, 2 px accent underline. Hybriel renders a null
  109. // attribute as aria-current="" (not omitted), so the selector is [aria-current=page].
  110. repoNav { display = 'grid' gridTemplateColumns = 'repeat(3, minmax(0, 1fr))' gap = '.15rem' minWidth = '0' }
  111. 'repo-nav a' { display = 'inline-flex' alignItems = 'center' justifyContent = 'center' minWidth = '2.75rem' minHeight = '2.75rem' padding = '0 .25rem' textAlign = 'center' fontWeight = '600' color = colorText borderRadius = radiusSmall boxSizing = 'border-box' borderBottom = '2px solid transparent' } // functional: reserves the underline's 2 px so marking a tab moves nothing
  112. 'repo-nav a:hover' { textDecoration = 'none' color = colorTextStrong background = colorSurface }
  113. 'repo-nav a[aria-current=page]' { fontWeight = '700' color = colorTextStrong background = colorSurface borderBottomColor = colorAccent } // functional: the underline says "this is the page you are on"
  114. // ---- the repo homepage (gitoria#8): README.md / $docs as rendered Markdown (components/markdown.hl) ----
  115. repoHomepage { display = 'grid' gap = '1.5rem' minWidth = '0' }
  116. homepageFile { display = 'grid' gap = '.5rem' minWidth = '0' }
  117. 'homepage-file > .path' { color = colorTextMuted fontSize = '.875rem' background = 'transparent' padding = '0' }
  118. markdownText { display = 'block' minWidth = '0' }
  119. 'markdown-text > :first-child' { marginTop = '0' }
  120. 'markdown-text > :last-child' { marginBottom = '0' }
  121. 'markdown-text p,
  122. markdown-text li' { margin = '.5rem 0' overflowWrap = 'anywhere' }
  123. 'markdown-text h2,
  124. markdown-text h3,
  125. markdown-text h4' { margin = '1.2rem 0 .5rem' lineHeight = '1.3' color = colorTextStrong }
  126. 'markdown-text h2' { fontSize = '1.25rem' }
  127. 'markdown-text h3' { fontSize = '1.08rem' }
  128. 'markdown-text h4' { fontSize = '1rem' }
  129. 'markdown-text ul,
  130. markdown-text ol' { margin = '.5rem 0' paddingLeft = '1.4rem' }
  131. 'markdown-text li' { margin = '.15rem 0' }
  132. 'markdown-text ul' { listStyleType = 'disc' }
  133. 'markdown-text ol' { listStyleType = 'decimal' }
  134. 'markdown-text strong' { color = colorTextStrong }
  135. 'markdown-text a' { color = colorAccent textDecoration = 'underline' textUnderlineOffset = '.15em' }
  136. '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 }
  137. 'markdown-text pre' { margin = '.5rem 0' padding = '.6rem .8rem' overflowX = 'auto' background = colorBackgroundSunken borderRadius = radiusLarge }
  138. 'markdown-text pre code' { padding = '0' background = 'transparent' whiteSpace = 'pre' }
  139. 'markdown-text blockquote' { margin = '.5rem 0' padding = '.1rem .9rem' color = colorTextMuted borderLeft = '3px solid ' + colorSurface } // functional: the bar says "quoted"
  140. 'markdown-text hr' { height = '1px' margin = '1rem 0' border = '0' background = colorSurface }
  141. // a wide table scrolls inside its own box, the page never does
  142. 'markdown-text table-scroll' { display = 'block' maxWidth = '100%' overflowX = 'auto' margin = '.5rem 0' contain = 'inline-size' }
  143. 'markdown-text table' { width = 'auto' margin = '0' }
  144. 'markdown-text th' { fontSize = '.875rem' }
  145. // ---- adding code + access tokens (gitoria#7, plain text on the Code page of an empty repo: gitoria#20) ----
  146. '#addcode' { padding = '1rem' background = colorSurface borderRadius = radiusLarge }
  147. addCode { display = 'grid' gap = '.5rem' minWidth = '0' }
  148. '#addcode pre,
  149. #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 }
  150. '#addcode pre' { whiteSpace = 'pre-wrap' overflowWrap = 'anywhere' } // a command is read and copied whole: it wraps, it does not hide its end
  151. accessTokens { display = 'grid' gap = '.75rem' minWidth = '0' }
  152. sshKeys { display = 'grid' gap = '.75rem' minWidth = '0' }
  153. '#tokenlist,
  154. #keylist' { display = 'grid' gap = '.5rem' margin = '0' padding = '0' listStyle = 'none' }
  155. '#tokenlist li,
  156. #keylist li' { display = 'flex' flexWrap = 'wrap' alignItems = 'center' gap = '.2rem 1rem' margin = '0' padding = '.4rem .5rem .4rem 1rem' background = colorSurface borderRadius = radiusLarge }
  157. '#tokenlist .slug,
  158. #keylist .slug' { fontWeight = '700' marginRight = 'auto' overflowWrap = 'anywhere' }
  159. '#keylist .fingerprint' { overflowWrap = 'anywhere' color = colorTextMuted }
  160. '#keytext' { font = '1rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace' }
  161. // ---- browsing code (gitoria#9): /code, /branch/<name>, /commit/<id> ----
  162. codeBrowser { display = 'grid' gap = '1rem' minWidth = '0' }
  163. codeHead { display = 'grid' gap = '.3rem' minWidth = '0' }
  164. latestCommit { display = 'flex' flexWrap = 'wrap' gap = '0 .8rem' alignItems = 'center' minWidth = '0' padding = '.1rem .8rem .4rem' background = colorSurface borderRadius = radiusLarge }
  165. 'latest-commit > a' { display = 'inline-flex' alignItems = 'center' minHeight = '2.75rem' }
  166. 'latest-commit a,
  167. code-side li > a:first-child' { font = '.9em/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace' }
  168. // at the root the path row would only say the branch's name a second time (the heading above it already does): hidden there
  169. 'path-crumbs:has(> strong:only-child)' { display = 'none' }
  170. // the commit rows (the card at the top and the side list): ONE order everywhere — hash and date, the subject, the author — instead of
  171. // a flex line that wrapped differently with every subject
  172. 'latest-commit > a:first-child,
  173. #commits li > a:first-child' { order = '1' }
  174. 'latest-commit > time,
  175. #commits li > time' { order = '2' marginLeft = 'auto' }
  176. 'latest-commit > span:nth-child(2),
  177. #commits li > span:nth-child(2)' { order = '3' flex = '1 1 100%' minWidth = '0' paddingBlock = '.1rem' }
  178. 'latest-commit > span.muted,
  179. #commits li > span.muted' { order = '4' flex = '1 1 100%' fontSize = '.875rem' }
  180. // the path: every crumb a 44 px target
  181. pathCrumbs { display = 'flex' flexWrap = 'wrap' alignItems = 'center' gap = '0 .1rem' minWidth = '0' overflowWrap = 'anywhere' }
  182. 'path-crumbs a' { display = 'inline-flex' alignItems = 'center' justifyContent = 'center' minWidth = '2.75rem' minHeight = '2.75rem' padding = '0 .4rem' borderRadius = radiusSmall }
  183. 'path-crumbs a:hover' { background = colorSurface }
  184. // the folder: one row per entry, the whole row is the link (44 px), rows told apart by stripes (no lines)
  185. '#entries,
  186. code-side ul' { display = 'grid' margin = '0' padding = '0' listStyle = 'none' }
  187. '#entries li' { display = 'flex' alignItems = 'center' justifyContent = 'space-between' gap = '1rem' margin = '0' paddingRight = '.8rem' borderRadius = radiusSmall }
  188. '#entries li:nth-child(odd)' { background = colorBackgroundSunken }
  189. '#entries li > a,
  190. #entries li > span.file' { flex = '1 1 auto' display = 'flex' alignItems = 'center' minWidth = '0' minHeight = '2.75rem' padding = '0 .8rem' overflowWrap = 'anywhere' }
  191. '#entries li > span.muted' { flex = 'none' whiteSpace = 'nowrap' fontSize = '.875rem' }
  192. '#entries a.dir' { fontWeight = '700' }
  193. '#entries a.dir::after' { content = '"/"' }
  194. // 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
  195. // gutter (4 digits) on the phone
  196. codeFile { display = 'grid' gap = '.5rem' minWidth = '0' }
  197. '#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' }
  198. '#lines li' { counterIncrement = 'line' whiteSpace = 'pre' minHeight = '1.5em' margin = '0' padding = '0 .8rem 0 0' width = 'max-content' minWidth = '100%' }
  199. '#lines li::before' { content = 'counter(line)' display = 'inline-block' width = '4ch' marginRight = '.8rem' paddingLeft = '.5rem' boxSizing = 'content-box' textAlign = 'right' color = colorTextMuted userSelect = 'none' }
  200. '#lines code' { padding = '0' font = 'inherit' color = colorTextStrong background = 'transparent' }
  201. // branches + latest commits: under the file on a phone, a side column from 60rem
  202. codeSide { display = 'grid' gap = '1rem' minWidth = '0' }
  203. 'code-side section' { display = 'grid' gap = '.4rem' minWidth = '0' }
  204. 'code-side h2' { fontSize = '1.05rem' }
  205. 'code-side li' { display = 'flex' flexWrap = 'wrap' alignItems = 'center' gap = '0 .8rem' margin = '0' padding = '0 .5rem' overflowWrap = 'anywhere' borderRadius = radiusSmall }
  206. 'code-side li:nth-child(odd)' { background = colorBackgroundSunken }
  207. 'code-side li > a,
  208. code-side li > strong' { display = 'inline-flex' alignItems = 'center' minWidth = '2.75rem' minHeight = '2.75rem' }
  209. // ---- the repo's tickets (gitoria#10): the list of tickets.worldapi.org's project ----
  210. repoTickets { display = 'grid' gap = '1rem' minWidth = '0' }
  211. '#newticket summary' { padding = '.7rem .9rem' color = colorAccent }
  212. '#newticketform' { display = 'grid' gap = '.75rem' }
  213. '#ticketlist,
  214. #pulllist,
  215. #releaselist' { display = 'grid' gap = '.4rem' margin = '0' padding = '0' listStyle = 'none' }
  216. '#ticketlist li,
  217. #pulllist li,
  218. #releaselist li' { display = 'flex' flexWrap = 'wrap' alignItems = 'center' gap = '0 .8rem' margin = '0' padding = '.1rem 1rem .3rem' background = colorSurface borderRadius = radiusLarge overflowWrap = 'anywhere' }
  219. '#ticketlist li > a' { display = 'inline-flex' alignItems = 'center' minHeight = '2.75rem' }
  220. '#ticketlist li' { display = 'grid' gridTemplateColumns = '3.25rem minmax(0, 1fr) minmax(3.5rem, auto)' columnGap = '.5rem' alignItems = 'center' } // number, subject and state each in their own column: every row lines up
  221. '#ticketlist .number' { justifyContent = 'flex-start' minWidth = '2.75rem' color = colorTextMuted }
  222. '#ticketlist .state' { justifySelf = 'end' }
  223. '#ticketlist time' { gridColumn = '2 / -1' }
  224. '#ticketlist .subject' { fontWeight = '600' paddingBlock = '.2rem' }
  225. '#ticketlist .state' { fontSize = '.875rem' color = colorTextMuted }
  226. // ---- the repo's pull requests (gitoria#11) — a subject's parts are links in a line of text: each 44 px high ----
  227. repoPulls { display = 'grid' gap = '1rem' minWidth = '0' }
  228. '#pulllist .subject' { flex = '1 1 100%' minWidth = '0' fontWeight = '600' } // the title on its own row: the state badge no longer squeezes it
  229. '#pulllist .subject a' { display = 'inline-block' paddingBlock = '.65rem' }
  230. '#pulllist .subject a.ticketref' { minWidth = '2.75rem' textAlign = 'center' }
  231. '#pulllist .open' { fontSize = '.875rem' color = colorAccent }
  232. '#pulllist .nomerge' { display = 'none' }
  233. '#pulllist .merged' { fontSize = '.875rem' color = colorTextMuted }
  234. '#pulllist .branches' { display = 'inline-flex' flexWrap = 'wrap' alignItems = 'center' gap = '0 .5rem' }
  235. '#pulllist .branches a' { display = 'inline-flex' alignItems = 'center' justifyContent = 'center' minWidth = '2.75rem' minHeight = '2.75rem' }
  236. '#pulllist button.mergepr' { marginLeft = 'auto' color = colorAccentText background = colorAccent }
  237. // ---- the repo's settings (gitoria#18) and "#12" links to tickets ----
  238. repoSettings { display = 'grid' gap = '1rem' minWidth = '0' }
  239. '#ticketsettings' { display = 'grid' gap = '.75rem' justifyItems = 'start' }
  240. '#disconnecttickets.nomerge' { display = 'none' }
  241. 'a.ticketref' { fontWeight = '600' }
  242. '#connecttickets' { color = colorAccentText background = colorAccent }
  243. // ---- the repo's releases (gitoria#12) ----
  244. repoReleases { display = 'grid' gap = '1rem' minWidth = '0' }
  245. '#releaselist .version' { fontSize = '1.05rem' color = colorAccent }
  246. '#releaselist .latest' { fontSize = '.875rem' color = colorTextMuted }
  247. '#releaselist .subject' { flex = '1 1 12rem' display = 'inline-flex' alignItems = 'center' minHeight = '2.75rem' }
  248. // ---- the 404 page (components/notfound.hl): the wrong address may be one long word ----
  249. '#notfound code' { overflowWrap = 'anywhere' }
  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. repoNav = { display = 'flex' flexWrap = 'wrap' gap = '.15rem .25rem' marginInline = '-.75rem' }
  256. 'repo-nav a' = { padding = '0 .75rem' }
  257. 'code-browser' = { gridTemplateColumns = 'minmax(0, 1fr) 18rem' alignItems = 'start' columnGap = '2rem' }
  258. 'code-browser > *' = { gridColumn = '1' }
  259. 'code-browser > code-side' = { gridColumn = '2' gridRow = '1 / span 4' }
  260. '#repos li' = { gridTemplateColumns = 'minmax(10rem, 16rem) 1fr auto' alignItems = 'center' gap = '.15rem 1rem' padding = '.25rem 1rem' }
  261. 'ident-menu > button.ident-toggle' = { display = 'none' }
  262. '#ident-panel,
  263. #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' }
  264. identSelector = { position = 'relative' }
  265. 'ident-selector::part(panel)' = { position = 'absolute' top = '100%' right = '0' zIndex = '30' boxShadow = '0 .75rem 2rem ' + colorBackgroundSunken }
  266. }

Branches

Latest commits

  • 00517fafgitoria: shell 404 page for unknown paths (catch-all route, status 404, JSON 404 under /api), 390 gate checksMG
  • d9e977f0reports/MG-mobile.md, LOGMG
  • 2f2725actests/browser.mjs: commit-row check (one row, centred date)MG
  • 4df1ea01tests/browser.mjs: MG phone checks (list first, no dead strip, one branch heading, tab grid, commit rows, PR title row, ticket columns, wrapping commands)MG
  • c52424e9gitoria mobile: repo list before the forms, 3x2 tab grid, no duplicate branch heading, ordered commit rows, aligned ticket rows, pull title on its own row, wrapping clone commands, no dead strip under formsMG
  • 3a95252dG3: cache parsed README blocks by sha256 of the text (bounded LRU), reportmre
  • 570138cddeploy: security gate (tests/security.mjs)mre
  • da6b20fcgitoria SG: security audit fixes (uploadMax 0, Secure cookie on https, session rotation at login, nosniff on function routes, no identity in page data) + tests/security.mjs gate + reportmre
  • f98c981fgitoria B1: report wordingmre
  • c6364cedgitoria B1: compact Markdown blocks (one kind flag per block/span, empty and false fields omitted); same rendered HTML, page values -67%mre
  • cd99d2feWIP gitoria#22: always render the repo level's slot (missing-repo boot hang), pages render nothing without a repo; hydration diagnosis in reports/G2-hydrate.mdmre
  • e5404b9breport: commit idsmre
  • 63cfa21ereports/G2-repotabs.mdmre
  • 9b0516fdgitoria#22: mark the tab underline functional (check-theme), chain E2E: serve/measure split, bring the lisbeth tab to frontmre
  • 19bc1df8gitoria#22: all repo pages under ONE layout level (components/repo.hl, hl:web D-CHAIN): a tab click replaces only the page in the slot; head and tab nav stay the same DOM nodesmre
  • 40658417tests/browser.mjs: wait for the page to be live (hydrated) before clicking Merge — a click on the server-rendered button before the client mounted was lost (flaky 'Clashing change' under load)mre
  • 48a6154bre-vendor Hybriel 5406d146 (hl:web batches 9+10: #72 emits while the socket is closed delivered after reconnect, browser boot linear, faster list appends; contains int 6–14 + m406)mre
  • e972e8d7tests: short-id-switch (GITORIA_SWITCH_IDENT_PORT/_PORT) and ssh tunnel (GITORIA_GATE_TUNNEL_PORT) ports from env, defaults unchangedmre
  • f06f5349re-vendor Hybriel 6f8a0689 (int 6–11: streaming cursors, #203 index heal + close() fix, fd403 listDir/cursor fds, hl:time browser side, hl:web batches 5+6)mre
  • c7d3cc87docker-compose: nofile 65536 (Hybriel int 6+ boot opened >1024 files in the tracker)mre