TWSD-517 - HSOL-3708 / Warning message of graph in WebUI
Review Request #1483 — Created April 9, 2026 and submitted
| Information | |
|---|---|
| shuinvy | |
| APV10 | |
| rel_apv_10_7 | |
| TWSD-517 | |
| Reviewers | |
| austin, kevin.poh, mingji | |
Modify the cookie path and clear cookie when logout
The Jira ticket is:
https://arraynetworks.atlassian.net/browse/TWSD-517It 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 cookiepathshould 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 requireFor the warning window and cookie,
you can see the attachment as reference.
Change Summary:
I removed some useless module in require. Originally, I use
_as abbreviation for the module. However, there is other module is used to this charactor (Just like JQuery use$).
After researching, I thought those module is useless, so I jsut remove them, and I don't need to set abbreviation for them.
Change Summary:
I found the module
momentis used, so I revert the code for it(Don't to remove it)
Diff: |
Revision 3 (+42 -124)
|
|---|
