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

feat(support-dialog): custom mount + preferences endpoint + nc-vue beta.102#1918

Merged
rubenvdlinde merged 1 commit into
developmentfrom
feat/support-dialog-and-preferences
May 25, 2026
Merged

feat(support-dialog): custom mount + preferences endpoint + nc-vue beta.102#1918
rubenvdlinde merged 1 commit into
developmentfrom
feat/support-dialog-and-preferences

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

Summary

Brings the fleet support dialog to OpenRegister without waiting on the (deferred) CnAppRoot shell migration — wired manually in App.vue.

  • Manual mount in src/App.vue: useSupportDialog('openregister', { persistence: 'server' }) + <CnSupportDialog> (app name/slug/App-Store/feature-request props). A <!-- … --> note marks it to be removed in favour of CnAppRoot's built-in auto-mount once the shell migration lands.
  • Preferences endpoint GET/PUT /api/preferences/{key} (IConfig user values, pref_* namespace, key-sanitised) — per-user "seen" flag, cross-device, localStorage fallback. Canonical controller (mirrors pipelinq#553 / nat#68).
  • Lib bump @conduction/nextcloud-vue beta.32beta.102 — pulls in CnSupportDialog/useSupportDialog.

Gates

  • npm run buildgreen (webpack 5.107.2 compiled, 28 pre-existing warnings, no errors). The 70-version lib jump compiles OR's source cleanly.
  • php -l clean; phpcs --standard=phpcs.xml — 0 errors (3 advisory @spec warnings).

Notes

  • Foundation app — not auto-merged; for review. The lib jump is large (beta.32→102); please smoke-test in an env before merge.
  • package-lock churn is from the lib bump (full install resolving the updated tree).

…ta.102

OpenRegister keeps its own root (the CnAppRoot migration is deferred),
so the first-open support note is wired manually in App.vue:
useSupportDialog('openregister', {persistence:'server'}) +
<CnSupportDialog>, persisting the per-user "seen" flag via the new
GET/PUT /api/preferences/{key} endpoint (IConfig user values,
localStorage fallback). Bumps @conduction/nextcloud-vue beta.32 -> beta.102
to pull in CnSupportDialog/useSupportDialog. Build verified green.

When the CnAppRoot shell migration lands, drop the manual block in
App.vue and rely on CnAppRoot's built-in auto-mount instead.
@rubenvdlinde rubenvdlinde added ready-for-code-review Build complete — awaiting code reviewer ready-for-security-review Code review complete — awaiting security reviewer labels May 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/openregister @ 6094aab

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

Quality workflow — 2026-05-25 22:23 UTC

Download the full PDF report from the workflow artifacts.

@rubenvdlinde rubenvdlinde merged commit 2ab30d6 into development May 25, 2026
19 of 24 checks passed
@rubenvdlinde rubenvdlinde deleted the feat/support-dialog-and-preferences branch May 25, 2026 22:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

ready-for-code-review Build complete — awaiting code reviewer ready-for-security-review Code review complete — awaiting security reviewer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant