-
Notifications
You must be signed in to change notification settings - Fork 711
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NavigationView InfoBadge integration #5769
Merged
Merged
Changes from 23 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
df5302b
save state
StephenLPeters 88a8b01
Remove the is open property.
StephenLPeters f389e02
merge in main
StephenLPeters 96b3f9f
Revert fully rounded rect converter.
StephenLPeters 1b0071c
revert formatting change
StephenLPeters ee9774c
Fix build break
StephenLPeters 80230ef
Fix build break
StephenLPeters 6e1e068
Add more tests,.
StephenLPeters ec88154
Change negative value behavior and fix down level crash
StephenLPeters 2fb61dc
Add custom styles to Infobadge
StephenLPeters dd7c327
Merge branch 'user/stpete/InfoBadgeStyles' into user/stpete/NVIInfoBa…
StephenLPeters e6e8b17
Merge in Main
StephenLPeters 762724e
Fix an issue with the margin not being apply to value infobadges.
StephenLPeters 3a53a77
Merge remote-tracking branch 'origin/user/stpete/InfoBadgeStyles' int…
StephenLPeters 18370e8
save state
StephenLPeters 8810aca
Save State
StephenLPeters 58cc365
Test removing info badge from presenter..
StephenLPeters d47ac43
Switch from borders to content presenters and remove the unparenting …
StephenLPeters de85df1
Merge in main
StephenLPeters 5dc79f7
Change attention collor to non hign contrast color.
StephenLPeters 174bc37
Fix tests, make info badge not a tab stop, change tests to expect a -…
StephenLPeters 712bdc6
Merge in Main
StephenLPeters 7956ebb
Update VisualVerificationFiles.
StephenLPeters 75f8ac8
Move offset to the chevron instead of the icon column and only apply …
StephenLPeters 0532fbc
Fix extra wide right margin on NVI content.
StephenLPeters df13e2e
revert name changes, update verification files.
StephenLPeters 9c16c5f
remove unimplemented function definition.
StephenLPeters File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,6 +33,8 @@ class NavigationViewItemPresenter: | |
|
||
void UpdateClosedCompactVisualState(bool isTopLevelItem, bool isClosedCompact); | ||
|
||
void UnparentInfoBadge(); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can remove, no implementation |
||
|
||
private: | ||
NavigationViewItem * GetNavigationViewItem(); | ||
void UpdateMargin(); | ||
|
@@ -41,6 +43,7 @@ class NavigationViewItemPresenter: | |
|
||
NavigationViewItemHelper<NavigationViewItemPresenter> m_helper{ this }; | ||
tracker_ref<winrt::Grid> m_contentGrid{ this }; | ||
tracker_ref<winrt::ContentPresenter> m_infoBadgePresenter{ this }; | ||
tracker_ref<winrt::Grid> m_expandCollapseChevron{ this }; | ||
|
||
winrt::event_token m_expandCollapseChevronTappedToken{}; | ||
|
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's this change for?