Files
Neon Overlord 874c25cfb7
build / build (push) Failing after 1m32s
fix: namespace the dashboard widget and reference provider IDs
Nextcloud keys dashboard widgets and reference providers globally, not per
app, so the rebrand had to cover them too and did not. This fork shipped
with upstream's IDs -- mastodon_notifications, mastodon_home_timeline and
mastodon-multi -- and enabling it alongside integration_mastodon clobbered
that app's registry entries. The dashboard then resolved those IDs to
classes in the wrong app and logged:

  Could not register lazy dashboard widget: OCA\Mastodon\Dashboard\MastodonWidget

Found on a live instance running both apps side by side. No data was
affected; disabling this app restored the other immediately.

The JS registrations in dashboard.js/dashboardHome.js are renamed to match,
since OCA.Dashboard.register() must agree with the widget's getId().

'connected-accounts' is deliberately left shared -- it is a core Nextcloud
settings section, not an app-owned identifier. 'mastodonToken' is likewise
left alone: it is a query parameter passed between this app's own controller
and its own settings page.

Assisted-by: Claude Code:claude-opus-5
2026-08-03 15:14:08 -07:00
..