Refactor architecture into eight components and consolidate reliability work
Extract Grammaratur, Dregarnuhr, Geduldh, Mestionora, Ordoschnellic, Schutzaria, Kunstzeal and Seheweit behind compatible application contracts. Include accumulated editor resilience, navigation and theme UX, remote CLI, storage/schema and DR groundwork, tests and design/operations documentation. Verified: uncached full Go suite; go vet ./...; race tests for all eight components; 11 targeted Chromium tests; Node suites; 19 Python CLI tests; reproducible editor build. No push, release tag or deployment in this checkpoint.
This commit is contained in:
1 parent
9dd425f765
commit
d5d21b7841
302 files changed
+20037
-3492
No files matched your search
@@ -23,25 +23,7 @@ type BrowserNavigationLink struct {
|
||||
}
|
||||
|
||||
func (s *Store) EnsureBrowserNavigationSchema() error {
|
||||
_, err := s.DB.Exec(`CREATE TABLE IF NOT EXISTS browser_navigation_links (
|
||||
uuid TEXT PRIMARY KEY,
|
||||
domain_uuid TEXT NOT NULL,
|
||||
principal_uuid TEXT NOT NULL,
|
||||
label TEXT NOT NULL,
|
||||
path TEXT NOT NULL,
|
||||
is_directory INTEGER NOT NULL DEFAULT 0,
|
||||
position INTEGER NOT NULL DEFAULT 0,
|
||||
created_at_ms INTEGER NOT NULL,
|
||||
updated_at_ms INTEGER NOT NULL,
|
||||
UNIQUE(domain_uuid, principal_uuid, path)
|
||||
)`)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
_, _ = s.DB.Exec(`ALTER TABLE browser_navigation_links ADD COLUMN is_directory INTEGER NOT NULL DEFAULT 0`)
|
||||
_, err = s.DB.Exec(`CREATE INDEX IF NOT EXISTS idx_browser_navigation_owner
|
||||
ON browser_navigation_links(domain_uuid, principal_uuid, position, created_at_ms)`)
|
||||
return err
|
||||
return s.ensureSchemaComponent("browser-navigation")
|
||||
}
|
||||
|
||||
func (s *Store) ListBrowserNavigationLinks(domainUUID, principalUUID string) ([]BrowserNavigationLink, error) {
|
||||
|
||||
Reference in new issue
Block a user