sul-dlss / happy-heron

Self-Deposit for the Stanford Digital Repository (SDR): H2 is a Rails web application enabling users to deposit scholarly content into SDR
Apache License 2.0
10 stars 2 forks source link

show the browser upload radio even when more than max files uploaded #3468

Closed peetucket closed 10 months ago

peetucket commented 10 months ago

Why was this change made? 🤔

Fixes #3465

When a user uploads more than the max number of files in the browser (currently 250), we do not allow them to add more or show the list in the edit page. We currently hide the entire browser upload panel, including the radio button. This means if the user selects the zip upload option radio button (maybe by mistake), they cannot unselect it, which means they are stuck.

This PR shows the radio button in this scenario with a different message, but without the ability to upload more files or show the file list (see below). This makes it clear this is the default/current option, allows the user to change to globus or zip but also allows them to return to the "keep my lottsa files" option before saving.

Screen Shot 2024-02-06 at 1 41 02 PM

HOLD for PO Testing

How was this change tested? 🤨

Localhost, stage