[pbs-devel] [PATCH proxmox-backup 0/5] fix #3067: add notes functionality to webui
Stefan Sterz
s.sterz at proxmox.com
Tue Feb 22 12:25:51 CET 2022
This series adds support for comments/notes to a PBS node similar to
PVE's datacenter or node notes. It's split in two parts, the first two
commits add support for a single line comment, similar to the comments
already available for datastores. The next three commits refactor this
into Markdown-based multi-line comments and add an additional tab to
the UI to provide more space. If prefered, I can squash the commits.
Stefan Sterz (5):
fix #3067: api: add support for a comment field in node.cfg
fix #3067: pbs ui: add support for a notes field in the dashboard
fix #3067: api: add multi-line comments to node.cfg
fix #3607: ui: make dashboard notes markdown capable
fix #3607: ui: add a separate notes view for longer markdown notes
pbs-api-types/src/lib.rs | 9 ++
src/api2/node/config.rs | 4 +
src/config/node.rs | 11 ++-
src/tools/config.rs | 62 ++++++++++++
www/Dashboard.js | 110 +++++++++++++---------
www/Makefile | 4 +-
www/NavigationTree.js | 6 ++
www/NodeNotes.js | 22 +++++
www/datastore/Summary.js | 6 +-
www/panel/MarkdownNotes.js | 151 ++++++++++++++++++++++++++++++
www/{datastore => panel}/Notes.js | 19 +++-
11 files changed, 351 insertions(+), 53 deletions(-)
create mode 100644 www/NodeNotes.js
create mode 100644 www/panel/MarkdownNotes.js
rename www/{datastore => panel}/Notes.js (81%)
--
2.30.2
More information about the pbs-devel
mailing list