tickets
All repositories: gitoria
1.0 KB
// components/problem.hl — `/login/failed/:why` and `/connect/failed/:why` (tickets#42): WHY A LOGIN OR A CONNECTION REQUEST DID NOT WORK, inside the normal shell// (header, the ident selector, theme). The function routes /login/callback and /connect only decide and redirect here (lib/api.hl); the reason is// a short code in the path, the sentence comes from lib/problems.hl (a page component cannot read a query string, hybriel#11, so the code is a path// segment). The page itself answers 200.parent './main.hl'import { problemOf } from '../lib/problems.hl'import { siteName } from '../project.hl'import { messageLook } from '../lib/looks.hl'why = nullshown = problemOf(why)heading = shown.titlesentence = shown.textbackHref = shown.backbackText = shown.backText__title = siteName + ' | ' + shown.titleStyle {pMessage = messageLook + { }problemPage { display = 'grid' gap = '1rem' maxWidth = '38rem' }}View {problemPage {h1 { id = "problemtitle" heading }p { id = "error" Style.pMessage sentence }p { a { id = "home" href = backHref backText } }}}
Branches
Latest commits
- 467d7286Tickets conductor: T36 done, deploy questionmre
- 8542fc8aTickets conductor: T36 proof reviewedmre
- 2a5b8b91Tickets conductor: T36 cap stop, resumed for proofmre
- 6a82097fTickets conductor: Arachne W228 on day35 flakemre
- 0ee5a6f2Tickets conductor: T36 resumedmre
- 9149c165Tickets conductor: T36 diagnosismre
- 91713313Tickets conductor: T36 report 1mre
- 756315d2Tickets conductor: T36 startedmre
- 0814ce6bTickets conductor: brief 025 tickets#36 style formmre
- 1b6916c4Tickets conductor: Atlas handover tickets#36mre
- aab95226Tickets conductor: worldapi-conductor paths, deploy blocker = read-only diskmre
- 6372b06dTickets conductor: worker port slotmre
- 836af31cTickets conductor: token pathsmre
- b03f11b6Tickets conductor: CONDUCTOR.md (project part), short STATUS.md, old STATUS to archive/2026-10-31mre
- a4123831tickets#42: the /connect and /login/callback error pages are app pages: the function routes redirect to /connect/failed/<code> and /login/failed/<code> (components/problem.hl, sentences in lib/problems.hl), htmlPage and its hand-written stylesheet are gone; gate tests/error-pages.mjsmre
- cefc7b4atickets: a startup error prints its message before exit 1 (hybriel#247)mre
- 99bd6570tickets: lib/migrate.hl writes no table of another topic any more: projects.hl rewriteSlug / addProjectNamed / hasMembers, tickets.hl moveToProject / ticketRecords / ticketRecordsOf, events.hl renameStates / eventRecords / eventRecordsOf; the migration calls them (tickets#47)mre
- b57161e3tickets: the markup names its own rules (Style.pMessage, Style.olTickets, ...) instead of hand-written class strings that copy a stylesheet rule; the shared bodies sit in lib/looks.hl (tickets#38)mre
- f767b24dtickets: 111 needless let became plain declarations (3 in ticket.hl, ticket_list.hl, comments.hl and 108 never-reassigned, not captured loop-body ones); the 212 really reassigned lets stay (tickets#44)mre
- 16c0d3b5tickets: the modal window is phone first: the full-screen sheet is the base rule, the centred window sits in the min-width 60rem block (tickets#39)mre