Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Feat(util): handler now contains singing out and refreshing mechanisms * Feat(api): centralized all api calls to /api dir * Feat(lib): added qs library for query string configuration * Feat(types): added required types for new api calls * Feat(App): replaced and refactored api calls to centralized functions * Chore(Constants): cleaned up constants to use vite setup * Refactor(MainBody): refactored api calls to centralized functions * Refactor(HomePage): refactored api calls and choice type definition * Refactor(AdminPanel): replaced api calls with centralized functions * Refactor(MyDrafts): replaced api calls with centralized functions * Fix(SignalCardPage): added error handling * Refactor(TrendEntryFormEl): replaced api calls to centralized functions and updated choice types * Refactor(SignalEntryFormEl): replaced api calls with centralized functions and updated choice types * Refactor(components): updated choices objects according to new type definition * Refactor(AddSingalsModal): replaced api calls with centralized calls and updated choice types * Refactor(AddTrendsModal): replaced api calls to centralized function calls and updated choice types * Refactor(SingOutButton): replaced api call to centralized function calls and updated choice types * Refactor(SignUpButton): replaced api calls to centralized function calls * Refactor(AllSignals): replaced api calls to centralized function calls * Refactor(EditSignal): replaced api call to centralized function call * Refactor(SignalDetail): replaced api calls to centralized function calls and updated choice types * Refactor(AllTrends): replaced api calls to centralized function calls * Refactor(EditTrend): replaced api call to centralized function call * Refactor(TrendDetail): replaced api calls to centralized function calls and updated choice types * Feat(asset): added hero image for easier relative import * Refactor(auth): cleaned up authentication flow via use of interceptor * Fix(Types): added missing attributes to types * Fix(MainBody): added missing attributes to api function call * Fix(PdfPageDesign): improved error handling for edge cases * Fix(EntryForms): added required parameters to api function calls * Fix(EditSignal/Trend): read using read endpoints instead of search endpoints * Fix(AllSignals/Trends): added proper status to filter for search * Refactor(minor): moved platform config to public folder * Fix(constants): refactored constants for consistency * Refactor(AuthConfig): renamed and refactored for consistency and readability * Fix(types): added created by attribute to fix updating params * Fix(api_config): increased timeout for image uploads and refactored auth process * Feat(App): logs out automatically if token is expired * Fix(main): minor import fix * Fix(addModals): added essential params * Fix(minor): import naming change * Fix(entryFormEl): added proper params for update and image display * Refactor(ci/cd): removed unused env variables and added new conditional variables for different branches * Refactor(CI/CD): improved conditional env variables
- Loading branch information