gitoria

gitoria

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitc6d9c86ac6d9c86aOwn the not-found code rule in its componentmrec6d9c86a/components/code.hl

980 B

  1. // components/code.hl — THE CODE PAGE of a repo (gitoria#9, gitoria#16): /code, /code/<path>: the main branch (the owner's setting) at its last commit.
  2. // Its own route, rendered on the server (repo from the request's host, content from git: codebrowser.hl).
  3. // THE PATH AFTER /code/: the route `/code/*path` binds the rest of the path to the member `path` (hybriel#81).
  4. parent './repo.hl'
  5. import { siteName } from '../project.hl'
  6. import AddCode from './addcode.hl'
  7. import CodeBrowser from './codebrowser.hl'
  8. import { pageTitle } from '../lib/repos-helpers.hl'
  9. import { slugOfRequest } from '../lib/orgs.hl'
  10. import { titleSlug, repoAt } from '../lib/repos.hl'
  11. host = null
  12. orepo = ''
  13. session = null
  14. path = ''
  15. hasRepo = repoAt(slugOfRequest(host, orepo), session) != null
  16. __title = pageTitle(siteName, titleSlug(host, orepo, session), 'Code')
  17. View {
  18. repoPage {
  19. if (hasRepo) {
  20. AddCode { orepo = orepo }
  21. CodeBrowser { orepo = orepo kind = "code" rest = path }
  22. }
  23. }
  24. }

Branches

Latest commits

  • c6d9c86aOwn the not-found code rule in its componentmre
  • 055424c2Record W61 replacement theme gates, sidebar repro and baselinemre
  • 2ed09441Use layouts theme 17e0f03 for W61 compatibilitymre
  • b8609a91Merge branch 'main' into w61-stylemre
  • 4639caf7Report W61 theme startup blocker and day39 Style probemre
  • 81f0a0bbREADME: two caches were restored by 90b4f72; log W62mre
  • 4a3f557eImport layouts theme ebd00b6 for W61 (startup blocked)mre
  • ab12a257Merge W62: #25 commit page measurements and proc repromre
  • 41323e49gitoria#25: measure commit request costs and reproduce blocking process waitsmre
  • 53ca42b2log: W60 merged, W61 W62 startedmre
  • 80870a33mission W61: style passmre
  • 560fd208Merge W60: helpers, bound forms, login in topics, two form fixes (gitoria#28 #32 #33)mre
  • ac5ba6a4log: W60, #25 measuredmre
  • 220f6342W60: record corrected form proof, full AE and remaining gapsmre
  • 7e31cac5gitoria#28: restrict reply form layout to reply formsmre
  • ae373cfdgitoria#28: keep each reply draft in its thread componentmre
  • eeeebd5agitoria: insert a newly created organization oncemre
  • 34d2d5cagitoria: clear the bound public-key textarea after creationmre
  • 119e54c0W60: restore conductor-owned tracking filesmre
  • 24b479e7W60: record final gates, Chrome failures and AE evidencemre