Add pending apps and frontend components
- apps/captain-mobile: Mobile API service - apps/flow-ui: Flow UI application - apps/mindlink: Mindlink application - apps/storage: Storage API and workers - apps/tzzr-cli: TZZR CLI tool - deck-frontend/backups: Historical TypeScript versions - hst-frontend: Standalone HST frontend Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
40
hst-frontend/js/state.js
Normal file
40
hst-frontend/js/state.js
Normal file
@@ -0,0 +1,40 @@
|
||||
// === APPLICATION STATE ===
|
||||
|
||||
const state = {
|
||||
// Current selections
|
||||
base: "hst",
|
||||
lang: "es",
|
||||
view: "grid",
|
||||
search: "",
|
||||
group: "all",
|
||||
library: "all",
|
||||
|
||||
// Library filter
|
||||
libraryMembers: new Set(),
|
||||
|
||||
// Selection mode
|
||||
selectionMode: false,
|
||||
selected: new Set(),
|
||||
selectedTag: null,
|
||||
|
||||
// Data
|
||||
tags: [],
|
||||
groups: [],
|
||||
libraries: [],
|
||||
graphEdges: [],
|
||||
treeEdges: [],
|
||||
|
||||
// Graph filters
|
||||
graphFilters: {
|
||||
cats: new Set(["hst"]),
|
||||
edges: new Set(Object.keys(EDGE_COLORS))
|
||||
},
|
||||
|
||||
// Graph settings
|
||||
graphSettings: {
|
||||
nodeSize: 20,
|
||||
linkDist: 80,
|
||||
showImg: true,
|
||||
showLbl: true
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user