-
Notifications
You must be signed in to change notification settings - Fork 334
Upload images in asset descriptions #14247
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
base: develop
Are you sure you want to change the base?
Conversation
197ec8b to
c83e3d4
Compare
app/common/src/services/Backend.ts
Outdated
| ): Promise<UploadedAsset> | ||
| /** | ||
| * Upload set of Images, resoliving any possible conflicts. The sum of file sizes may not | ||
| * exceed could message limit. |
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.
should this say "cloud message limit"?
| title: string, | ||
| ): Promise<backend.ListDirectoryResponseBody> { | ||
| if (query.recentProjects && query.from) { | ||
| if (query.recentProjects === true && query.from) { |
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 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?
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.
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 |
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.
same typos as above
Co-authored-by: Keziah Wesley <kaz@lambdaverse.org>
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:
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.