-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add notification when report is generating #2843
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left 2 comments. Great job!
core/gui/src/app/common/service/notification/notification.service.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. left some minors
core/gui/src/app/common/service/notification/notification.service.ts
Outdated
Show resolved
Hide resolved
core/gui/src/app/common/service/notification/notification.service.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
This PR enhances the report generation functionality by adding animation during the process. This PR is a continuation and enhancement of the previous PR: Adding a button to generate a report for a workflow: #2770 Enhancing Report Generation by adding Operator Results: #2792 Enhancing Report Generation by Adding Operator Json and Comments Section : #2807 Ai Flag: #2818 and #2808 Key Changes: **menu.component.ts:** At the start, notification.blank is called to display a message, and notification.remove is used to remove it at the end. Upon successful generation, this.notificationService.success is invoked. **notification.service.ts:** notification.blank and notification.remove have been added. Screenshot of the notification: ![image](https://github.com/user-attachments/assets/76f01cfd-dd52-4ba5-8f87-d2703473e82e) ![image](https://github.com/user-attachments/assets/a0a06876-275d-4062-a62a-0b423488107c)
This PR enhances the report generation functionality by adding animation during the process. This PR is a continuation and enhancement of the previous PR:
Adding a button to generate a report for a workflow: #2770
Enhancing Report Generation by adding Operator Results: #2792
Enhancing Report Generation by Adding Operator Json and Comments Section : #2807
Ai Flag: #2818 and #2808
Key Changes:
menu.component.ts:
At the start, notification.blank is called to display a message, and notification.remove is used to remove it at the end. Upon successful generation, this.notificationService.success is invoked.
notification.service.ts:
notification.blank and notification.remove have been added.
Screenshot of the notification:
![image](https://private-user-images.githubusercontent.com/173539221/368640230-76f01cfd-dd52-4ba5-8f87-d2703473e82e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNjc3NjIsIm5iZiI6MTczOTI2NzQ2MiwicGF0aCI6Ii8xNzM1MzkyMjEvMzY4NjQwMjMwLTc2ZjAxY2ZkLWRkNTItNGJhNS04Zjg3LWQyNzAzNDczZTgyZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMVQwOTUxMDJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zZmRlMGJlZTVkMTJjMjRlZTgwNWM2ZjQzMTZmM2VkMGYwY2MyN2RmMDUzZjAyN2QxZWVmYmRmOTY0ZmRjNjU0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.jn94ABPEJwnE3EH-_RKuvBAr95X16ps5L1ADgBdExI4)
![image](https://private-user-images.githubusercontent.com/173539221/368640483-a0a06876-275d-4062-a62a-0b423488107c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNjc3NjIsIm5iZiI6MTczOTI2NzQ2MiwicGF0aCI6Ii8xNzM1MzkyMjEvMzY4NjQwNDgzLWEwYTA2ODc2LTI3NWQtNDA2Mi1hNjJhLTBiNDIzNDg4MTA3Yy5wbmc_WC1Bb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