gitoria

tickets

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitf5bf16e2f5bf16e2Mission 031: deploy PR 1mref5bf16e2/components/problem.hl

1.0 KB

  1. // 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
  2. // (header, the ident selector, theme). The function routes /login/callback and /connect only decide and redirect here (lib/api.hl); the reason is
  3. // 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
  4. // segment). The page itself answers 200.
  5. parent './main.hl'
  6. import { problemOf } from '../lib/problems.hl'
  7. import { siteName } from '../project.hl'
  8. import { messageLook } from '../lib/looks.hl'
  9. why = null
  10. shown = problemOf(why)
  11. heading = shown.title
  12. sentence = shown.text
  13. backHref = shown.back
  14. backText = shown.backText
  15. __title = siteName + ' | ' + shown.title
  16. Style {
  17. pMessage = messageLook + { }
  18. problemPage { display = 'grid' gap = '1rem' maxWidth = '38rem' }
  19. }
  20. View {
  21. problemPage {
  22. h1 { id = "problemtitle" heading }
  23. p { id = "error" Style.pMessage sentence }
  24. p { a { id = "home" href = backHref backText } }
  25. }
  26. }

Branches

Latest commits

  • f5bf16e2Mission 031: deploy PR 1mre
  • c69cd5f3Merge branch 'pr-flow' into mainTickets
  • cc56798cLog gitoria PR-only requestmre
  • d876d0b2|||PR README: changes land as PRsmre
  • fd83ac1fconductor: caramboleyo is the user, not owner/creatorApollo
  • 3b858c91Log backup hard-link fixmre
  • 7f6b37a0deploy.sh backup: tar --hard-dereference (hard links broke mpackdb sidecars on restore)mre
  • e93711d9Log E30 livemre
  • 59c02e4dMerge e30: preserve edited state note labels in Markdownmre
  • 30970796Log E30 deploy GOmre
  • 7c8e6d83Limit edited state note fix to Markdown renderingmre
  • 910536d0Log E30 reviewmre
  • 36984386Preserve state transitions when their notes are editedmre
  • d75cb946Log E30 startmre
  • 0bf3fefaMission 030: edited state note labelmre
  • 691565c6Log neutral-ticket rule checkmre
  • bc3bdecerecords: day38b live, #94 purgedmre
  • f6c5aa0dMerge main (records)mre
  • e23d42acconnect gate: wait for hydration before clicking Disconnectmre
  • a5d45d00records: D38 cause, GOmre