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

Bug: VirtualAppsActions actionsComponent not mounting on CnIndexPage index page #66

Description

@rubenvdlinde

Symptom

The Virtual apps index (`/apps/openbuilt/applications`) renders the generic CnIndexPage "+ Add Item" button + "Create Item" dialog instead of the custom `VirtualAppsActions` component that opens the four-step creation wizard.

Verified state

  • `src/manifest.json` correctly sets `config.actionsComponent: "VirtualAppsActions"` on the VirtualApps page entry
  • `src/customComponents.js` correctly imports + registers VirtualAppsActions
  • The component file `src/components/VirtualAppsActions.vue` builds and renders correctly in isolation (Vitest mounting test passes)
  • Browser DOM check: no `.ob-va-actions` element present anywhere on the index page

Hypothesis

nc-vue's CnIndexPage may not honor the `config.actionsComponent` prop on index pages — that pathway is documented for detail pages in the nc-vue CLAUDE.md (`actionsComponent: "ApplicationDetailActions"` on the VirtualAppDetail entry works correctly per smoke test). Index pages may need a different escape hatch (e.g. a `#actions` slot override or a different config key).

Repro

  1. Apply PRs [1/8] refactor: split Application + ApplicationVersion (ADR-002 foundation) #58[8/8] fix(tests): stabilise 11 PHPUnit failures + ProductionVersionGuardListener runtime bug #65 (the chain)
  2. `docker exec nextcloud php occ maintenance:repair && docker exec nextcloud apache2ctl graceful`
  3. Navigate to `/apps/openbuilt/applications`
  4. Click "+ Add Item"
  5. Observe: generic "Create Item" dialog (not the wizard)

Likely fix

Either:

  • Add a `#actions` slot to ApplicationCard's parent that mounts the custom component, OR
  • Extend CnIndexPage in nc-vue to honor `config.actionsComponent` (per spec design intent), OR
  • Replace the manifest pattern with a direct Vue route component that owns the index + Add button explicitly

Wizard spec: `openspec/changes/openbuilt-app-creation-wizard/specs/application-creation-wizard/spec.md` (REQ-OBWIZ-001).

Surfaced during the morning visual smoke pass on the chain.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions