Skip to content

Conversation

@yaira2
Copy link
Member

@yaira2 yaira2 commented Aug 6, 2025

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.

@yaira2 yaira2 added the ready for review Pull requests that are ready for review label Aug 6, 2025
@yaira2 yaira2 requested a review from Copilot August 6, 2025 22:00
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR implements auto-sizing functionality for columns in the ColumnShell view, allowing columns to automatically adjust their width based on content.

  • Adds automatic column width sizing when items finish loading
  • Introduces proper event handling for cleanup in ColumnShellPage
  • Reduces default column width from 300 to 200 pixels

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
ColumnShellPage.xaml.cs Adds event cleanup in Page_Unloaded method
ColumnShellPage.xaml Wires up Unloaded event handler
ColumnsLayoutPage.xaml.cs Adds SetWidth method to trigger auto-sizing
ColumnsLayoutPage.xaml Reduces default column width from 300 to 200
ColumnLayoutPage.xaml.cs Implements auto-sizing logic when items load
BladeView.xaml Removes transitions and min width constraints
BladeItem.cs Refactors width calculation and reduces default width
Comments suppressed due to low confidence (1)

@yaira2 yaira2 merged commit 6ac5414 into main Aug 7, 2025
9 checks passed
@yaira2 yaira2 deleted the ya/AutoSizeColumns branch August 7, 2025 14:24
@yaira2 yaira2 added ready to merge Pull requests that are approved and ready to merge and removed ready for review Pull requests that are ready for review labels Aug 7, 2025
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