chocolatey / chocolatey/choco-theme

Script Builder bulk package download button only downloads the first package

Open
#470 0 comments 0 reactions 0 assignees View on GitHub
0 - Backlog Bug ChocolateyHome PackageCore PackageRoot
Dominant language
JavaScript
Stars
10
Forks
17
Avg merge
20h 33m
Merged PRs (30d)
4

Description

### Checklist
* [x] I confirm there are no unresolved issues reported on the [Chocolatey Status page](https://status.chocolatey.org).
* [x] I have verified this is the correct repository for opening this issue.
* [x] I have verified no other issues exist related to my problem.
* [x] I have verified this is not an issue for a specific package.
* [x] I have verified this issue is not security related.
* [x] I confirm I am using **official**, and **not** unofficial, or modified, Chocolatey products.

### What You Are Seeing?
When using Script Builder with multiple packages, and trying to use the "Download Packages" button on Step 4 of the modal (any integration method other than Individual), it only triggers one package to download.

### What is Expected?
Behind the scenes, this is trying to download multiple files at once. This is often not allowed or blocked by the browser. We should instead look to zip up these files and serve a final .zip file instead.

### How Did You Get This To Happen?
1. Add multiple (at least 2) packages to Script Builder.
1. Open the modal and choose any integration method other than individual.
1. On Step 4, expand "Option 1" or "Option 2" and click the "Download Packages" button.
1. Notice how only 1 package is downloaded, and not all the packages that are in Script Builder.

### System Details
n/a

### Installed Packages
```bash
choco-theme 1.3.1
```

### Output Log
```bash
n/a
```

### Additional Context
This was found when writing Playwright tests.

┆Issue is synchronized with this [Github issue](https://github.com/chocolatey/home/issues/366) by [Unito](https://www.unito.io)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.