gitoria

gitoria

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitc4f6d9e3c4f6d9e3reports: G25c growth huntmrec4f6d9e3/components/pull-reply.hl

759 B

  1. // COMPONENTS.md §12: own state per component, row props in, bound functions out.
  2. threadId = ''
  3. toggleLabel = ''
  4. nextState = false
  5. sendReply = null
  6. resolveThread = null
  7. body = ''
  8. View {
  9. form {
  10. on submit(e) {
  11. e.preventDefault()
  12. if (sendReply(threadId, body)) { body = '' }
  13. }
  14. label { "Reply"
  15. textarea { name = "body" rows = "3" maxlength = "65536" required = "required" value = body on input(e) { body = e.target.value } }
  16. }
  17. button { type = "submit" "Reply" }
  18. button { class = "quiet" type = "button" toggleLabel on click() { resolveThread(threadId, nextState) } }
  19. }
  20. }
  21. // Restrict layout to this HTML form; a bare form rule would affect every app form.
  22. Style {
  23. #form {
  24. display = 'grid'
  25. gap = '.5rem'
  26. justifyItems = 'start'
  27. }
  28. }

Branches

Latest commits

  • c4f6d9e3reports: G25c growth huntmre
  • b88e39f1log: privacy cleanup donemre
  • bfd7826ddocs: neutral example organisation namemre
  • 01b71c2edocs: neutral wording in missions, reports and logmre
  • 3eeea733log: 2026-11-09 PR flow plan and membersmre
  • e7c2ff1fdocs: neutral name for the apps-api reviewmre
  • 120b7abdlog: step 3 queuedmre
  • 358474bflog: P50 livemre
  • 477d7bdcMerge branch 'p50'mre
  • 00efc06fP50 reportmre
  • e3f85afblog: commit mention slipmre
  • 4d1a4cf4log: #25 numbersmre
  • 1af0a60ddocs: H25 run() correctionmre
  • eefa2dbcRepo setting: refuse direct pushes to the main branch (pre-receive over HTTPS and ssh)mre
  • 8c8ba2f1log: PR flow announcedmre
  • fa00cd35log: Kunibert pings provenmre
  • 3a68cfaclog: components decisionmre
  • 87de8e31log: Kunibert connected to 9 app reposmre
  • c22aff69log: PR-only rollout startedmre
  • 25309981log: STOP and paused workers 2026-11-08mre