[pbs-devel] [PATCH proxmox-backup v5 0/5] fix 3067: add notes functionality in webui
Stefan Sterz
s.sterz at proxmox.com
Tue Apr 12 12:34:18 CEST 2022
adds support for markdown-based notes to pbs. It also refactors the
pve `NotesView` panel and `NotesEdit` window so that we can move it
to the widget toolkit and maintain a single version of the two.
hence, the last commits for proxmox-backup and pve-manager need to be
applied and bumped with or after the toolkit.
changes v5:
* split commit adding NotesEdit and NotesView to widget kit into two
commits
* several minort improvements to NotesEdit and NotesView
changes v4 (thanks @ Thomas Lamprecht):
* several improvements to NotesView
* makes onlineHelp of the NotesEdit window used by NotesView
configurable
changes v3 (thanks @ Dominik Csapak):
* refactored NotesView and NotesEdit
* removed notes from dashboard
* several javascrpt improvements
changes v2 (thanks @ Wolfgang Bumiller):
* performance improvements when parsing/writing a node configuration
* adjusted multi-line regex to remove superfluous "\s*"
* better formatting of rust code
Stefan Sterz (2):
fix #3067: docs: add markdown primer from pve to pbs
fix #3067: ui: add a separate notes view for longer markdown notes
docs/index.rst | 1 +
docs/markdown-primer.rst | 178 +++++++++++++++++++++++++++++++++++++++
www/Makefile | 1 +
www/NavigationTree.js | 6 ++
www/NodeNotes.js | 23 +++++
5 files changed, 209 insertions(+)
create mode 100644 docs/markdown-primer.rst
create mode 100644 www/NodeNotes.js
Stefan Sterz (2):
toolkit: add NotesView panel and NotesEdit window
toolkit: refactor markdown based NotesView and NotesEdit
src/Makefile | 2 +
src/panel/NotesView.js | 152 ++++++++++++++++++++++++++++++++++++++++
src/window/NotesEdit.js | 38 ++++++++++
3 files changed, 192 insertions(+)
create mode 100644 src/panel/NotesView.js
create mode 100644 src/window/NotesEdit.js
Stefan Sterz (1):
ui: move NotesView panel and NotesEdit window to widget kit
www/manager6/Makefile | 2 -
www/manager6/dc/Config.js | 2 +-
www/manager6/node/Config.js | 2 +-
www/manager6/panel/GuestSummary.js | 2 +-
www/manager6/panel/NotesView.js | 129 -----------------------------
www/manager6/window/NotesEdit.js | 38 ---------
6 files changed, 3 insertions(+), 172 deletions(-)
delete mode 100644 www/manager6/panel/NotesView.js
delete mode 100644 www/manager6/window/NotesEdit.js
--
2.30.2
More information about the pbs-devel
mailing list