Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: 23387e172cefb4f8fa62d27010b7d5a4c55fa424
https://github.com/Checkmk/checkmk/commit/23387e172cefb4f8fa62d27010b7d5a4c…
Author: Benedikt Seidl <benedikt.seidl(a)checkmk.com>
Date: 2024-10-22 (Tue, 22 Oct 2024)
Changed paths:
M cmk/gui/form_specs/private/__init__.py
A cmk/gui/form_specs/private/single_choice_editable.py
M cmk/gui/form_specs/vue/form_spec_visitor.py
M cmk/gui/form_specs/vue/shared_type_defs.py
M cmk/gui/form_specs/vue/visitors/__init__.py
A cmk/gui/form_specs/vue/visitors/single_choice_editable.py
M cmk/gui/wato/pages/notifications/quick_setup.py
M packages/cmk-frontend-vue/.prettierignore
M packages/cmk-frontend-vue/package-lock.json
M packages/cmk-frontend-vue/package.json
M packages/cmk-frontend-vue/scripts/test_license_headers.py
M packages/cmk-frontend-vue/src/components/FormEditAsync.vue
M packages/cmk-frontend-vue/src/components/_demo/DemoFormEditAsync.vue
A packages/cmk-frontend-vue/src/components/_demo/DemoFormSingleChoiceEditable.vue
A packages/cmk-frontend-vue/src/components/_demo/public/mockServiceWorker.js
M packages/cmk-frontend-vue/src/components/_demo/router.ts
M packages/cmk-frontend-vue/src/form/components/FormEdit.vue
M packages/cmk-frontend-vue/src/form/components/FormReadonly.vue
A packages/cmk-frontend-vue/src/form/components/forms/FormSingleChoiceEditable.vue
A packages/cmk-frontend-vue/src/form/components/rest_api.ts
A packages/cmk-frontend-vue/src/form/components/utils/configuration_entity.ts
M packages/cmk-frontend-vue/src/form/components/vue_formspec_components.ts
M packages/cmk-frontend-vue/vite.config.demo.ts
M packages/cmk-shared-typing/source/vue_formspec/components.json
Log Message:
-----------
SingleChoiceEditable
It's a SingleChoice, but the currently selected element can be edited,
or a new one can be created. Fetching the form-schema, element creation
and modification is done via REST-API.
Visit the following URL on the dev server to try out the FormSpec:
http://localhost:5173/heute/check_mk/index.py?start_url=%2Fheute%2F
check_mk%2Fwato.py%3Ffolder%3D%26mode%3Dnotification_rule_quick_setup
Or visite the demo page as described by
packages/cmk-frontend-vue/README.md
CMK-19273
Change-Id: I49892bde1637bfbaa63bed90dac1146290d3c244
Co-authored-by: Moritz Kirschner <moritz.kirschner(a)checkmk.com>
Commit: 2074bead35c1abc41a5e005f586fdacd4102c22a
https://github.com/Checkmk/checkmk/commit/2074bead35c1abc41a5e005f586fdacd4…
Author: Benedikt Seidl <benedikt.seidl(a)checkmk.com>
Date: 2024-10-22 (Tue, 22 Oct 2024)
Changed paths:
M packages/cmk-frontend-vue/src/components/_demo/DemoFormSingleChoiceEditable.vue
M packages/cmk-frontend-vue/src/form/components/utils/configuration_entity.ts
Log Message:
-----------
improve demo for SingleChoiceEditable
load choices from backend
Change-Id: Ib1515190e230e1b129c5a9c0ae921c7b724506af
Commit: 0609e11bedf9967cefd01a6ff5f7e9b49221d738
https://github.com/Checkmk/checkmk/commit/0609e11bedf9967cefd01a6ff5f7e9b49…
Author: Benedikt Seidl <benedikt.seidl(a)checkmk.com>
Date: 2024-10-22 (Tue, 22 Oct 2024)
Changed paths:
M packages/cmk-frontend-vue/src/components/FormEditAsync.vue
M packages/cmk-frontend-vue/src/components/_demo/DemoFormEditAsync.vue
M packages/cmk-frontend-vue/src/form/components/forms/FormSingleChoiceEditable.vue
M packages/cmk-frontend-vue/src/form/components/utils/configuration_entity.ts
Log Message:
-----------
FormEditAsync: make return value generic
FormEditAsync should be a generic building block that is not tied to
FormSingleChoiceEditable so the return value was made generic
Change-Id: Ie9c167bf52535c8134f5d9800c37c7ec1c10b41a
Compare:
https://github.com/Checkmk/checkmk/compare/f738fbdde7ed...0609e11bedf9
To unsubscribe from these emails, change your notification settings at
https://github.com/Checkmk/checkmk/settings/notifications