QutEcoacoustics / workbench-client

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

Upgrade Angular and Its Dependencies #2085

Closed hudson-newey closed 1 year ago

hudson-newey commented 1 year ago

Upgrade Angular and Its Dependencies

We have several outdated dependencies, this pull request updates all the dependencies

You can see all the breaking changes due to our migration from ngx 14 -> 16 here

Although, a lot of tests were modified due to breaking changes in ng-mocks (see below)

Changes

Problems

None

Issues

Fixes: #2077

Visual Changes

None

Final Checklist

github-actions[bot] commented 1 year ago

Size Change: -570 kB (-17%) πŸ‘

Total Size: 2.88 MB

Filename Size Change
dist/workbench-client/browser/index.html 4.1 kB +268 B (+7%) πŸ”
dist/workbench-client/browser/main.****************.js 0 B -1.15 MB (removed) πŸ†
dist/workbench-client/browser/polyfills.****************.js 0 B -12.5 kB (removed) πŸ†
dist/workbench-client/browser/runtime.****************.js 0 B -715 B (removed) πŸ†
dist/workbench-client/browser/styles.****************.css 0 B -37.4 kB (removed) πŸ†
dist/workbench-client/server/main.js 1.77 MB -479 kB (-21%) πŸŽ‰
dist/workbench-client/browser/chunk-7SGCG2G3.js 1.08 kB +1.08 kB (new file) πŸ†•
dist/workbench-client/browser/main.********.js 1.06 MB +1.06 MB (new file) πŸ†•
dist/workbench-client/browser/polyfills.********.js 12.2 kB +12.2 kB (new file) πŸ†•
dist/workbench-client/browser/styles.********.css 32.3 kB +32.3 kB (new file) πŸ†•
dist/workbench-client/server/776.js 4.2 kB +4.2 kB (new file) πŸ†•
ℹ️ View Unchanged | Filename | Size | | :--- | :---: | | `dist/workbench-client/browser/assets/environment.json` | 555 B | | `dist/workbench-client/browser/manifest.json` | 150 B |

compressed-size-action

github-actions[bot] commented 1 year ago

Unit Test Results

βŸβ€„βŸβ€„β€ˆβŸβ€„βŸβ€„6 filesβ€„β€ƒβŸβ€„βŸβ€„β€ˆβŸβ€„βŸβ€„6 suites   10m 45s :stopwatch: 20β€ˆ694 tests 20β€ˆ070 :heavy_check_mark: 624 :zzz: 0 :x: 20β€ˆ802 runs  20β€ˆ178 :heavy_check_mark: 624 :zzz: 0 :x:

Results for commit fa2d150f.

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

hudson-newey commented 1 year ago

I've done some testing using staging data and there are no regressions

Given that this PR will impact almost every function of the web client, are you all good for me to merge after CI passes?