This folder contains the JavaScript/FontEnd side of things
There are 3 entry points, which all server different purposes. Depending on what is needed the one of these 3 files will be copied to the project root.
index.demo.html
contains the html for the browser demo.index.dev.html
contains the html for development (no ContentSecurePolicy + React Devtools script tag)index.prod.html
contains the html for Tauri.
base.css
contains the css variable definitions and styling for html tagsApp.css
contains the base layout of the app
-
comps
Contains reusable components All comps are bundled into a single fragment inComps.ts
. It is also the target for@comps
imports, which is defined in the Vite & TypeScript configs -
pages
Contains all pages All pages reachable from the Side bar -
util
Utility functions Sorted by Page, Comp, or whatever. Rough sorting should suffice, since the functions will be used across the whole project. -
worker
The WebWorkersexport.worker.ts
Compiles the data from indexedDB and sends it to the main thread. Then from there a write-stream (tauri-plugin/fs) saves the data to the systems download folderimport.worker.ts
Converts the assigned columns in the Upload-Page into rows and inserts them into a database and oStoretable.worker.ts
Returns the requested rows to the table, for display
-
types
All TypeScript type definitions, sorted likefactor/src/