Skip to content

Pulling fix/strain-name-encoding into develop#1241

Open
github-actions[bot] wants to merge 3 commits into
developfrom
fix/strain-name-encoding
Open

Pulling fix/strain-name-encoding into develop#1241
github-actions[bot] wants to merge 3 commits into
developfrom
fix/strain-name-encoding

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented May 6, 2026

No description provided.

ktun95 added 3 commits May 6, 2026 09:56
This change adds read functions to decode URI-encoded fields (label, summary, genes, genotypes) in the Strain cache data, ensuring proper display of special characters.
This commit introduces a new function, `decodeUriComponentOrDefault`, which attempts to decode a URI component. If decoding fails due to a URIError, the function returns the original URI component. This ensures that the application gracefully handles potentially malformed URI components without throwing errors. The function uses fp-ts for functional error handling.
This change ensures that strain labels, summaries, gene names, and genotypes are properly decoded before being displayed, handling URI encoded components. A new utility function `decodeUriComponentOrDefault` was added to handle decoding and prevent errors.
@codecov
Copy link
Copy Markdown

codecov Bot commented May 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.10%. Comparing base (df8993a) to head (a99b787).
⚠️ Report is 119 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1241      +/-   ##
===========================================
- Coverage    94.54%   86.10%   -8.44%     
===========================================
  Files          417      441      +24     
  Lines        22026     3995   -18031     
  Branches      1502      443    -1059     
===========================================
- Hits         20825     3440   -17385     
+ Misses        1201      506     -695     
- Partials         0       49      +49     

see 440 files with indirect coverage changes

🚀 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant