Repository navigation
Cache subtitle quality analysis instead of running it on project open - #30
Merged
Merged
Conversation
Hallucination/quality heuristics now run during scan, subtitle generation, and cue edits, then persist in subtitle_quality. Listing videos reads the cache only, so opening a project no longer re-parses every sidecar. Quality tooltips use an opaque background and completed rows no longer apply opacity to the whole row, which had made the tooltip see-through. Co-authored-by: Aleksandr <red-avtovo@users.noreply.github.com>
Folder labels inherited centered text from #root; regular cells already override that. Match them so section names sit on the left. Co-authored-by: Aleksandr <red-avtovo@users.noreply.github.com>
Patch bump for cached subtitle quality analysis, opaque quality tooltips, and left-aligned FileGrid folder headers. Co-authored-by: Aleksandr <red-avtovo@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hallucination / quality-rule analysis was running for every detected subtitle whenever the project page loaded
GET /api/projects/{id}/videos. That made opening large projects slow.What changed
subtitle_qualitySQLite table.GET /videosonly reads the cache — it does not parse SRT files or run heuristics.opacityto the whole row, which had made the tooltip see-through.Testing
Backend: 439 passed. Frontend:
tsc, oxlint, 166 vitest tests passed. Version tests confirm/api/healthreports2.3.1.Opaque quality tooltip:
quality_tooltip_opaque_on_replaced_row.mp4
Opaque quality tooltip on a replaced FileGrid row
Left-aligned folder section headers:
filegrid_folder_headers_left_aligned.mp4
FileGrid folder names left-aligned
To show artifacts inline, enable in settings.
Storybook preview
Updated for commit d1f40b7.