Repository navigation
feat: project toolbar button badges with Ionic colors - #57
Merged
Merged
Conversation
This was referenced Nov 16, 2026
rdlabo
added a commit
that referenced
this pull request
Nov 19, 2026
* fix: prepare captures from acknowledged controls during updates * fix: refresh captured pixels after acquisition fades finish * chore: update Engine to 1.0.10 (#58) * 2.1.9 * feat: project toolbar button badges with Ionic colors (#57) * feat: project toolbar button badges with Ionic colors * fix: refresh badge colors and accessibility without a label change * fix: preserve SwiftUI ownership of toolbar accessibility values * fix: preserve direct toolbar badges in Web rail projections * 2.1.10 * chore: update Engine to 1.0.11 (#59) * 2.1.11 * docs: Clarify the Capacitor Native UI setup paths (#60) * docs: Clarify the Capacitor Native UI setup paths * docs: use consistent names for shared features * docs: link README guides to the documentation website * docs: apply package guide review feedback * docs: separate getting started from detailed guidance * docs: address final package guide review * Preserve Ionic action colors on system glass rail buttons (#61) * Prepare settled captures during list recycling and forward Android contact events
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.
SwiftUI toolbar actions currently omit direct-child Ionic badges. This projects their text/empty indicator and accessibility value while retaining the system badge geometry. The public UIKit badge API applies the source badge's resolved background and text colors, so native rendering follows Ionic instead of imposing a fixed system red.
Rail badge eligibility now follows the native action even when its source badge lies outside the WebView viewport. Hidden badges and ordinary horizontal source eligibility remain respected. Web rail fallback clones now retain direct badges, resolved colors and display state through updates/removal, excluding temporary prehide state. Badge-only updates retain the existing icon node.
Validation: final PR CI passed (plugin, Swift, Android and both real-theme demo shards). CI executed and passed the hosted toolbar badge image test, including a same-count color update. Local hosted image tests also passed on iOS 26.5 and 27.2. Existing Web rail/tab badge tests and full plugin/core suites passed; no new JavaScript test functions or files were added during the review corrections.
Related: #26; theme fallbacks in webview-native-ui/ionic-theme-ios27#376, webview-native-ui/ionic-theme-ios27#377 and webview-native-ui/ionic-theme-md3#76.
Local native reference captures follow; these are not Linux Web screenshot baselines.
Additional cross-PR integration passed both shards using native candidate 97cc5e2 and exact theme commit 850ece43008eb8755bb5a49479b2cda03906a430: https://github.com/webview-native-ui/capacitor-plugin/actions/runs/43848208978. Engine dependency versions are unchanged.