Aias00 opened a new issue, #1014:
URL: https://github.com/apache/rocketmq-dashboard/issues/1014

   ## Problem\n loads exported rule YAML but handles create, update, delete, 
and enable/disable changes entirely in component state and . Refreshing the 
page discards the mutations, while the server already exposes persisted 
alert-rule APIs.\n\nThe page also builds exported YAML client-side instead of 
using the server-side representation, so the displayed state can diverge from 
persisted rules.\n\n## Expected behavior\n- Use the alert-rule CRUD/toggle APIs 
for every mutation.\n- Reload the persisted rule list after successful 
changes.\n- Export YAML from the server-side persisted rule set.\n- Surface API 
failures without altering the local view optimistically.\n\n## Acceptance 
criteria\n- A rule change survives page reload and is visible to another 
session.\n- Toggle/delete/create/update failures leave the displayed state 
unchanged.\n- Frontend tests cover successful and failed mutations.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to