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

BC-4783 Migrate GET endpoints of school API #2847

Merged
merged 38 commits into from
Dec 19, 2023
Merged

Conversation

dyedwiper
Copy link
Contributor

@dyedwiper dyedwiper commented Oct 6, 2023

Short Description

Links to Ticket and related Pull-Requests

https://ticketsystem.dbildungscloud.de/browse/BC-4783

hpi-schul-cloud/schulcloud-server#4440
hpi-schul-cloud/schulcloud-client#3315

Changes

Data-security

Deployment

New Repos, NPM packages or vendor scripts

Screenshots of UI changes

Checklist before merging

  • QA: In addition to review, the code has been manually tested (if manual testing is possible)
  • PO: Any deviation from requirements was agreed with Product-Owner / ticket author / support-team
  • DEV: Every new component is implemented having accessibility in mind (e.g. aria-label, role property)

Notice: Please keep this Pull-Request as a Draft (or add WIP label), until it is ready to be reviewed

uidp
uidp previously approved these changes Nov 30, 2023
src/store/schools.ts Show resolved Hide resolved
src/store/schools.ts Outdated Show resolved Hide resolved
src/store/schools.ts Outdated Show resolved Hide resolved
@dyedwiper dyedwiper requested a review from uidp December 13, 2023 09:42
uidp
uidp previously approved these changes Dec 13, 2023
this.setSystems(responses.map((response) => response.data));
this.setLoading(false);
} catch (error: unknown) {
if (error instanceof AxiosError) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sollte der Nutzer nicht auch im else Fall über ein Error informiert werden? Nur loading auf false setzten klinkt nicht richtig.
Es sollte sich ja nur das Error Format unterschieden.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ich find das auch komisch, aber das seh ich nicht als Teil dieses PRs, das zu ändern.

src/store/schools.unit.ts Outdated Show resolved Hide resolved
src/store/schools.unit.ts Show resolved Hide resolved
src/store/schools.ts Outdated Show resolved Hide resolved
@CeEv CeEv self-requested a review December 14, 2023 09:28
CeEv
CeEv previously approved these changes Dec 14, 2023
Copy link

@bergatco bergatco enabled auto-merge (squash) December 19, 2023 07:38
@bergatco bergatco merged commit b110b2b into main Dec 19, 2023
43 of 44 checks passed
@bergatco bergatco deleted the bc-4783-migrate-school-get branch December 19, 2023 08:54
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