Skip to content

feat: activate ConceptOrganisaties dashboard widget with shared chunks#215

Merged
rubenvdlinde merged 1 commit intodevelopmentfrom
feat/activate-dashboard-widget
May 5, 2026
Merged

feat: activate ConceptOrganisaties dashboard widget with shared chunks#215
rubenvdlinde merged 1 commit intodevelopmentfrom
feat/activate-dashboard-widget

Conversation

@rubenvdlinde
Copy link
Copy Markdown
Contributor

Summary

  • Activates the previously orphaned ConceptOrganisaties dashboard widget by registering it in lib/AppInfo/Application.php. The widget already had a Vue mount and load() method but was never exposed to the dashboard.
  • Brings the bundle in line with the ADR-004 widget pattern: splitChunks emits softwarecatalog-shared-vendor.js + softwarecatalog-shared-nc-vue.js, runtimeChunk emits softwarecatalog-runtime.js, widget load() attaches runtime → vendor → nc-vue → widget in order.
  • Drops the unused ts-loader rule (0 .ts files under src/).
  • Bumps appinfo 0.1.1400.1.141 so Nextcloud invalidates the cached widget script.

Test plan

  • npm run build — produces shared-vendor / shared-nc-vue / runtime chunks plus softwarecatalog-conceptOrganisatiesWidget.js
  • composer check:strict passes
  • After deploy, dashboard exposes "Concept organisaties" widget; mounting does not throw

Wire up the previously orphaned ConceptOrganisaties widget by registering it
in Application.php. Widget previously had load() + Vue mount but was never
exposed to the dashboard.

Also bring the bundle in line with the org-wide ADR-004 pattern:
- splitChunks emits softwarecatalog-shared-vendor.js (vue/pinia/icons) and
  softwarecatalog-shared-nc-vue.js (@nextcloud/vue + @conduction/nextcloud-vue)
- runtimeChunk emits softwarecatalog-runtime.js for cross-chunk module
  resolution
- Widget load() attaches runtime + vendor + nc-vue + widget chunks in order
- Drops the unused ts-loader rule (0 .ts files in src/)

Bumps appinfo version 0.1.140 → 0.1.141 to bust the Nextcloud script cache.
@rubenvdlinde rubenvdlinde merged commit 2a9760d into development May 5, 2026
8 of 13 checks passed
@rubenvdlinde rubenvdlinde deleted the feat/activate-dashboard-widget branch May 5, 2026 09:13
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 5, 2026

Quality Report — ConductionNL/softwarecatalog @ 9677610

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

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

Download the full PDF report from the workflow artifacts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant