Skip to content

fix(dashboard): drop the second Refresh from the dashboard header - #1587

Merged
rubenvdlinde merged 1 commit into
developmentfrom
fix/duplicate-refresh-action
Sep 1, 2026
Merged

fix(dashboard): drop the second Refresh from the dashboard header#1587
rubenvdlinde merged 1 commit into
developmentfrom
fix/duplicate-refresh-action

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

What

The dashboard shipped two Refresh controls side by side. CnActionsMenu renders one as the first item of the page-level Actions overflow menu, and the manifest declared another as a header button right next to it. A user reported it on the dossiq dashboard.

Why they were the same thing

A "type": "refresh" headerAction is dispatched by actionsDispatcher.js as emit(PAGE_REFRESH_CHANNEL, {}). That is the exact signal CnActionsMenu broadcasts on refresh-channel="cn:page:refresh". Same channel, same subscribers, same effect. Removing the header action takes away the duplicate and nothing else.

An app that wants to keep a prominent Refresh button can stand the menu item down with showRefresh: false instead. openregister does that. Shipping both is what this removes.

Verified

  • npm run check:manifest: Ajv validation PASS, 0 errors
  • Rebuilt and grepped the built bundle, not src/: the action id is gone from js/, and sibling action ids are still present, so the grep can find what is there
  • Live on the dev instance: header Refresh buttons = 0, Actions menu Refresh items = 1

Related

Four sibling PRs fix the other surfaces (dossiq, hermiq, larpinq, opencatalogi, shillinq), and ConductionNL/.github adds gate-104 duplicate-page-refresh so this cannot come back.

The dashboard shipped two Refresh controls side by side. CnActionsMenu
renders one as the first item of the page-level Actions overflow menu, and
the manifest declared another as a header button next to that menu.

They did the same thing. A "type": "refresh" headerAction is dispatched as
emit(PAGE_REFRESH_CHANNEL, {}), which is the exact signal CnActionsMenu
broadcasts on refresh-channel="cn:page:refresh". Same channel, same
subscribers. Removing the header action takes away the duplicate and nothing
else.

An app that wants to keep a prominent Refresh button can stand the menu item
down with showRefresh: false instead. openregister's dashboard does that.
Shipping both is what this removes.
@github-actions

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/dossiq @ 65f371c

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
build
check-manifest
check-vue3-compile
test-l10n
format
check-schema-l10n
check-l10n-js
composer ✅ 106/106
npm ✅ 540/540
app:check-code ⏭️
info.xml
REUSE
PHPUnit
Newman ⏭️
Playwright ⏭️ deferred — runs on the promotion into beta/main, not on a pull request into development
Hydra gates

Quality workflow — 2026-08-31 21:59 UTC

Download the full PDF report from the workflow artifacts.

@rubenvdlinde
rubenvdlinde merged commit 5007151 into development Sep 1, 2026
49 checks passed
@rubenvdlinde
rubenvdlinde deleted the fix/duplicate-refresh-action branch September 1, 2026 04:59
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