Skip to content

Feature: Added drag and drop for sidebar items#18236

Merged
yair100 merged 1 commit intomainfrom
ya/SidebarDrag
Mar 10, 2026
Merged

Feature: Added drag and drop for sidebar items#18236
yair100 merged 1 commit intomainfrom
ya/SidebarDrag

Conversation

@yair100
Copy link
Member

@yair100 yair100 commented Mar 10, 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.

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. Confirmed sidebar folders can be dragged into other programs

@yair100 yair100 added the ready to merge Pull requests that are approved and ready to merge label Mar 10, 2026
@yair100 yair100 merged commit 6657fae into main Mar 10, 2026
9 checks passed
@yair100 yair100 deleted the ya/SidebarDrag branch March 10, 2026 01:16
HookupItemChangeListener(null, Item);
UpdateExpansionState();
ReevaluateSelection();
CanDrag = Item?.GetType().GetProperty("Path")?.GetValue(Item) is string path && Path.IsPathRooted(path);
Copy link
Member

Choose a reason for hiding this comment

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

I think we should ask review for any PR atleast about code quality.

This is not trim safe (aot incompat).

Copy link
Member Author

Choose a reason for hiding this comment

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

We can address this when we're ready to enable trimming.

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: Add support for dragging sidebar items to other applications

2 participants