[Feature] When the version is released, the front-end prompts the user to refresh #1078
Closed
2 tasks done
Labels
Projects
Search before asking
Problem Description
After each version release, if users do not refresh the page, the browser may still cache the content of the previous version, which will affect users' normal use of DSS.
The current user is not clear about the features and usage of each version release. They hope to use version release prompts to guide users to understand the newly added and optimized features and defects fixed in each version.
Description
Version release prompt
If the version number cached by the user's current browser does not match the version number of the server, a prompt will pop up.
Scope of prompt occurrence: Any page in DSS (if it does not jump out of DSS, the prompt page will pop up, such as in Scriptis, homepage, DSS workflow, management console)
When the prompt appears: When the user switches pages, it will pop up (such as switching from Scriptis to the management console, switching from the management console to the homepage, etc.).
--Prompt when switching pages: such as switching to the homepage from Scriptis (if the iframe is moved, it will change once).
interactive
When the user clicks "Update now", the front-end automatically refreshes the page for the user to obtain the new version.
Reason for forcing the user to refresh immediately: There is no situation that will trigger the user to edit the content unsaved, the content is lost, because the user is first asked to save the content being edited before cutting the tab.
Popup Content
other
Add a new display of 'Dynamics and Announcements', which displays the' DSS Function Release Record 'knowledge base link. Click the link to expand on the new tab page.
Use case
No response
solutions
When deploying dss, use the dss interface:
Interface Path: /api/rest_j/v1/dss/framework/workspace/getReleaseNote
The demo data is as follows:
Return data:
When deploying scriptis separately, use the scriptis interface:
Interface Path: /api/rest_j/v1/dss/scriptis/getReleaseNote
The demo data is as follows:
Return data:
Anything else
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: