Skip to content

Conversation

@seer-by-sentry
Copy link
Contributor

Resolved / Related Issues

To prevent extra work, all changes to the Files codebase must link to an approved issue marked as Ready to build. Please insert the issue number following the hashtag with the issue number that this Pull Request resolves.

Steps used to test these changes

Stability is a top priority for Files and all changes are required to go through testing before being merged into the repo. Please include a list of steps that you used to test this PR.

  1. Reproduced the issue by ensuring that ContentPageContext.ShellPage is null when no active UI pane exists.
  2. Verified that the NullReferenceException is no longer thrown after adding the null check for ContentPageContext.ShellPage in ToggleFilterHeaderAction.
  3. Confirmed that the filter header and active pane focus correctly when ContentPageContext.ShellPage is not null.

@yaira2 yaira2 changed the title Fix: Avoid NullReferenceException in ToggleFilterHeaderAction Code Quality: Avoid NullReferenceException in ToggleFilterHeaderAction Sep 18, 2025
@yaira2 yaira2 marked this pull request as ready for review September 18, 2025 15:06
@yaira2 yaira2 added the ready to merge Pull requests that are approved and ready to merge label Sep 18, 2025
@yaira2 yaira2 merged commit a87929d into main Sep 18, 2025
9 checks passed
@yaira2 yaira2 deleted the seer/fix/toggle-filter-header-nre branch September 18, 2025 15:59
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.

2 participants