Trim comments to the non-obvious why
Drop narration, history and restated-code comments across the repo, keep short ones for security boundaries, upstream quirks and ordering constraints, and record the convention in CLAUDE.md. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -1,13 +1,5 @@
|
||||
# Boxes on a canvas page: the landing page (page "index") or an
|
||||
# admin-created Page (page = its slug; the home page /stp is the Page "stp").
|
||||
# Anyone may read a page's layout — it is the page — but only an admin may
|
||||
# change it, and adminOnly boxes are only ever returned to an admin. x/y/w/h
|
||||
# are px on a fixed 1400px-wide design canvas; see models.Box.
|
||||
#
|
||||
# kind is "widget" (a built-in Vue component named by `widget`) or "html"
|
||||
# (`html` rendered in a sandboxed iframe on the front end). An html box with a
|
||||
# componentId is linked to that Component: its html is the component's, and
|
||||
# updateBox refuses to change it (component.graphql).
|
||||
# Boxes on a page key. Public reads, admin writes; adminOnly boxes go to
|
||||
# admins only. kind is "widget" or "html" (sandboxed iframe).
|
||||
|
||||
type Box {
|
||||
id: ID!
|
||||
|
||||
Reference in New Issue
Block a user