-
Notifications
You must be signed in to change notification settings - Fork 2
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
Deploy admin web on production #639
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This reverts commit bcb9dda.
Co-authored-by: Nut Pinyo <[email protected]>
[FEATURES] Search Enhance
* ci: fix lint * chore: add changeset
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat(codegen): add getPendingReviews query * feat(admin-web): setup apollo and add getPendingReviews api * feat: add override query in frontend * refactor: migrate apollo provider to AppProvider * Configure pre-release mode * change sync workflow * Version Packages (#512) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * install changeset in workflow * fix sync beta workflow * add commit identity * Enter pre-release mode * fix transform packages * feat: add override query in frontend * fix: edit import path * feat: add HtmlSanitizer and Navbar * feat: add approvedReviews and GenEd Page * ci: update pnpm-lock * move transpile packages out of experimental * refactor: migrate appProvider to context folder * refactor: create pendingReviews page and remove api page * ci(gitignore): remove .env from gitignore * refactor: create genEd module * refactor: migrate pendingReviews to its own module * refactor: migrate approvedReviews to its own module * refactor: remove unused codes Including 1. Logging 2. proxy in httpClient 3. Admin access token leaked in apollo * fix(homePage): move router.push inside useEffect * refactor(pendingReviews): remove unused codes * refactor(apollo): remove course search cache from apollo client * ci(env): remove unused variables * feat: add MUI and create pendingReviews design * feat(pendingReviews): add skeleton * install mui * feat: add themeProvider * feat: add Poppin and Prompts fonts * feat: recreate Navbar with MUI's appbar * feat: add styling to Navbar(Appbar) * docs: add required environment variables to readme * feat: Demo genEd table * setup review with graphql * feat(admin-api): add override * feat(admin-api): add get-all-reviews query * refactor(admin-api): remove unused codes and comments * add graphql asset * add enum graphql * remove unused file * remove unused env from template and config * fix lockfile broken * add dashboard url to env * fix env and config * match dependencies version to api's * feat(sidebar): add sidebar * feat(sidebar): decorate sidebar * feat: add fonts * feat: add theme palette * feat: add highlight link when selected * fix(index): remove import .css * feat: pendingReview header * feat: upper Review page * feat: table header and card layout wip * feat(pendingReviews): add html sanitize to content * fix: padding * feat: WIP pendingReview * setup auth to request id_token * feat: add Thai font * feat: add mui icon * feat: polish pendingReview page * add config variable * feat: add login page and generate token page * add template env, validate token * feat(auth): add protectedRoutes * format: apply format * fix: update design to final WIP * format: format code * fix: remove .env files from remote and add .env.example * refactor: migrate code to its own module * ci: config tsconfig.json * feat(GenEd): decorate gened page * setup review with graphql * feat(admin-api): add override * feat(admin-api): add get-all-reviews query * refactor(admin-api): remove unused codes and comments * add enum graphql * remove unused env from template and config * fix lockfile broken * fix env and config * match dependencies version to api's * setup auth to request id_token * add config variable * add template env, validate token * fix: tsconfig * refactor: change 'Topbar' component name to 'Sidebar' * feat(gened): add topbar to gened page * feat(sidebar): add cugetreg logo * add jwt module * feat(pending reviews): add topbar * feat: cancel button * fix(topbar): center rightside buttons vertically * feat(pending reviews): add API for approve and reject reviews * feat: improve textfield * feat: error handling pendingReview * feat(gened): add delete button * feat(gened): add delete gened api * fix: change dependecy installation scope * feat(gened): add input for new gened course * change review and override schema * add idToken validation, me and remove unused code * feat(gened): add refresh button * feat(gened): add react toast for gened page * refactor: migrate toast config to /config * fix(sidebar): fix highlight current page bug * fix(gened): table head is now sticky * fix: make the program compilable * fix: fix sending code * feat: handle validating id_token and generate access_token * feat: handle sending cookie both frontend and backend * feat: add auth guard * feat: lazy query review * feat: add global auth guard * fix: first fetch * fix: fix circular structure by removing passthrough in res * feat(frontend): add protected routes * fix(frontend/generateToken): change from fetch to axios and add spinner * refactor: remove unused code in backend auth * feat: add logout feature * feat(frontend): add authApi * edit readme * fix(backend-api): change cookie expiry date to 30 days * fix(pendingReviews): fix select form type * refactor: remove unused code * feat: filter wip * feat: wip filter * regenerate lockfile * fix admin-web * migrate changes from api to admin-api * fix(admin-api): setReviewStatus return type * fix(admin-api): authentication for graphql * feat(frontend): add login page * feat(frontend): add user feedback approve review * fix(frontend): redirect if login fail * refactor(frontend): remove year and semester * feat(api): add filter to overrides * ci(admin-api): add Dockerfile * Revert "ci(admin-api): add Dockerfile" This reverts commit 1a3e4df. * ci(admin-web): add Dockerfile * ci(admin-web): edit Dockerfile --------- Co-authored-by: Chanatip Pattanapen <[email protected]> Co-authored-by: bombnp <[email protected]> Co-authored-by: Nut Pinyo <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: nac <[email protected]> Co-authored-by: Saenyakorn Siangsanoh <[email protected]> Co-authored-by: Nutthapat Pongtanyavichai <[email protected]>
* feat(web): not reg chula warning * chore: update changeset msg
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: broken build in previous release * fix: format
* use cas url instead * chore: add changeset --------- Co-authored-by: Nutthapat Pongtanyavichai <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat(codegen): add getPendingReviews query * feat(admin-web): setup apollo and add getPendingReviews api * feat: add override query in frontend * refactor: migrate apollo provider to AppProvider * Configure pre-release mode * change sync workflow * Version Packages (#512) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * install changeset in workflow * fix sync beta workflow * add commit identity * Enter pre-release mode * fix transform packages * feat: add override query in frontend * fix: edit import path * feat: add HtmlSanitizer and Navbar * feat: add approvedReviews and GenEd Page * ci: update pnpm-lock * move transpile packages out of experimental * refactor: migrate appProvider to context folder * refactor: create pendingReviews page and remove api page * ci(gitignore): remove .env from gitignore * refactor: create genEd module * refactor: migrate pendingReviews to its own module * refactor: migrate approvedReviews to its own module * refactor: remove unused codes Including 1. Logging 2. proxy in httpClient 3. Admin access token leaked in apollo * fix(homePage): move router.push inside useEffect * refactor(pendingReviews): remove unused codes * refactor(apollo): remove course search cache from apollo client * ci(env): remove unused variables * feat: add MUI and create pendingReviews design * feat(pendingReviews): add skeleton * install mui * feat: add themeProvider * feat: add Poppin and Prompts fonts * feat: recreate Navbar with MUI's appbar * feat: add styling to Navbar(Appbar) * docs: add required environment variables to readme * feat: Demo genEd table * setup review with graphql * feat(admin-api): add override * feat(admin-api): add get-all-reviews query * refactor(admin-api): remove unused codes and comments * add graphql asset * add enum graphql * remove unused file * remove unused env from template and config * fix lockfile broken * add dashboard url to env * fix env and config * match dependencies version to api's * feat(sidebar): add sidebar * feat(sidebar): decorate sidebar * feat: add fonts * feat: add theme palette * feat: add highlight link when selected * fix(index): remove import .css * feat: pendingReview header * feat: upper Review page * feat: table header and card layout wip * feat(pendingReviews): add html sanitize to content * fix: padding * feat: WIP pendingReview * setup auth to request id_token * feat: add Thai font * feat: add mui icon * feat: polish pendingReview page * add config variable * feat: add login page and generate token page * add template env, validate token * feat(auth): add protectedRoutes * format: apply format * fix: update design to final WIP * format: format code * fix: remove .env files from remote and add .env.example * refactor: migrate code to its own module * ci: config tsconfig.json * feat(GenEd): decorate gened page * setup review with graphql * feat(admin-api): add override * feat(admin-api): add get-all-reviews query * refactor(admin-api): remove unused codes and comments * add enum graphql * remove unused env from template and config * fix lockfile broken * fix env and config * match dependencies version to api's * setup auth to request id_token * add config variable * add template env, validate token * fix: tsconfig * refactor: change 'Topbar' component name to 'Sidebar' * feat(gened): add topbar to gened page * feat(sidebar): add cugetreg logo * add jwt module * feat(pending reviews): add topbar * feat: cancel button * fix(topbar): center rightside buttons vertically * feat(pending reviews): add API for approve and reject reviews * feat: improve textfield * feat: error handling pendingReview * feat(gened): add delete button * feat(gened): add delete gened api * fix: change dependecy installation scope * feat(gened): add input for new gened course * change review and override schema * add idToken validation, me and remove unused code * feat(gened): add refresh button * feat(gened): add react toast for gened page * refactor: migrate toast config to /config * fix(sidebar): fix highlight current page bug * fix(gened): table head is now sticky * fix: make the program compilable * fix: fix sending code * feat: handle validating id_token and generate access_token * feat: handle sending cookie both frontend and backend * feat: add auth guard * feat: lazy query review * feat: add global auth guard * fix: first fetch * fix: fix circular structure by removing passthrough in res * feat(frontend): add protected routes * fix(frontend/generateToken): change from fetch to axios and add spinner * refactor: remove unused code in backend auth * feat: add logout feature * feat(frontend): add authApi * edit readme * fix(backend-api): change cookie expiry date to 30 days * fix(pendingReviews): fix select form type * refactor: remove unused code * feat: filter wip * feat: wip filter * regenerate lockfile * fix admin-web * migrate changes from api to admin-api * fix(admin-api): setReviewStatus return type * fix(admin-api): authentication for graphql * feat(frontend): add login page * feat(frontend): add user feedback approve review * fix(frontend): redirect if login fail * refactor(frontend): remove year and semester * feat(api): add filter to overrides * ci(admin-api): add Dockerfile * Revert "ci(admin-api): add Dockerfile" This reverts commit 1a3e4df. * ci(admin-web): add Dockerfile * ci(admin-web): edit Dockerfile * fix(admin-api): fix dashBoardUrl typo * fix: add skip auth to health check path * Revert "fix: add skip auth to health check path" This reverts commit babd8e3. * fix: add skip auth in health check * ci: add changeset --------- Co-authored-by: Chanatip Pattanapen <[email protected]> Co-authored-by: bombnp <[email protected]> Co-authored-by: Nut Pinyo <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: nac <[email protected]> Co-authored-by: Saenyakorn Siangsanoh <[email protected]> Co-authored-by: Nutthapat Pongtanyavichai <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat(codegen): add getPendingReviews query * feat(admin-web): setup apollo and add getPendingReviews api * feat: add override query in frontend * refactor: migrate apollo provider to AppProvider * Configure pre-release mode * change sync workflow * Version Packages (#512) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * install changeset in workflow * fix sync beta workflow * add commit identity * Enter pre-release mode * fix transform packages * feat: add override query in frontend * fix: edit import path * feat: add HtmlSanitizer and Navbar * feat: add approvedReviews and GenEd Page * ci: update pnpm-lock * move transpile packages out of experimental * refactor: migrate appProvider to context folder * refactor: create pendingReviews page and remove api page * ci(gitignore): remove .env from gitignore * refactor: create genEd module * refactor: migrate pendingReviews to its own module * refactor: migrate approvedReviews to its own module * refactor: remove unused codes Including 1. Logging 2. proxy in httpClient 3. Admin access token leaked in apollo * fix(homePage): move router.push inside useEffect * refactor(pendingReviews): remove unused codes * refactor(apollo): remove course search cache from apollo client * ci(env): remove unused variables * feat: add MUI and create pendingReviews design * feat(pendingReviews): add skeleton * install mui * feat: add themeProvider * feat: add Poppin and Prompts fonts * feat: recreate Navbar with MUI's appbar * feat: add styling to Navbar(Appbar) * docs: add required environment variables to readme * feat: Demo genEd table * setup review with graphql * feat(admin-api): add override * feat(admin-api): add get-all-reviews query * refactor(admin-api): remove unused codes and comments * add graphql asset * add enum graphql * remove unused file * remove unused env from template and config * fix lockfile broken * add dashboard url to env * fix env and config * match dependencies version to api's * feat(sidebar): add sidebar * feat(sidebar): decorate sidebar * feat: add fonts * feat: add theme palette * feat: add highlight link when selected * fix(index): remove import .css * feat: pendingReview header * feat: upper Review page * feat: table header and card layout wip * feat(pendingReviews): add html sanitize to content * fix: padding * feat: WIP pendingReview * setup auth to request id_token * feat: add Thai font * feat: add mui icon * feat: polish pendingReview page * add config variable * feat: add login page and generate token page * add template env, validate token * feat(auth): add protectedRoutes * format: apply format * fix: update design to final WIP * format: format code * fix: remove .env files from remote and add .env.example * refactor: migrate code to its own module * ci: config tsconfig.json * feat(GenEd): decorate gened page * setup review with graphql * feat(admin-api): add override * feat(admin-api): add get-all-reviews query * refactor(admin-api): remove unused codes and comments * add enum graphql * remove unused env from template and config * fix lockfile broken * fix env and config * match dependencies version to api's * setup auth to request id_token * add config variable * add template env, validate token * fix: tsconfig * refactor: change 'Topbar' component name to 'Sidebar' * feat(gened): add topbar to gened page * feat(sidebar): add cugetreg logo * add jwt module * feat(pending reviews): add topbar * feat: cancel button * fix(topbar): center rightside buttons vertically * feat(pending reviews): add API for approve and reject reviews * feat: improve textfield * feat: error handling pendingReview * feat(gened): add delete button * feat(gened): add delete gened api * fix: change dependecy installation scope * feat(gened): add input for new gened course * change review and override schema * add idToken validation, me and remove unused code * feat(gened): add refresh button * feat(gened): add react toast for gened page * refactor: migrate toast config to /config * fix(sidebar): fix highlight current page bug * fix(gened): table head is now sticky * fix: make the program compilable * fix: fix sending code * feat: handle validating id_token and generate access_token * feat: handle sending cookie both frontend and backend * feat: add auth guard * feat: lazy query review * feat: add global auth guard * fix: first fetch * fix: fix circular structure by removing passthrough in res * feat(frontend): add protected routes * fix(frontend/generateToken): change from fetch to axios and add spinner * refactor: remove unused code in backend auth * feat: add logout feature * feat(frontend): add authApi * edit readme * fix(backend-api): change cookie expiry date to 30 days * fix(pendingReviews): fix select form type * refactor: remove unused code * feat: filter wip * feat: wip filter * regenerate lockfile * fix admin-web * migrate changes from api to admin-api * fix(admin-api): setReviewStatus return type * fix(admin-api): authentication for graphql * feat(frontend): add login page * feat(frontend): add user feedback approve review * fix(frontend): redirect if login fail * refactor(frontend): remove year and semester * feat(api): add filter to overrides * ci(admin-api): add Dockerfile * Revert "ci(admin-api): add Dockerfile" This reverts commit 1a3e4df. * ci(admin-web): add Dockerfile * ci(admin-web): edit Dockerfile * fix(admin-api): fix dashBoardUrl typo * fix: add skip auth to health check path * Revert "fix: add skip auth to health check path" This reverts commit babd8e3. * fix: add skip auth in health check * ci: add changeset * ci(admin-web): edit .env * ci(admin-web): edit .env * ci(admin-web): edit .env * ci(admin-web): edit .env * chore: add changeset --------- Co-authored-by: Chanatip Pattanapen <[email protected]> Co-authored-by: bombnp <[email protected]> Co-authored-by: Nut Pinyo <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: nac <[email protected]> Co-authored-by: Saenyakorn Siangsanoh <[email protected]> Co-authored-by: Nutthapat Pongtanyavichai <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
🦋 Changeset detectedLatest commit: 00cd278 The changes in this PR will be included in the next version bump. This PR includes changesets to release 9 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
leomotors
approved these changes
Sep 30, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why did you create this PR
Demo
https://dev.cugetreg.com
Checklist