Skip to content

Fix sub-threshold sessions leaving transcript and summary artifacts#4509

Open
ComputelessComputer wants to merge 1 commit intomainfrom
fix-hide-empty-transcript-and-summary-tabs
Open

Fix sub-threshold sessions leaving transcript and summary artifacts#4509
ComputelessComputer wants to merge 1 commit intomainfrom
fix-hide-empty-transcript-and-summary-tabs

Conversation

@ComputelessComputer
Copy link
Collaborator

@ComputelessComputer ComputelessComputer commented Mar 11, 2026

  • Prevent empty Transcript and Summary tabs for sessions below the transcript threshold
  • Skip persisting transcript artifacts when captured content is too small
  • Reset invalid selected tabs to a valid fallback
  • Add regression tests

@netlify
Copy link

netlify bot commented Mar 11, 2026

Deploy Preview for hyprnote-storybook failed.

Name Link
🔨 Latest commit 5002f50
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote-storybook/deploys/69b128ea2fb00600084d3bfe

@netlify
Copy link

netlify bot commented Mar 11, 2026

Deploy Preview for hyprnote failed.

Name Link
🔨 Latest commit 5002f50
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote/deploys/69b128ea296bbf000852db04

Add comprehensive fallback handling when selected tabs become
unavailable. Enhance transcript word counting with error handling
and improve type safety in eligibility checks.

- Add fallback to raw tab when transcript is no longer available
- Fallback to first enhanced note when selected note is missing
- Improve error handling in transcript word parsing with try-catch
- Replace hardcoded threshold with shared constant
- Add comprehensive test coverage for tab computation scenarios
- Strengthen type definitions for transcript word store interface
@ComputelessComputer ComputelessComputer force-pushed the fix-hide-empty-transcript-and-summary-tabs branch from ab584a3 to 5002f50 Compare March 11, 2026 08:32
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