Skip to content

Prepar Project for an angular version update to version 17

Jens Leveling requested to merge feature/angular_version_update_to17 into main

Related issues

Addresses #104

Acceptance criteria

  • Implemented code changes don't diverge from the related issue.
  • Version number is incremented according to SemVer. (Snapshot versions are not merged/released.)
  • Only released versions of dependencies are used (i.e. no snapshot versions).
  • Pipeline still works.
  • GitLab issue is up-to-date.

If necessary, the following sections have been updated:

  • Readme.md

Proposed squash commit message

Prepare Frontend for an Angular Update to version 17

  • Remove protractor as this reached end of life in August 2023.
  • Remove e2e - Therefore protractor had been used.
  • Remove fontsource dependencies for roboto font and material-icons
  • Remove flex layout dependency and its usage - flexlayout is outdated sind mid 2022.
  • Replace flex layout usage by custom css styles in file styles.css.
  • Remove jsonforms dependencies (jsonforms/angular, jsonforms/angular-material, jsonforms/core) as they are outdated.
  • Replace jsonforms with native typescript / angular json handling.
  • Remove any usage of these dependencies.
  • Add font directly as an third party asset
  • Add native material-icon dependency
  • Remove env.js entry from index.html, as the index.html does not need that entry.
  • Remove prettier from eslint settings, replace by pure eslint settings.
  • Update all files within /src/scss directory that are defining the style and layout. All changes are arcoding to the current (as of 2024) styleguide.
  • Add Angular default eslint configuration - remove former adjusted version.
  • Add a new model qrcode.ts that describes the qrcode data model.
  • Fix several tests, add missing modules to test configuration.
  • Change methodenames in ThemeServiceStub in service-stubs.ts due to former changes of theme.service.ts.
Edited by Jens Leveling

Merge request reports