Conversation
RLiNREL
approved these changes
Dec 2, 2025
RLiNREL
approved these changes
Dec 2, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
connects #119
This pull request adds support for Progressive Web App (PWA) features to the Angular application, including service worker integration for offline capability and update notifications. It introduces a manifest file for PWA configuration, registers the Angular service worker, and adds UI components and services to notify users when updates are available.
PWA Integration and Service Worker Setup
@angular/service-workerdependency and registered the service worker inapp.module.tsfor production builds, using a delayed registration strategy to ensure stability. (package.json[1]src/app/app.module.ts[2] [3]ngsw-config.jsonto configure caching strategies for application files and assets, enabling offline support. (ngsw-config.jsonngsw-config.jsonR1-R30)angular.jsonto include the manifest file in assets and reference the service worker config for production builds. (angular.json[1] [2] [3]Manifest and PWA Metadata
manifest.webmanifestwith app name, icons, display mode, and start URL for PWA installation and theming. (src/manifest.webmanifestsrc/manifest.webmanifestR1-R33)index.htmlto enable browser PWA features. (src/index.htmlsrc/index.htmlR21-R26)Update Notification Feature
UpdateCheckServiceto listen for service worker updates and periodically check for new versions, triggering update notifications. (src/app/core-components/update-check/update-check.service.tssrc/app/core-components/update-check/update-check.service.tsR1-R44)UpdateCheckComponentto display a toast notification when an update is available, allowing users to reload the page to apply updates. (src/app/core-components/update-check/update-check.component.ts[1]src/app/core-components/update-check/update-check.component.html[2]src/app/core-components/update-check/update-check.component.css[3]src/app/app.component.html[1]src/app/app.module.ts[2]Testing
src/app/core-components/update-check/update-check.service.spec.ts[1]src/app/core-components/update-check/update-check.component.spec.ts[2]