This repository was archived by the owner on May 29, 2026. It is now read-only.
feat(widgets): unified Add/Edit widget modal#65
Merged
Conversation
Contributor
Quality Report — ConductionNL/mydash @
|
| Check | PHP | Vue | Security | License | Tests |
|---|---|---|---|---|---|
| lint | ✅ | ||||
| phpcs | ❌ | ||||
| phpmd | ✅ | ||||
| psalm | ✅ | ||||
| phpstan | ✅ | ||||
| phpmetrics | ✅ | ||||
| eslint | ✅ | ||||
| stylelint | ✅ | ||||
| composer | ✅ | ✅ 103/103 | |||
| npm | ✅ | ✅ 342/342 | |||
| PHPUnit | ⏭️ | ||||
| Newman | ⏭️ | ||||
| Playwright | ⏭️ |
Quality workflow — 2026-04-30 20:19 UTC
Download the full PDF report from the workflow artifacts.
0382df8 to
79d74ad
Compare
…..014 - src/utils/widgetForm.js: resetForm, loadEditingWidget, assembleContent helpers - src/components/Widgets/AddWidgetModal.vue: unified modal host for create+edit flows; dynamic <component :is> sub-form from widgetRegistry; per-type validate() gate; three close triggers (cancel, backdrop click, Esc); type-switch resets state - src/views/Views.vue: mount AddWidgetModal; openWidgetEditModal routes content-type placements to the modal, style-only placements fall through to WidgetStyleEditor; widget-edit from DashboardGrid/context-menu wired to openWidgetEditModal - src/__tests__/AddWidgetModal.test.js: 12 Vitest scenarios covering create/edit mode, type-switch leakage, submit field filtering, validation gating, close triggers
79d74ad to
6461467
Compare
Contributor
Quality Report — ConductionNL/mydash @
|
| Check | PHP | Vue | Security | License | Tests |
|---|---|---|---|---|---|
| lint | ❌ | ||||
| phpcs | ❌ | ||||
| phpmd | ❌ | ||||
| psalm | ❌ | ||||
| phpstan | ❌ | ||||
| phpmetrics | ❌ | ||||
| eslint | ❌ | ||||
| stylelint | ✅ | ||||
| composer | ❌ | ❌ | |||
| npm | ❌ | ❌ | |||
| PHPUnit | ❌ | ||||
| Newman | ❌ | ||||
| Playwright | ❌ |
Quality workflow — 2026-04-30 20:29 UTC
Download the full PDF report from the workflow artifacts.
Contributor
Quality Report — ConductionNL/mydash @
|
| Check | PHP | Vue | Security | License | Tests |
|---|---|---|---|---|---|
| lint | ✅ | ||||
| phpcs | ❌ | ||||
| phpmd | ✅ | ||||
| psalm | ✅ | ||||
| phpstan | ✅ | ||||
| phpmetrics | ✅ | ||||
| eslint | ✅ | ||||
| stylelint | ✅ | ||||
| composer | ✅ | ✅ 103/103 | |||
| npm | ✅ | ✅ 342/342 | |||
| PHPUnit | ⏭️ | ||||
| Newman | ⏭️ | ||||
| Playwright | ⏭️ |
Quality workflow — 2026-04-30 20:31 UTC
Download the full PDF report from the workflow artifacts.
7 tasks
rubenvdlinde
added a commit
that referenced
this pull request
Apr 30, 2026
…/nextcloud-vue (ADR-004) (#71) Two stragglers added by widget-add-edit-modal (#65/#68 runtime-shell) and widget-context-menu (#60) before ADR-004 landed via #34. Swap is mechanical: NcButton + NcEmptyContent are already exported by @conduction/nextcloud-vue and used elsewhere in the codebase (TileCard, WidgetRenderer, AdminSettings).
This was referenced May 1, 2026
rubenvdlinde
added a commit
that referenced
this pull request
May 3, 2026
…..014 (#65) - src/utils/widgetForm.js: resetForm, loadEditingWidget, assembleContent helpers - src/components/Widgets/AddWidgetModal.vue: unified modal host for create+edit flows; dynamic <component :is> sub-form from widgetRegistry; per-type validate() gate; three close triggers (cancel, backdrop click, Esc); type-switch resets state - src/views/Views.vue: mount AddWidgetModal; openWidgetEditModal routes content-type placements to the modal, style-only placements fall through to WidgetStyleEditor; widget-edit from DashboardGrid/context-menu wired to openWidgetEditModal - src/__tests__/AddWidgetModal.test.js: 12 Vitest scenarios covering create/edit mode, type-switch leakage, submit field filtering, validation gating, close triggers
rubenvdlinde
added a commit
that referenced
this pull request
May 3, 2026
…/nextcloud-vue (ADR-004) (#71) Two stragglers added by widget-add-edit-modal (#65/#68 runtime-shell) and widget-context-menu (#60) before ADR-004 landed via #34. Swap is mechanical: NcButton + NcEmptyContent are already exported by @conduction/nextcloud-vue and used elsewhere in the codebase (TileCard, WidgetRenderer, AdminSettings).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan