Skip to content

Conversation

@yaira2
Copy link
Member

@yaira2 yaira2 commented Jun 29, 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.

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. Enabled grouping
  2. Confirmed header content is vertically centered

@yaira2 yaira2 requested a review from Copilot June 29, 2025 14:31
@yaira2 yaira2 added the ready to merge Pull requests that are approved and ready to merge label Jun 29, 2025

This comment was marked as outdated.

@yaira2 yaira2 requested a review from Copilot June 29, 2025 14:37
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 pull request addresses the alignment issue of group headers by updating the VerticalAlignment property across different layout pages.

  • Updated VerticalAlignment in GridLayoutPage.xaml from Top to Center.
  • Updated VerticalAlignment in DetailsLayoutPage.xaml from Top to Center.
  • Updated VerticalAlignment in ColumnLayoutPage.xaml from Top to Center.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
src/Files.App/Views/Layouts/GridLayoutPage.xaml Changed header VerticalAlignment to Center for better vertical centering.
src/Files.App/Views/Layouts/DetailsLayoutPage.xaml Modified header VerticalAlignment from Top to Center.
src/Files.App/Views/Layouts/ColumnLayoutPage.xaml Adjusted header VerticalAlignment to Center.
Comments suppressed due to low confidence (3)

src/Files.App/Views/Layouts/GridLayoutPage.xaml:1045

  • The updated VerticalAlignment property improves header centering; please verify that the existing padding settings remain optimal with this change.
										VerticalAlignment="Center"

src/Files.App/Views/Layouts/DetailsLayoutPage.xaml:1395

  • Changing the header alignment to Center aligns with the intended design; confirm that the updated layout maintains visual consistency with similar elements.
										VerticalAlignment="Center"

src/Files.App/Views/Layouts/ColumnLayoutPage.xaml:362

  • The adjustment to Center for VerticalAlignment meets the design requirements; please ensure that the change does not adversely affect spacing or overall layout consistency.
										VerticalAlignment="Center"

@yaira2 yaira2 merged commit 07fcd89 into main Jun 29, 2025
8 checks passed
@yaira2 yaira2 deleted the ya/Groups branch June 29, 2025 14:40
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.

Feature: UI Spacing for Type sorting

2 participants