gitoria

tickets

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit7c8e6d837c8e6d83Limit edited state note fix to Markdown renderingmre7c8e6d83/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

  • 7c8e6d83Limit edited state note fix to Markdown renderingmre
  • 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
  • 19eeb938records: D38 gates, two day38b failuresmre
  • f8e42a85Re-vendor tickets to Hybriel set day38b (1e554d7)mre
  • 51645016Merge purge-94 (#94, identity rule)mre
  • 94d6ca2arecords: D38 startedmre
  • 9df09aacmission 029: day38b re-vendor + deploymre
  • d2834f65records: #94 backup planmre
  • 4467d8cbrecords: #94 purge readymre
  • aa2d124eREADME: the #94 purge gatemre
  • e843ff7cOne-time purge of miserit-anthar#94 (#94, identity rule): idempotent step in lib/migrate.hl, fixture gate tests/purge94.mjsmre
  • 506a4efdmission 028: #94, identity rulemre
  • 78c7f48eRefine mpackdb holdmre