Skip to content

SCIX-834 fix(search): improve search error alert UX#815

Draft
thostetler wants to merge 1 commit intoadsabs:masterfrom
thostetler:fix/SCIX-834-search-error-ux
Draft

SCIX-834 fix(search): improve search error alert UX#815
thostetler wants to merge 1 commit intoadsabs:masterfrom
thostetler:fix/SCIX-834-search-error-ux

Conversation

@thostetler
Copy link
Member

@thostetler thostetler commented Feb 27, 2026

Search error alert was showing raw details expanded by default with no
easy way to report issues.

  • Collapse error details by default
  • Add "Report this issue" link that navigates to /feedback/general with error context in query params
  • Add error_details field to feedback API payload so error context is forwarded with submissions
  • Show info notice on feedback page when error context is present
  • Redesign error card
  • Add tests for error alert and feedback page
image image image

@thostetler thostetler force-pushed the fix/SCIX-834-search-error-ux branch from 3b003cd to 649eb77 Compare February 27, 2026 13:37
@codecov
Copy link

codecov bot commented Feb 27, 2026

Codecov Report

❌ Patch coverage is 84.82759% with 22 lines in your changes missing coverage. Please review.
✅ Project coverage is 56.2%. Comparing base (ea6f244) to head (ddfaab5).

Files with missing lines Patch % Lines
src/components/SolrErrorAlert/SolrErrorAlert.tsx 83.9% 21 Missing ⚠️
src/pages/feedback/general.tsx 93.4% 1 Missing ⚠️

❗ There is a different number of reports uploaded between BASE (ea6f244) and HEAD (ddfaab5). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (ea6f244) HEAD (ddfaab5)
unittests 2 1
Additional details and impacted files
@@           Coverage Diff            @@
##           master    #815     +/-   ##
========================================
- Coverage    62.0%   56.2%   -5.7%     
========================================
  Files         317     384     +67     
  Lines       36536   43070   +6534     
  Branches     1642    1700     +58     
========================================
+ Hits        22621   24184   +1563     
- Misses      13878   18849   +4971     
  Partials       37      37             
Files with missing lines Coverage Δ
src/pages/feedback/general.tsx 72.0% <93.4%> (ø)
src/components/SolrErrorAlert/SolrErrorAlert.tsx 73.3% <83.9%> (ø)

... and 67 files with indirect coverage changes

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Redesign the search error card and add a feedback reporting flow.
@thostetler thostetler force-pushed the fix/SCIX-834-search-error-ux branch from 649eb77 to ddfaab5 Compare February 27, 2026 13:42
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.

1 participant