feat: enhance authentication error handling and schema fetching #13

Merged
argoyle merged 1 commits from enhance-authentication-error-handling into main 2025-11-23 13:09:19 +00:00
argoyle commented 2025-11-23 13:01:44 +00:00 (Migrated from gitlab.com)

Handle authentication errors related to consent and login in the Apollo
client by redirecting users to the Auth0 login page as necessary. Update
the schema-fetching logic to support dynamic references from the URL,
removing mock data and improving overall data integrity in the
application.
Ensure proper loading states during the fetching process.

Handle authentication errors related to consent and login in the Apollo client by redirecting users to the Auth0 login page as necessary. Update the schema-fetching logic to support dynamic references from the URL, removing mock data and improving overall data integrity in the application. Ensure proper loading states during the fetching process.
argoyle (Migrated from gitlab.com) scheduled this pull request to auto merge when all checks succeed 2025-11-23 13:01:51 +00:00
argoyle commented 2025-11-23 13:06:55 +00:00 (Migrated from gitlab.com)

Codecov Report

Patch coverage is 0% with 25 lines in your changes missing coverage. Please review.
Project coverage is 4.04%. Comparing base (de1f4b6) to head (5c17c79).

Files with missing lines Patch % Lines
app/pages/schemas/[id].vue 0.00% 14 Missing ⚠️
app/plugins/apollo.client.ts 0.00% 10 Missing ⚠️
app/pages/schemas/index.vue 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##            main     #12      +/-   ##
========================================
- Coverage   4.15%   4.04%   -0.11%     
========================================
  Files         11      11              
  Lines        650     667      +17     
  Branches     112     119       +7     
========================================
  Hits          27      27              
- Misses       623     640      +17     

View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
## [Codecov](https://app.codecov.io/gl/unboundsoftware/schemas-app/pull/12?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=gitlab&utm_content=comment&utm_campaign=pr+comments&utm_term=unboundsoftware) Report :x: Patch coverage is `0%` with `25 lines` in your changes missing coverage. Please review. :white_check_mark: Project coverage is 4.04%. Comparing base ([`de1f4b6`](https://app.codecov.io/gl/unboundsoftware/schemas-app/commit/de1f4b6e86bb226be3039b3728c0df5ddad3c064?dropdown=coverage&el=desc&utm_medium=referral&utm_source=gitlab&utm_content=comment&utm_campaign=pr+comments&utm_term=unboundsoftware)) to head ([`5c17c79`](https://app.codecov.io/gl/unboundsoftware/schemas-app/commit/5c17c798c48464f415bcf1e782b079a033f9aa62?dropdown=coverage&el=desc&utm_medium=referral&utm_source=gitlab&utm_content=comment&utm_campaign=pr+comments&utm_term=unboundsoftware)). | [Files with missing lines](https://app.codecov.io/gl/unboundsoftware/schemas-app/pull/12?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=gitlab&utm_content=comment&utm_campaign=pr+comments&utm_term=unboundsoftware) | Patch % | Lines | |---|---|---| | [app/pages/schemas/[id].vue](https://app.codecov.io/gl/unboundsoftware/schemas-app/pull/12?src=pr&el=tree&filepath=app%2Fpages%2Fschemas%2F%5Bid%5D.vue&utm_medium=referral&utm_source=gitlab&utm_content=comment&utm_campaign=pr+comments&utm_term=unboundsoftware#diff-YXBwL3BhZ2VzL3NjaGVtYXMvW2lkXS52dWU=) | 0.00% | [14 Missing :warning: ](https://app.codecov.io/gl/unboundsoftware/schemas-app/pull/12?src=pr&el=tree&utm_medium=referral&utm_source=gitlab&utm_content=comment&utm_campaign=pr+comments&utm_term=unboundsoftware) | | [app/plugins/apollo.client.ts](https://app.codecov.io/gl/unboundsoftware/schemas-app/pull/12?src=pr&el=tree&filepath=app%2Fplugins%2Fapollo.client.ts&utm_medium=referral&utm_source=gitlab&utm_content=comment&utm_campaign=pr+comments&utm_term=unboundsoftware#diff-YXBwL3BsdWdpbnMvYXBvbGxvLmNsaWVudC50cw==) | 0.00% | [10 Missing :warning: ](https://app.codecov.io/gl/unboundsoftware/schemas-app/pull/12?src=pr&el=tree&utm_medium=referral&utm_source=gitlab&utm_content=comment&utm_campaign=pr+comments&utm_term=unboundsoftware) | | [app/pages/schemas/index.vue](https://app.codecov.io/gl/unboundsoftware/schemas-app/pull/12?src=pr&el=tree&filepath=app%2Fpages%2Fschemas%2Findex.vue&utm_medium=referral&utm_source=gitlab&utm_content=comment&utm_campaign=pr+comments&utm_term=unboundsoftware#diff-YXBwL3BhZ2VzL3NjaGVtYXMvaW5kZXgudnVl) | 0.00% | [1 Missing :warning: ](https://app.codecov.io/gl/unboundsoftware/schemas-app/pull/12?src=pr&el=tree&utm_medium=referral&utm_source=gitlab&utm_content=comment&utm_campaign=pr+comments&utm_term=unboundsoftware) | <details><summary>Additional details and impacted files</summary> ```diff @@ Coverage Diff @@ ## main #12 +/- ## ======================================== - Coverage 4.15% 4.04% -0.11% ======================================== Files 11 11 Lines 650 667 +17 Branches 112 119 +7 ======================================== Hits 27 27 - Misses 623 640 +17 ``` </details> [:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gl/unboundsoftware/schemas-app/pull/12?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=gitlab&utm_content=comment&utm_campaign=pr+comments&utm_term=unboundsoftware). :loudspeaker: Have feedback on the report? [Share it here](https://gitlab.com/codecov-open-source/codecov-user-feedback/-/issues/4). <details><summary> :rocket: New features to boost your workflow: </summary> - :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems. </details>
argoyle (Migrated from gitlab.com) canceled auto merging this pull request when all checks succeed 2025-11-23 13:08:32 +00:00
argoyle commented 2025-11-23 13:09:19 +00:00 (Migrated from gitlab.com)

mentioned in commit 0ce87be748

mentioned in commit 0ce87be74882953e206592dec61970830c81a822
argoyle (Migrated from gitlab.com) merged commit 0ce87be748 into main 2025-11-23 13:09:19 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unboundsoftware/schemas-app#13