-
Notifications
You must be signed in to change notification settings - Fork 0
Refactor Backend API Interface #6
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
Open
A-lexisL
wants to merge
19
commits into
dev
Choose a base branch
from
fix/fetch
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
853b69a
chore(env): update env example
4rthurCai dfd9a95
chore(package): update package json
4rthurCai f95b6da
fix: update vue scripts to adapt backend and fix requests
4rthurCai 58f9f6b
fix: update jsons for api usage
4rthurCai c5715e2
fix: calculate course list total_pages, rename filter param num_revie…
A-lexisL b05eb18
fix: change fetch to apiFetch for auth apis
A-lexisL 5b355d5
refactor: move auth api wrappers from utils/ to composables/useAuth.js
A-lexisL 5646dd6
refactor: mv api call of landing to src/composables/useLanding.js
A-lexisL 3bddc17
refactor: mv api call of coursedetail to src/composables/useCourses.js
A-lexisL 5e22464
refactor: mv api call of course review search to src/composables/useR…
A-lexisL 774f01a
Merge remote-tracking branch 'origin/dev' into fix/fetch
A-lexisL 9fea7c1
fix: correctly handles POST review response(temp solution)
A-lexisL 4c5142d
chore: rm unused dev dep
A-lexisL 86eb459
fix: make copilot happy
A-lexisL a493f33
fix: add consistent pl-3
A-lexisL a313364
fix: frontend handles CourseDetail updates instead of refetching backend
A-lexisL 9b97ac5
fix: rm duplicate fetchReview on mount
A-lexisL 50038f0
refactor: rm custom event, make isAuthenticated global status(rw in u…
A-lexisL 74d8e0b
Merge branch 'dev' into fix/fetch
A-lexisL File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,5 @@ | ||
| # the env variable used for vite-processed frontend should begin with `VITE_` | ||
| VITE_TURNSTILE_SITE_KEY=0x4AAAAAABz2ci0ZN9OaO-dg | ||
| VITE_AUTH_OTP_TIMEOUT=120 | ||
| VITE_AUTH_TEMP_TOKEN_TIMEOUT=600 | ||
| VITE_AUTH_TEMP_TOKEN_TIMEOUT=600 | ||
| VITE_API_BASE_URL= |
This file contains hidden or 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 file contains hidden or 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 file contains hidden or 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 file contains hidden or 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 file contains hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.