Skip to content

Kbdev 1488 no nav on error - #127

Merged
areisle merged 6 commits into
developfrom
KBDEV-1488-no-nav-on-error
May 11, 2026
Merged

Kbdev 1488 no nav on error#127
areisle merged 6 commits into
developfrom
KBDEV-1488-no-nav-on-error

Conversation

@areisle

@areisle areisle commented Apr 30, 2026

Copy link
Copy Markdown
Collaborator

see ticket for example of new error display

this changes to no longer navigate to an /error page when an error occurs. instead, errors from mutations are shown inline, errors loading a page use the error boundary (so the url doesn't change but it looks the same as the previous /error page did), and other errors use a snackbar

bnguyen-bcgsc
bnguyen-bcgsc previously approved these changes May 1, 2026
@areisle
areisle force-pushed the KBDEV-1488-no-nav-on-error branch from 565fcd2 to 654f705 Compare May 7, 2026 21:33
@github-actions

This comment has been minimized.

@codecov-commenter

codecov-commenter commented May 7, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 87.80488% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 75.41%. Comparing base (5a53f16) to head (2bf87c4).

Files with missing lines Patch % Lines
src/views/ImportPubmedView/index.tsx 50.00% 3 Missing ⚠️
...hView/components/GraphComponent/GraphComponent.tsx 50.00% 2 Missing ⚠️
src/components/util.tsx 66.66% 1 Missing ⚠️
src/views/AboutView/components/Matching/index.tsx 0.00% 1 Missing ⚠️
src/views/DataView/components/Footer/index.tsx 66.66% 1 Missing ⚠️
src/views/GraphView/index.tsx 92.85% 1 Missing ⚠️
src/views/RecordView/index.tsx 83.33% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #127      +/-   ##
===========================================
+ Coverage    66.09%   75.41%   +9.31%     
===========================================
  Files          120      120              
  Lines         4595     4551      -44     
  Branches      1544     1526      -18     
===========================================
+ Hits          3037     3432     +395     
+ Misses        1327      947     -380     
+ Partials       231      172      -59     

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Base automatically changed from KBDEV-1524-signed-license to develop May 11, 2026 17:22
@areisle
areisle dismissed bnguyen-bcgsc’s stale review May 11, 2026 17:22

The base branch was changed.

areisle added 6 commits May 11, 2026 10:22
KBDEV-1488
fix missing aria labels
don't error on no nodes
KBDEV-1488
show error either as alert on page
or use snackbar
for pages where data is necessary to render page in any meaningful way, throw error to boundary
@areisle
areisle force-pushed the KBDEV-1488-no-nav-on-error branch from 654f705 to 2bf87c4 Compare May 11, 2026 17:22
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@bnguyen-bcgsc
bnguyen-bcgsc self-requested a review May 11, 2026 19:35
@areisle
areisle merged commit 5662538 into develop May 11, 2026
4 of 5 checks passed
@areisle
areisle deleted the KBDEV-1488-no-nav-on-error branch May 11, 2026 19:48
@github-actions

Copy link
Copy Markdown

Unit Test Results

    1 files  ±  0    51 suites  +2   3m 56s ⏱️ +49s
431 tests +26  429 ✔️ +26  2 💤 ±0  0 ❌ ±0 

Results for commit 5662538. ± Comparison against base commit 5a53f16.

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.

3 participants