Files
tubearchivist/frontend
Simon c9607343e6 Feat global state (#861)
* add zustand, add auth store

* add user config store, isAdmin from store

* move ColourVariants, fix importColours

* get userConfig from store

* fix name conflict

* home filter bar from config store

* use user store for channel list

* use userConfig store for channel pages

* use userConfig for playlist pages

* fix channel video type navigation

* use userConfig update on downloads page

* fix view style in search

* handle initial user config, take 2

* modify userSettings in global state
2025-01-06 19:44:05 +07:00
..
2025-01-06 19:44:05 +07:00
2024-12-22 21:59:30 +07:00
2025-01-06 19:44:05 +07:00
2025-01-06 19:44:05 +07:00
2024-12-22 21:59:30 +07:00

Tubearchivist Frontend React

Folder structure

src ┐
    ├───api
    │   ├───action    // Functions that do write (POST,DELETE) calls to the backend
    │   └───loader    // Functions that do read-only (GET,HEAD) calls to the backend
    ├───components    // React components to be used in pages
    ├───configuration // Application configuration.
    │   ├───colours   // Css loader for themes
    │   ├───constants // global constants that have no good place
    │   └───routes    // Routes definitions used in Links and react-router-dom configuration
    ├───functions     // Useful functions
    └───pages         // React components that define a page/route