Skip to content

Comments

Migrate Toast Service and Create Notifier component#68

Open
Pranjal7852 wants to merge 2 commits intoKomMonitor:GSoC2025from
Pranjal7852:GSoC2025
Open

Migrate Toast Service and Create Notifier component#68
Pranjal7852 wants to merge 2 commits intoKomMonitor:GSoC2025from
Pranjal7852:GSoC2025

Conversation

@Pranjal7852
Copy link

  1. Created a new Toast Helper Service
    • Implemented a new service based on the existing AngularJS version of kommonitorToastHelperService.
  2. Developed a New Angular Component: gsoc-demo-component
    • This component utilizes the newly implemented kommonitorToastHelperService.
    • Component Functionality
      • Opens and closes via a button on the left sidebar.
      • Includes a title, text area, notification alignment options, and a submit button.
      • Displays a toast message on the screen when the text area is filled and the button is clicked (using kommonitorToastHelperService).
  3. Configuration Considerations
    • This needed to taken into consideraion in config-storage-server.json
    • Currently, I have left it empty, so that it work with controls-config_backup.json where I have added the new component "notifier".

Future Scope
If we intend to use this component in the web client, we should consider the following improvements:

  1. Alarm System Integration
    Provide an option to schedule notifications, allowing users to choose when they should appear.
  2. Push Notification Support
    Implement Web Push Notifications so that notifications can be received even when the app is not open in the browser tab.

@Pranjal7852
Copy link
Author

ft.showcase.video.mp4

Please ignore the indicator legend on the right side which is included twice, It is a known bug #67

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant