This repository was archived by the owner on May 29, 2026. It is now read-only.
Commit 36c58c8
committed
feat(page-editor): MVP visual designer (PageDesigner + ApplicationEditor shell)
- PageDesigner.vue: three-pane layout dispatching to per-page-type sub-editors;
side-panel validator errors; live-preview fallback affordance (TODO chain
spec #2 for in-memory preview mount).
- ApplicationEditor.vue: two-tab shell (Design default, Raw JSON fallback);
both tabs share the in-flight Pinia store so unsaved edits survive a tab
switch; Save is gated on dirty + no parse errors.
- CustomPageEditor.vue: StubPageEditor passthrough (full editor v1.1).
- Router: /applications/:slug, /applications/:slug/design (default),
/applications/:slug/json routes wired to ApplicationEditor.
- ESLint: disable import/named + n/no-unpublished-import (re-exports through
the aliased nextcloud-vue/src trip the resolver; webpack handles at build
time), broaden no-unused-vars to allow _-prefixed discarded destructure
vars, fix one JSDoc tag-parse warning.
Closes tasks 1.1-1.4, 2.1-2.5, 3.1-3.2, 4.1-4.3, 4.8, 5.1, 5.2, 5.3, 5.6.
Tasks 4.4-4.7, 4.9 ship as StubPageEditor passthroughs (round-trip lossless);
tests (7.x), i18n l10n bundles (6.x), and docs (8.x) deferred to v1.1.1 parent 3b49c86 commit 36c58c8
6 files changed
Lines changed: 572 additions & 163 deletions
File tree
- src
- components/page-editor
- composables
- router
- views
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| 41 | + | |
| 42 | + | |
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
25 | 45 | | |
26 | 46 | | |
27 | 47 | | |
| |||
0 commit comments