QutEcoacoustics / workbench-client

workbench-client: a client side browser application for interacting with acoustic workbenches
Other
8 stars 1 forks source link

Site/point deletion: warn users what will happen with audio recordings upon deletion #2074

Closed hudson-newey closed 1 year ago

hudson-newey commented 1 year ago

Site/point deletion: warn users what will happen with audio recordings upon deletion

As users are now uploading audio recordings via the Harvest webpages, they sometimes run into issues when uploading duplicate audio recordings.

Currently when a point/site is deleted, the audio recordings are disassociated from the site/point, but they still exist (they are hidden). So if a user uploads an audio recording -> deletes a site -> creates a new site -> uploads the same audio recording, it will be blocked from Harvest as a duplicate upload.

We should explain this behavior to users in "user friendly" language when the site is deleted via a warning in the deletion modal window.

Changes

Problems

None

Issues

Fixes: #2067

Visual Changes

image New deletion modal with warning text

Final Checklist

github-actions[bot] commented 1 year ago

Size Change: +992 B (0%)

Total Size: 2.68 MB

Filename Size Change
dist/workbench-client/browser/main.****************.js 848 kB +386 B (0%)
dist/workbench-client/server/main.js 1.78 MB +606 B (0%)
ℹ️ View Unchanged | Filename | Size | | :--- | :---: | | `dist/workbench-client/browser/assets/environment.json` | 555 B | | `dist/workbench-client/browser/index.html` | 3.83 kB | | `dist/workbench-client/browser/manifest.json` | 150 B | | `dist/workbench-client/browser/polyfills.****************.js` | 12.5 kB | | `dist/workbench-client/browser/runtime.****************.js` | 648 B | | `dist/workbench-client/browser/styles.****************.css` | 37.4 kB |

compressed-size-action

github-actions[bot] commented 1 year ago

Unit Test Results

         6 files           6 suites   15m 4s :stopwatch: 20 016 tests 19 440 :heavy_check_mark: 576 :zzz: 0 :x: 20 124 runs  19 548 :heavy_check_mark: 576 :zzz: 0 :x:

Results for commit c6890755.

:recycle: This comment has been updated with latest results.