How blue-sky-infomation-factory/json-indexed-editor works
This is a browser-based JSON indexed editor. The user opens a JSON file, the app loads it into an editable tree preview, and indexer paths and variables select nodes for indexed editing. Users can save changes and manage reusable indexer schemes. The graph also includes the documented offline-cache capability. Source excerpts show the main orchestration and several key module calls; relationships for unsampled details are omitted rather than inferred.
Main entry points: main.mjs App orchestration · tree.mjs JSON tree and preview · indexed_edit.mjs Indexed editor · welcome.mjs Welcome screen
Components 13
File workflow
- App orchestration
main.mjs - Welcome screen
components/welcome.mjs - JSON tree and preview
tree.mjs
Indexing and schemes
- Indexed editor
components/indexed_edit.mjs - Path resolution
indexor.mjs - Scheme management
components/indexor_management.mjs
Application interface
- Tabs and preview controls
ui.mjs - Application menus
menu.mjs - Help and cache setup
helper.mjs
Persistence and offline
- Browser data stores
data.mjs - Offline service worker
service_worker.mjs
Other components
- User
- Local JSON file
Connections 17
- User → Welcome screen: opens app
components/welcome.mjs - Welcome screen → App orchestration: opens file
components/welcome.mjs - User → App orchestration: chooses file
main.mjs - App orchestration → JSON tree and preview: loads data
main.mjs - App orchestration → Indexed editor: opens editor
main.mjs - App orchestration → Welcome screen: shows screen
main.mjs - App orchestration → Scheme management: opens schemes
main.mjs - JSON tree and preview → Indexed editor: refreshes indexers
tree.mjs - Indexed editor → Path resolution: uses path resolver
components/indexed_edit.mjs - Indexed editor → Scheme management: reads and updates scheme
components/indexed_edit.mjs - Scheme management → Browser data stores: persists schemes
components/indexor_management.mjs - Tabs and preview controls → Browser data stores: persists UI settings
ui.mjs - App orchestration → Application menus: renders menus
main.mjs - App orchestration → JSON tree and preview: saves or closes file
main.mjs - JSON tree and preview → Local JSON file: writes JSON
tree.mjs - User → Help and cache setup: requests offline cache
helper.mjs - Help and cache setup → Offline service worker: registers worker
helper.mjs