This repository was archived by the owner on May 29, 2026. It is now read-only.
retrofit: legacy-widget-bridge capability (4 REQs / 5 methods)#23
Merged
rubenvdlinde merged 3 commits intoApr 24, 2026
Conversation
- New capability: legacy-widget-bridge (4 REQs) - Annotated 5 public methods + file header in src/services/widgetBridge.js - Ghost change: retrofit-legacy-widget-bridge-2026-04-24 Manual drive of opsx-reverse-spec (Wilco's feature/skill-improvement branch) as an end-to-end test of the skill on MyDash.
Merges specs/legacy-widget-bridge/spec.md with retrofit: true into openspec/specs/, moves change dir to openspec/changes/archive/, updates widgetBridge.js @SPEC annotations to the archived path. No code changes on purpose — retrofit describes existing behaviour; the archive flip is pure bookkeeping so sync_spec_content.py picks up the new capability as part of the retrofit cohort and Hydra can re-run the spec against the code for validation (expected no diff).
Contributor
Quality Report — ConductionNL/mydash @
|
| Check | PHP | Vue | Security | License | Tests |
|---|---|---|---|---|---|
| lint | ✅ | ||||
| phpcs | ❌ | ||||
| phpmd | ✅ | ||||
| psalm | ✅ | ||||
| phpstan | ✅ | ||||
| phpmetrics | ✅ | ||||
| eslint | ✅ | ||||
| stylelint | ✅ | ||||
| composer | ✅ | ✅ 100/100 | |||
| npm | ✅ | ✅ 342/342 | |||
| PHPUnit | ⏭️ | ||||
| Newman | ⏭️ | ||||
| Playwright | ⏭️ |
Quality workflow — 2026-04-24 09:27 UTC
Download the full PDF report from the workflow artifacts.
4 tasks
8 tasks
rubenvdlinde
added a commit
that referenced
this pull request
May 3, 2026
…-legacy-widget-bridge-2026-04-24 retrofit: legacy-widget-bridge capability (4 REQs / 5 methods)
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
Adds a new
legacy-widget-bridgecapability describing the observed behaviour ofsrc/services/widgetBridge.js— the client-side compatibility layer that captures legacy Nextcloud widget callbacks (window.OCA.Dashboard.register) and mounts them into the MyDash grid.4 REQs cover 5 public methods across one file. Code already existed — this PR is documentation of observed behaviour, not new implementation.
What this PR does
openspec/specs/legacy-widget-bridge/spec.md— new capability spec withretrofit: truefrontmatter (status: implemented)openspec/changes/archive/2026-04-24-retrofit-legacy-widget-bridge/— archived change (proposal + tasks + design + original delta)src/services/widgetBridge.js—@spectags on file header + 5 public methods, pointing at the archived change's tasks.md (file header tag-1..4, per-method tag-N)openspec/coverage-report.{json,md}— the scan that produced the retrofit planProduced as an end-to-end test of the
opsx-reverse-specskill. Learnings from the run already landed in hydra#176 (merged) + hydra#181 (open).REQs
interceptRegistrationmountWidgetmountStatusWidgethasWidgetCallback+getRegisteredWidgetIdsWhat this PR does NOT do
mountWidgetandmountStatusWidgetexplicitly (observed, not aspirational)/opsx-annotatepass against the existing 9 capability specsFollow-ups planned (post-merge)
python3 concurrentie-analyse/scripts/sync_spec_content.py mydash— Specter sync picks upretrofit: trueand flags the row as part of the retrofit cohortready-to-buildissue on this repo pointing at the new capability spec — Hydra's builder re-runs the spec and ideally produces zero diff; any diff is a learning signal (e.g. missing repo-specific ADRs the reverse-spec skill didn't create)Review focus
Test plan
ls openspec/specs/legacy-widget-bridge/spec.md— new capability presentgrep '@spec openspec' src/services/widgetBridge.js | wc -l→ 9 (4 file header + 5 method)widgetBridge.jscode