TWSD-517 - HSOL-3708 / Warning message of graph in WebUI

Review Request #1483 — Created April 9, 2026 and submitted — Latest diff uploaded

shuinvy
APV10
rel_apv_10_7
TWSD-517
austin, kevin.poh, mingji

Modify the cookie path and clear cookie when logout

The Jira ticket is:
https://arraynetworks.atlassian.net/browse/TWSD-517

It is reopened ticket.
I organized the code that all pages will call same function in our library.
The main function of the changes are:
1. Check cookie named 'no_warning' is exist or not. If it is not exist, then show warning and record the cookie. Otherwise, hide the warning.
2. The cookie path should be /. Originally, it will be URL for each page, such as /apv/monitoring/index/slb.
3. When we call logout API, clear the cookie named 'no_warning'.
4. Remove useless module in require

For the warning window and cookie,
you can see the attachment as reference.


    Loading...