Skip to content

Conversation

0x5bfa
Copy link
Member

@0x5bfa 0x5bfa commented Aug 7, 2025

Resolved / Related Issues

The reason why visual state manager failed to apply these changes within XAML was probably because the enums are inside the class. Now everything works as expected, removing extra lines of code.

Important

You should "Hide whitespace" in the diff view

Steps used to test these changes

  1. Open Files app
  2. Open InfoPane
  3. Resize it left and right
  4. Shrink the window enough small for InfoPane to go to the bottom
  5. Resize it up and down

@yaira2 yaira2 added the ready for review Pull requests that are ready for review label Aug 10, 2025
@yaira2 yaira2 self-requested a review August 10, 2025 14:08
@yaira2 yaira2 force-pushed the 5bfa/CQ-InfoPaneVisualStates branch from ed6f1a8 to 53cd654 Compare August 10, 2025 20:38
@yaira2
Copy link
Member

yaira2 commented Aug 10, 2025

The visual states don't seem to be setting the minimum widths for the info pane.

@yaira2 yaira2 added changes requested Changes are needed for this pull request and removed ready for review Pull requests that are ready for review labels Aug 11, 2025
@0x5bfa 0x5bfa force-pushed the 5bfa/CQ-InfoPaneVisualStates branch 2 times, most recently from 29f1231 to 6b8494e Compare August 11, 2025 19:59
@yaira2
Copy link
Member

yaira2 commented Aug 11, 2025

The visual states aren't working correctly.

image

@0x5bfa 0x5bfa force-pushed the 5bfa/CQ-InfoPaneVisualStates branch from 50e1017 to de12090 Compare August 19, 2025 20:47
@0x5bfa
Copy link
Member Author

0x5bfa commented Aug 19, 2025

PTAL. Now it is working as expected.

@yaira2 yaira2 force-pushed the main branch 2 times, most recently from 97999e5 to 806f922 Compare September 9, 2025 21:12
@yaira2 yaira2 self-requested a review September 28, 2025 19:55
@yaira2 yaira2 force-pushed the 5bfa/CQ-InfoPaneVisualStates branch from de12090 to 1afe863 Compare September 28, 2025 19:57
@yaira2 yaira2 force-pushed the 5bfa/CQ-InfoPaneVisualStates branch from 1afe863 to e906aff Compare September 28, 2025 19:57
Copy link
Member

@yaira2 yaira2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yaira2 yaira2 changed the title Code Quality: Update visual states for InfoPane in XAML instead Code Quality: Refactored VisualStates for InfoPane Sep 28, 2025
@yaira2 yaira2 added ready to merge Pull requests that are approved and ready to merge and removed changes requested Changes are needed for this pull request labels Sep 28, 2025
@yaira2 yaira2 requested a review from Josh65-2201 September 28, 2025 20:04
@Josh65-2201
Copy link
Member

Is that a misclick?

@yaira2
Copy link
Member

yaira2 commented Sep 28, 2025

No, I was hoping you could check the behavior on your end. That said, I tested extensively on my side, and the behavior seems consistent with main.

Copy link
Member

@Josh65-2201 Josh65-2201 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not seeing any in app differences

@yaira2 yaira2 merged commit 1cd9cd5 into files-community:main Sep 28, 2025
11 of 12 checks passed
@yaira2
Copy link
Member

yaira2 commented Sep 28, 2025

Thank you for testing.

@0x5bfa 0x5bfa deleted the 5bfa/CQ-InfoPaneVisualStates branch September 28, 2025 23:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge Pull requests that are approved and ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants