-
Notifications
You must be signed in to change notification settings - Fork 326
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
Expand parent directories of opened projects #11947
Closed
Closed
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
4c5729f
Expand parent directories of opened projects
somebody1234 edddae0
Fix expanding local directories
somebody1234 8269f4e
Automatically expand "Users" or "Teams" root directory as appropriate
somebody1234 e5259d5
Fix errors
somebody1234 7b96344
Merge branch 'develop' into wip/sb/expand-parent-directories
somebody1234 b2b361b
Only expand ancestors of initially launched projects once
somebody1234 e943fe1
WIP: Separate ancestor lists for each Drive sidebar category
somebody1234 2cee8ea
Fix errors
somebody1234 68000a7
Merge branch 'develop' into wip/sb/expand-parent-directories
somebody1234 364c3af
Fix errors
somebody1234 1df6478
Fix bugs
somebody1234 21b3489
Remove obsolete test
somebody1234 6adda38
Replace `category` with `categoryType` in `listDirectoryQueryOptions`
somebody1234 eca7931
Move logic for computing ancestors from `Dashboard.tsx` to individual…
somebody1234 0fa64ce
Extract computing initial expanded directories to a function
somebody1234 17eb1df
Compute initial expanded directories in initial value store instead o…
somebody1234 356cfec
Fix cyclic dependencies between stores
somebody1234 d01fc61
Fix errors
somebody1234 3091835
Expand full path to directory when clicking on breadcrumb
somebody1234 8f4032e
Remove `useSetExpandedDirectories`
somebody1234 58d59ec
Add `useIsDirectoryExpanded`
somebody1234 6bcfaf7
WIP: Re-add `DriveProvider.test`
somebody1234 98727bf
WIP: Fix `DriveProvider.test`
somebody1234 a7f81ae
Fix unnecessary dependencies of `DriveProvider`
somebody1234 4602cc6
help
somebody1234 afdc27b
WIP: Fix `DriveProvider.test`
somebody1234 71a1b8c
Fix `DriveProvider.test`
somebody1234 ffc6e15
Fix type errors
somebody1234 42fa910
Merge branch 'develop' into wip/sb/expand-parent-directories
somebody1234 25a05ca
Fix errors
somebody1234 571a60b
Fix integration tests
somebody1234 6b43868
Merge branch 'develop' into wip/sb/expand-parent-directories
somebody1234 6e6b573
Fix lint error
somebody1234 41ae083
Minor fixes
somebody1234 2d1bdbf
Merge branch 'develop' into wip/sb/expand-parent-directories
somebody1234 736c51e
Merge branch 'develop' into wip/sb/expand-parent-directories
somebody1234 4c5aef3
Fix integration tests
somebody1234 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 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 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 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 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 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 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 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.
Why's it that complex? The time always change and a new date is always unique, isn't it?
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.
newUniqueDate(); newUniqueDate()
is going to often return the same date.i'm not 100% sure it fixed anything but i think i was getting flakiness without this - note that the specific problem this was causing issues was
setupAPI
which is synchronousThere 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.
agree it's quite complex though
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.
I was thinking on just doing an arbitrary delay within the function with an empty while loop. It'd be slower, but the diff will always be at leats 1ms