Duansg opened a new pull request, #4158:
URL: https://github.com/apache/hertzbeat/pull/4158
## What's changed?
close #4155
Support editing custom dashboard (Bulletin) definitions and simplify metric
selection.
- Fix name validation so a bulletin keeps its own name when edited.
- Backfill name / type / monitors / metrics in the edit dialog.
- Replace the metric nz-transfer with a single checkable nz-tree.
- Disable the monitor-type select in edit mode.
- Merge label filtering into the monitor-name search (match name / label
key / value) and remove the separate label-filter field.
- Show monitor labels as key:value tags in the dropdown.
## Checklist
- [x] I have read the [Contributing
Guide](https://hertzbeat.apache.org/docs/community/code_style_and_quality_guide)
- [ ] I have written the necessary doc or comment.
- [x] I have added the necessary unit tests and all cases have passed.
## Add or update API
- [ ] I have added the necessary [e2e
tests](https://github.com/apache/hertzbeat/tree/master/e2e) and all cases have
passed.
> New
<img width="1326" height="633" alt="new"
src="https://github.com/user-attachments/assets/384e7bfe-dc1b-47fa-94e1-4b8cab79bc83"
/>
> Edit - Query Monitors
<img width="1362" height="622" alt="edit"
src="https://github.com/user-attachments/assets/ae14c040-2f30-4175-82da-ac73ce295d19"
/>
> Edit - Select Monitor Metrics
<img width="1410" height="637" alt="edit_1"
src="https://github.com/user-attachments/assets/b0faae46-69b2-4a02-ac9d-e60efbf148d0"
/>
> Dashboard
<img width="1426" height="579" alt="show"
src="https://github.com/user-attachments/assets/2e6d498d-9475-4516-99ec-d6dc575316d6"
/>
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]