QutEcoacoustics / workbench-client

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

Fix remove image button #2017

Closed hudson-newey closed 1 year ago

hudson-newey commented 1 year ago

Fix remove image button

The remove image button should only show when a project has an image

Changes

Issues

Fixes: #1994

Visual Changes

From: image

To: image

Visual Changes List:

Notes: First image was taken on Firefox, where the "Browse..." text is used, the second was taken from Edge where the "Choose File" text is used, hence the change in text

Final Checklist

hudson-newey commented 1 year ago

Minor improvement to code quality: The code for how images are removed was changed to be consistent with the code to upload images

github-actions[bot] commented 1 year ago

Size Change: +555 B (0%)

Total Size: 2.68 MB

Filename Size Change
dist/workbench-client/browser/main.****************.js 846 kB +235 B (0%)
dist/workbench-client/server/main.js 1.77 MB +320 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   16m 2s :stopwatch: 17 478 tests 16 920 :heavy_check_mark: 558 :zzz: 0 :x: 17 580 runs  17 022 :heavy_check_mark: 558 :zzz: 0 :x:

Results for commit 9b055f1a.

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