Skip to content

Conversation

@farmaazon
Copy link
Contributor

@farmaazon farmaazon commented Nov 5, 2025

Pull Request Description

Fixes #13706

Screencast.From.2025-11-05.14-06-29.mp4

Important Notes

Cloud backend allows uploading many images at once, but it was not easy to use in current AsyncResources implementation without refactoring.

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.
  • [ ] If meaningful changes were made to logic or tests affecting Enso Cloud integration in the libraries,
    or the Snowflake database integration, a run of the Extra Tests has been scheduled.
    • If applicable, it is suggested to paste a link to a successful run of the Extra Tests.

@farmaazon farmaazon self-assigned this Nov 5, 2025
@farmaazon farmaazon added the -gui label Nov 5, 2025
@farmaazon farmaazon changed the title Wip/farmaazon/upload enso img Upload images in asset descriptions Nov 5, 2025
@farmaazon farmaazon force-pushed the wip/farmaazon/upload-enso-img branch from 197ec8b to c83e3d4 Compare November 5, 2025 11:01
@farmaazon farmaazon marked this pull request as ready for review November 5, 2025 11:01
): Promise<UploadedAsset>
/**
* Upload set of Images, resoliving any possible conflicts. The sum of file sizes may not
* exceed could message limit.
Copy link
Contributor

Choose a reason for hiding this comment

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

should this say "cloud message limit"?

title: string,
): Promise<backend.ListDirectoryResponseBody> {
if (query.recentProjects && query.from) {
if (query.recentProjects === true && query.from) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't see the reason for this change. Looking at the type, this is boolean | undefined, so === true is the same as a truthiness check, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There's some dashboard's lint forbidding me simple truthiness check. But at this point, I may as good just disable this check,

}

/**
* Upload set of Images, resoliving any possible conflicts. The sum of file sizes may not
Copy link
Contributor

Choose a reason for hiding this comment

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

same typos as above

@farmaazon farmaazon added the CI: Ready to merge This PR is eligible for automatic merge label Nov 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

-gui CI: Ready to merge This PR is eligible for automatic merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Uploading images to drive in asset docs

3 participants