Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.

feat(manifest-v2): migrate to universal widget manifest - #110

Merged
rubenvdlinde merged 1 commit into
developmentfrom
feat/manifest-v2
May 19, 2026
Merged

feat(manifest-v2): migrate to universal widget manifest#110
rubenvdlinde merged 1 commit into
developmentfrom
feat/manifest-v2

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

Summary

Phase 2 of the v2 manifest rollout (hydra ADR-036). The v1 manifest is now v2: unified widgets[] array, grid coordinates per widget, the 5-kind component registry, and (where applicable) _note fields on remaining type: "custom" pages.

What changed

  • @conduction/nextcloud-vue: ^1.0.0-beta.40^1.0.0-beta.58 (Ajv CSP hotfix from nc-vue #259 included)
  • src/manifest.json: codemod-migrated v1 → v2
  • src/registry.js (new): 5-kind component registry
  • src/main.js + src/App.vue: registry prop wired on CnAppRoot alongside existing customComponents

References

  • procest #512 — first reference migration (58 pages, merged today)
  • mydash #206 — runtime-manifest reference (merged today)

Hydra labels

Not adding ready-for-code-review / ready-for-security-review — Hydra is paused. Ready for manual review.

Test plan

  • npm run build clean
  • validateManifestV2(manifest) returns { valid: true, errors: [] }
  • App boots in browser; Vue mounts; no new CSP errors

Phase 2 of the v2 manifest rollout (hydra ADR-036). Bumps
@conduction/nextcloud-vue to ^1.0.0-beta.58 and runs manifest-migrate
to convert openbuilt's manifest from v1 to v2. Adds the 5-kind component
registry. References: procest #512, mydash #206.
@github-actions

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/openbuilt @ 837485b

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
composer ✅ 100/100
npm
PHPUnit ⏭️
Newman ⏭️
Playwright ⏭️

Quality workflow — 2026-05-19 15:05 UTC

Download the full PDF report from the workflow artifacts.

@rubenvdlinde
rubenvdlinde merged commit 40e6c48 into development May 19, 2026
15 of 20 checks passed
@rubenvdlinde
rubenvdlinde deleted the feat/manifest-v2 branch May 19, 2026 15:15
rubenvdlinde added a commit that referenced this pull request May 20, 2026
…oadmap→roadmap (refs #112) (#123)

Combines the #110 follow-up flips (TemplateGallery as cards-index,
Page/SchemaDesigner as detail-with-slots, Exports as index over
export-job) with the fleet-wide FeaturesRoadmap conversion to
type:"roadmap" shipped in nc-vue beta.61 (nextcloud-vue#265).

Page-type breakdown shifts from:
  dashboard:1 index:2 detail:0 custom:8 = 11 pages (73% custom)
to:
  dashboard:1 index:5 detail:3 custom:1 roadmap:1 = 11 pages (9% custom)

Flips (5 → typed primitives):

  * Schemas → type:"index" on openbuilt/application
  * Templates → type:"index" on openbuilt/application-template
    (cards viewMode — matches the original TemplateGallery shape
    Ruben called out: same data shape as index, just a different
    visualisation)
  * SchemaDesignerList → type:"index" on openbuilt/application
    (per-app schemas under /builder/:slug/schemas)
  * SchemaDesigner → type:"detail" + slots.default → SchemaDesignerView
    (CnDetailPage shell + bespoke designer canvas in the body slot)
  * PageDesigner → type:"detail" + slots.default → PageDesignerView
    (same pattern; bespoke three-pane manifest editor as body)
  * Exports → type:"index" on openbuilt/export-job

Flip (1 → roadmap):

  * FeaturesRoadmap → type:"roadmap" (nc-vue CnFeaturesAndRoadmapPage
    auto-resolves repo/features/disabled via manifest config →
    loadState(appId, ...) → fallback chain)

Stays custom (1 entry, genuine reason):

  * BuilderHost (/builder/:slug/:pathMatch(.*)?) — meta-app-shell that
    mounts a nested CnAppRoot rendering a virtual app's own manifest.
    No standard typed page covers "app inside app" runtime hosting.

Side effects:
  * Deletes src/views/FeaturesRoadmap.vue (was wrapper for the old
    type:"custom" surface).
  * Drops unused TemplateGalleryView + ExportJobsView + FeaturesRoadmap
    entries from src/customComponents.js + src/registry.js (their pages
    are now typed primitives).
  * Bumps @conduction/nextcloud-vue ^1.0.0-beta.40 → ^1.0.0-beta.61.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant