gitoria

gitoria

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit03cb650b03cb650blog: W61 theme decisionmre03cb650b/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

  • 03cb650blog: W61 theme decisionmre
  • 81f0a0bbREADME: two caches were restored by 90b4f72; log W62mre
  • 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
  • 5e11184cW60: record partial validation, framework gaps and cleanupmre
  • 20fe13fagitoria#33: centralize login and tickets connection statemre
  • 859754c0gitoria#29: retain the offline note and record the framework gapmre
  • d140bc04gitoria#30: reproduce the upsert ordering constraintmre
  • 6960e8f8gitoria#28: keep form values in bound component membersmre