Skip to content

refactor(resources): retire the AngularJS Dashboard shell (#6589) - #6620

Merged
delchev merged 2 commits into
masterfrom
refactor/retire-dashboard-shell
Aug 8, 2026
Merged

refactor(resources): retire the AngularJS Dashboard shell (#6589)#6620
delchev merged 2 commits into
masterfrom
refactor/retire-dashboard-shell

Conversation

@delchev

@delchev delchev commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Closes #6589. Part of the umbrella #6591.

resources-dashboard hosted the AngularJS-generated application perspectives at
/services/web/dashboard/. Those templates went in #6588, so it has no consumer left — generated apps
are Harmonia SPAs served per project, and resources-application is the launchpad.

Two commits, in this order (the first is a hard prerequisite):

  1. Relocate the extension-point declarations. The module declared twelve platform-wide extension
    points — application-{perspectives,views,menus,settings,locales,shells,themes,tile,windows,subviews,reports}
    and dashboard-widgets — whose consumers sit far outside the AngularJS stack (the Harmonia shells,
    the Harmonia UI template's perspective.extension, Inbox, Documents, platform-core, the settings and
    translation views). They move next to application-projections in resources-application, the shell
    that actually aggregates them. Lookup is by extension-point name, so resolution is unchanged.
  2. Delete the rest — the Dashboard/Reports perspectives, the shared AngularJS EntityService /
    ProcessTasks services, i18n, images — plus the three Maven wirings. Two docs referencing the deleted
    process-tasks.js now point at the Harmonia runtime's processTasks store.

Out of scope, deliberately: no rename of the Harmonia application shell. It keeps id
applicationShell, label Applications and /services/web/application/.

Migration note

Already-generated AngularJS applications stop working at runtime — their views load shell assets from
/services/web/dashboard/. Regenerating with the Harmonia template is required, not optional.

Verification (running instance)

  • /services/web/dashboard/{index.html,perspectives/dashboard.html,services/process-tasks.js}404
  • Application, Personal, Partner, Admin, Monitoring, Builder shells, the IDE shell and Inbox → 200
  • all 13 extension points resolve from /application/extension-points/…, none from /dashboard/
  • sweep for web/dashboard|resources-dashboard|dashboard/services/process-tasks over components,
    tests and build is empty (one historical comment in an IT left alone)
  • mvn -T 1C clean package -P quick-build green

🤖 Generated with Claude Code

delchev and others added 2 commits August 8, 2026 09:16
…s to resources-application (#6589)

The twelve platform-wide extension points application-{perspectives, views,
menus, settings, locales, shells, themes, tile, windows, subviews, reports} and
dashboard-widgets were declared by the AngularJS Dashboard shell, but their
consumers sit far outside it - the Harmonia shells, the Harmonia UI template's
perspective extension, Inbox, Documents, platform-core, the settings and
translation views.

They move next to application-projections in resources-application, which is
the shell that actually aggregates them, so the AngularJS module can be removed
in the following commit. Lookup is by extension-point NAME
(ExtensionsFacade.getExtensions), so nothing about resolution changes; only the
declaring location does.

Part of #6591.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
resources-dashboard hosted the AngularJS-generated application perspectives at
/services/web/dashboard/. Those templates were removed in #6588, so the shell
has no consumer left: the generated apps are Harmonia SPAs served per project,
and the Harmonia application shell in resources-application is the launchpad.

Removed with it: the Dashboard and Reports AngularJS perspectives, the shared
EntityService/ProcessTasks AngularJS services (their only consumers were the
generated AngularJS views), the module's i18n and images, and the three Maven
wirings. The extension-point declarations moved to resources-application in the
preceding commit.

The Harmonia application shell keeps its id (applicationShell), its label
(Applications) and its /services/web/application/ URL - renaming it was
considered and dropped.

Migration: already-generated AngularJS applications stop working at runtime,
since their views load shell assets from /services/web/dashboard/. Regenerating
with the Harmonia template is required, not optional.

Part of #6591.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@delchev
delchev force-pushed the refactor/retire-dashboard-shell branch from 5d1dac7 to 0364a4a Compare August 8, 2026 06:16
@delchev
delchev merged commit 6db24b0 into master Aug 8, 2026
10 checks passed
@delchev
delchev deleted the refactor/retire-dashboard-shell branch August 8, 2026 06:21
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.

resources: retire the AngularJS Dashboard shell (resources-dashboard)

1 participant