Skip to content

Conversation

@mdtauk
Copy link
Contributor

@mdtauk mdtauk commented Jul 30, 2024

Resolved / Related Issues

Creating a bespoke control for use in Files' toolbars and address bar. Uses our ThemedIcon control.

Ensuring @0x5bfa is ok with working on this control, and @yaira2 to keep an eye on it, as we start work on it.

This Pull Request will remain a Draft until it is ready for review and merging

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.

  • Closes #

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. ...

mdtauk and others added 29 commits July 30, 2024 01:11
This is assuming we are building a control from scratch.  Code is mostly placeholder and dependency property frameworks
Not sure if this is the right approach, but I've done it for now.  ToolbarItem should be an abstract and the Toolbar control translates them into Buttons and Menu Items
Set the window size to be more mangable whilst debugging lol
Basic creation of controls with sizes based on ToolbarSize - we need to re-draw or update controls within the lists if the ToolbarSize changes at runtime
Also added an IsChecked property to ToolbarItem to be passed onto the Toggle ItemTypes
@0x5bfa 0x5bfa self-assigned this Nov 14, 2024
@yaira2 yaira2 closed this Dec 11, 2024
@yaira2 yaira2 reopened this Dec 11, 2024
@yaira2 yaira2 marked this pull request as ready for review December 11, 2024 15:45
@yaira2
Copy link
Member

yaira2 commented Dec 11, 2024

@0x5bfa can you please resolve the merge conflicts so we can merge this into the controls project?

@yaira2 yaira2 changed the title Code Quality: Adding ToolbarButton controls Code Quality: Added ToolbarButton controls Dec 11, 2024
@yaira2 yaira2 merged commit 5629c8d into files-community:main Dec 11, 2024
6 checks passed
@yaira2 yaira2 added the ready to merge Pull requests that are approved and ready to merge label Dec 11, 2024
@yaira2
Copy link
Member

yaira2 commented Dec 11, 2024

Thank you

@0x5bfa 0x5bfa deleted the mdta-ToolbarButtons branch December 12, 2024 03:29
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