-
Notifications
You must be signed in to change notification settings - Fork 28.3k
feat(editor): Combine Move and Change owner modals #15756
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Cadiac
merged 33 commits into
master
from
ado-3161-fe-combine-change-owner-and-move-to-folder-modals
May 28, 2025
Merged
Changes from 29 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
f47eeaa
feat(editor): Change the move folder modal to open and focus automati…
Cadiac 50563fc
feat(editor): Display path breadcrumbs on move folder modal
Cadiac 9ecbaa0
feat(editor): Selecting the project to move resources to
Cadiac 07c2a8a
feat(editor): wip on cross project transfers on the new modal
Cadiac 8b53e20
feat(editor): Transferring workflows and projects with the single modal
Cadiac e581fa0
feat(editor): Make transferring workflows and folders to other users …
Cadiac ff0c6cc
feat(editor): Fix picking the project on non admin users with limited…
Cadiac 25d1b90
wip
Cadiac 9820ac7
feat(editor): Update dropdown comments and make it filter parent fold…
Cadiac 9c61718
feat(editor): Ask to share credentials when transferring folders
Cadiac 8e9b4bb
feat(editor): Disable moving of workflows on Shared with you page
Cadiac a8e2dfb
feat(editor): Make folder picker work if there are many folders
Cadiac 3473338
Sort the folder results by path
Cadiac 42df1dd
feat(editor): Shorten the folder dropdown paths and match design styles
Cadiac e0e9bda
feat(editor): Display project icon on ProjectSharing picker
Cadiac fa0b06b
feat(editor): Display a warning when not sharing credentials at transfer
Cadiac d9d4c69
test(editor): Make UI tests pass with the updated move modal
Cadiac c428181
test(editor): Add tests for MoveToFolderModal
Cadiac 32f397e
feat(editor): Only show root folder if query matches to it
Cadiac 58eff79
test(editor): Fix e2e tests with the new move folder modal
Cadiac ba282f1
feat(editor): Disable move option from workflows page as it doesn't w…
Cadiac b20a188
refactor(editor): Make MoveToFolderDropdown not use projectsStore and…
Cadiac 24362cc
feat(editor): Make the DeleteFolderModal work with the new folder pic…
Cadiac 890883b
refactor(editor): Remove unused code
Cadiac c5a2b7c
refactor(editor): Bit of cleanup
Cadiac 2bc6cec
test(editor): Add tests for folder store
Cadiac 06adddc
test(editor): Cover case of transferring to personal project on move …
Cadiac eb8ae8d
fix(editor): Show correct link on workflow transfer target
Cadiac e7d15f1
refactor(editor): Move shared project name truncate logic to utils
Cadiac f52b15c
fix(editor): Prevent extra space from end when only transferring fold…
Cadiac f43cd7e
Merge branch 'master' into ado-3161-fe-combine-change-owner-and-move-…
Cadiac fe31b8f
test(editor): Make e2e tests pass with move to folder modal changes
Cadiac aa5499c
fix(editor): don't accidentally apply the list item padding to all it…
Cadiac File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using a fixed wait time (500ms) can lead to flaky tests. Consider using Cypress's built-in retry and timeout mechanisms instead of arbitrary waits.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This case is tricky, and while I'm not a fan of the fixed timeout here it is way longer than the brief slide in animation that the modal does before opening the dropdown and focusing on it. If the idea is to test that the autofocus works some kind of wait has to happen here - the first couple of letteres typed were ignored before I added this.
Perhaps waiting for a focused field to appear could be the solution...
The reason the dropdown opens & focuses only once the modal stops is that otherwise the popper dropdown gets misplaced if opened mid animation.