Repository navigation
NEW badges for AV1, v210 and the preview view-mode control (task #133) - #284
Merged
StuartCameronCode merged 1 commit intoNov 28, 2026
Merged
Conversation
… (task #133) Things added in 1.8.0 outside the filter schemas had no NEW badge. They now take hard-coded stamps, read through WhatsNewService.isNew like CropDetectPanel's and AddonsSettingsTab's: - VideoCodec.sinceAppVersion: AV1 and v210 = 1.8.0. Badges their radios (disabled ones too), the Video Codec heading, the Output tab label and the toolbar's Settings button (SettingsDialog.isOutputTabNew / hasNew, which the Settings button now reads instead of the Add-ons stamp alone). - ComparisonViewMode.sinceAppVersion = 1.8.0: badges the preview's Original / Split / Processed control. - NewCornerBadge: the overlaid corner badge, shared by the Add-ons and Output tab labels, Crop Detect and the view-mode control. new_badges_outside_schemas_test.dart pins the stamps and checks the badges on an upgrade, a fresh install and the next feature release, pumping the real Settings dialog and preview widget. FILTER_SCHEMA.md and CLAUDE.md document stamps outside the schemas. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Adds NEW badges for the 1.8.0 features that sit outside the filter schemas. Task #131's docs audit found that these got no badge.
Change
VideoCodec.sinceAppVersionmarks AV1 (SVT-AV1) and v210 as1.8.0. These show a badge:SettingsDialog.isOutputTabNew)SettingsDialog.hasNew(Output or Add-ons)ComparisonViewMode.sinceAppVersion = '1.8.0'badges the Original / Split / Processed control.NewCornerBadgereplaces the copies of the badge styling in Crop Detect and the Add-ons tab label. They look the same as before.1.7.0 is the last public release, so this must merge before 1.8.0 ships.
Testing
new_badges_outside_schemas_test.dart(11 tests):flutter analyzehas no warnings or errors in the touched files.🤖 Generated with Claude Code