Skip to content

Add download API to preload script#22510

Open
erri120 wants to merge 2 commits intomasterfrom
task/app-227
Open

Add download API to preload script#22510
erri120 wants to merge 2 commits intomasterfrom
task/app-227

Conversation

@erri120
Copy link
Copy Markdown
Member

@erri120 erri120 commented Apr 16, 2026

Closes APP-227.

@erri120 erri120 self-assigned this Apr 16, 2026
@erri120 erri120 requested a review from a team as a code owner April 16, 2026 09:03
"styles:compile": (filePaths: string[]) => Promise<string>;

// Download channels
"download:start": (
Copy link
Copy Markdown
Contributor

@IDCs IDCs Apr 16, 2026

Choose a reason for hiding this comment

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

Not a biggie, but the naming of this channel got me thinking for a second - primarily about the fact that we're just sending off the destination as a parameter (without actually specifying what we're downloading); had to look at the code to understand that this is basically a per design enqueue to this path rather than a start downloading this file to dest.

So for example if I were to use this channel via a community extension, I'd be wondering why it's asking me just for a destination.

Copy link
Copy Markdown
Contributor

@IDCs IDCs left a comment

Choose a reason for hiding this comment

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

Overall pretty happy with this, but as I mentioned previously - the download:start channel naming is somewhat misleading as a contributor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants