Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Staging to Prod changes #25

Open
wants to merge 12 commits into
base: production
Choose a base branch
from
Open

Staging to Prod changes #25

wants to merge 12 commits into from

Conversation

amaguire-undp
Copy link
Collaborator

No description provided.

mykolaskrynnyk and others added 12 commits October 16, 2024 10:36
* 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
* 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

* Fix(types): added created_for in signal create/update types

* Fix(api): export endpoints response type set to blob for incoming binary data

* Fix(entryForm): added missing types in update and create

* Fix(entryFormEls): added missing params
* Fix(SignalEntryForm): added missing attributes for updating signal

* Fix(api_config): automatic localStorage clearing if interceptor fails to refresh token

* Refactor(errors): error handling message restructured to fit new response
* Docs: add a staging link and deployment badge to `README.md`

* Update staging deployment and add add to pdf feature

* Fix errors

* Update azure-static-web-apps-thankful-forest-05a90a303.yml

* Remove console.log

* Feat/api changes (#17)

* 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

* Feat/api changes (#18)

* 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

* Fix(types): added created_for in signal create/update types

* Fix(api): export endpoints response type set to blob for incoming binary data

* Fix(entryForm): added missing types in update and create

* Fix(entryFormEls): added missing params

* Fix/api changes: refactored error handling and minor fixes (#19)

* Fix(SignalEntryForm): added missing attributes for updating signal

* Fix(api_config): automatic localStorage clearing if interceptor fails to refresh token

* Refactor(errors): error handling message restructured to fit new response

* Update staging to resolve the naming issue and fetching the token if expired

---------

Co-authored-by: Mykola Skrynnyk <[email protected]>
Co-authored-by: Mustafa Saifee <[email protected]>
Co-authored-by: Gedion Teshome <[email protected]>
* Docs: add a staging link and deployment badge to `README.md`

* Update staging deployment and add add to pdf feature

* Fix errors

* Update azure-static-web-apps-thankful-forest-05a90a303.yml

* Remove console.log

* Feat/api changes (#17)

* 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

* Feat/api changes (#18)

* 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

* Fix(types): added created_for in signal create/update types

* Fix(api): export endpoints response type set to blob for incoming binary data

* Fix(entryForm): added missing types in update and create

* Fix(entryFormEls): added missing params

* Fix/api changes: refactored error handling and minor fixes (#19)

* Fix(SignalEntryForm): added missing attributes for updating signal

* Fix(api_config): automatic localStorage clearing if interceptor fails to refresh token

* Refactor(errors): error handling message restructured to fit new response

* Update staging to resolve the naming issue and fetching the token if expired

* initial component w. testing

* Create test-validation.yml

* Auto-completion and pexel image generation integrated to signal entry form

* Delete test-validation.yml

---------

Co-authored-by: Mykola Skrynnyk <[email protected]>
Co-authored-by: Mustafa Saifee <[email protected]>
Co-authored-by: Gedion Teshome <[email protected]>
Co-authored-by: amaguire-undp <[email protected]>
Co-authored-by: dayandias20 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants