diff --git a/docs/DESIGN.md b/docs/DESIGN.md index 90df24d2bd4634edd90f667dfda7d7f4114b53e2..35b014dd6e59021c7ab92adeffead5e17b3bb7db 100644 --- a/docs/DESIGN.md +++ b/docs/DESIGN.md @@ -91,7 +91,8 @@ # token.go (Basic: PAT trio + 60s cache), jwt.go (Bearer: EdDSA verify) storage/ # init.go (InitStore/DeleteStore via WriteEmptyRepo), dbcache.go (remotesrv.DBCache) remoteapi/ # server.go (remotesrv assembly), interceptors.go, credsvc.go (WhoAmI grpc server) browse/ # open.go, log.go, tables.go, diff.go — read-only doltdb over bare stores -web/ # router.go, handlers_*.go, chrome.go, templates.go, templates/*.html +web/ # router.go, handlers_*.go, templates.go, templates/*.html + # (nav/brand/login chrome comes from sr-ht-ecore/chrome) ``` Dependency direction: `core` ← all; `db`/`authn`/`storage`/`browse` mutually @@ -179,16 +180,20 @@ (dolt-key association page — reads `#` URL fragment via a few lines of inline JS to prefill the form, since `dolt login` appends the pubkey as a fragment); `GET /static/*`. -**Chrome** (web/chrome.go + templates): Go `html/template` port of core.sr.ht -`layout.html`/`nav.html` — `