Skip to content
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

Use enso paths in cloud browser #11001

Merged
merged 6 commits into from
Sep 9, 2024
Merged

Use enso paths in cloud browser #11001

merged 6 commits into from
Sep 9, 2024

Conversation

farmaazon
Copy link
Contributor

@farmaazon farmaazon commented Sep 6, 2024

Pull Request Description

Fixes #10947

Important Notes

Checklist

Please ensure that the following checklist has been satisfied before submitting the PR:

  • The documentation has been updated, if necessary.
  • Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
  • All code follows the
    Scala,
    Java,
    TypeScript,
    and
    Rust
    style guides. In case you are using a language not listed above, follow the Rust style guide.
  • Unit tests have been written where possible.

@farmaazon farmaazon self-assigned this Sep 6, 2024
@farmaazon farmaazon marked this pull request as ready for review September 6, 2024 12:50
Comment on lines 119 to 120
watch(selectedFile, (file) => {
if (file && currentPath.value) emit('pathSelected', `${currentPath.value}/${file.title}`)
Copy link
Contributor

Choose a reason for hiding this comment

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

This will not work if a file is selected before currentPath becomes ready

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If currentPath is not ready, which is only case when currentUser is not ready, we should be in "busy" state.

But fixed this anyway, as it is now more error-proof.

Copy link
Contributor

Choose a reason for hiding this comment

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

Pending currentUser only causes busy state once a selection has been made.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh, you are right! The better I wrote the fix.

@farmaazon farmaazon requested a review from kazcw September 9, 2024 08:43
@farmaazon farmaazon added the CI: Ready to merge This PR is eligible for automatic merge label Sep 9, 2024
@mergify mergify bot merged commit 32f10a5 into develop Sep 9, 2024
36 checks passed
@mergify mergify bot deleted the wip/farmaazon/enso-paths branch September 9, 2024 22:56
jdunkerley pushed a commit that referenced this pull request Sep 10, 2024
jdunkerley pushed a commit that referenced this pull request Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI: Ready to merge This PR is eligible for automatic merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cloud explorer is putting the S3 link in not enso:
3 participants