Skip to content

Feature: Added support for customizing the toolbar#18276

Open
yair100 wants to merge 1 commit intomainfrom
ya/CustomToolbar
Open

Feature: Added support for customizing the toolbar#18276
yair100 wants to merge 1 commit intomainfrom
ya/CustomToolbar

Conversation

@yair100
Copy link
Copy Markdown
Member

@yair100 yair100 commented Mar 17, 2026

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.

Code Changes

  • Added an ExtendedLabel property to actions. This property inherits the Label content by default but can be overridden when necessary. An example of where this is used is for the group & sort options. These commands sometimes have similar labels which is okay when they are displayed in a menu flyout, but additional context is needed when they are displayed in settings.
  • Added an ActionCategory property to actions. This category is used to group available actions in the customization window. This PR also adds a converter to convert the category enum to a localized string.
  • Added AccessKeys and AutomationIds to the action files (these were previously hardcoded in xaml).

The changes have been tested extensively, but it needs a careful code review since it's mainly AI generated.

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. Opened Files ...
  2. ...

@yair100 yair100 requested a review from 0x5bfa March 17, 2026 21:56
@yair100 yair100 force-pushed the ya/CustomToolbar branch 29 times, most recently from bd108cb to 26fa51f Compare March 23, 2026 21:18
@yair100 yair100 removed the request for review from 0x5bfa March 24, 2026 02:53
@yair100 yair100 force-pushed the ya/CustomToolbar branch 26 times, most recently from d48c865 to 9d461cb Compare March 29, 2026 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: Add Labels to the Actions Icons Toolbar Feature: Allow adding actions to the toolbar

1 participant