Skip to content

Serve shared UI files from source in dev mode - #3537

Open
Ekhorn wants to merge 1 commit into
mainfrom
enhancement/serve-shared-ui-files-from-source
Open

Ekhorn wants to merge 1 commit into
mainfrom
enhancement/serve-shared-ui-files-from-source

Conversation

@Ekhorn

@Ekhorn Ekhorn commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Description

When OR_APP_DOCROOT points at the install dir, /shared is served from a copy, so a translation change only shows up after installDist.

In dev mode, /shared is now served directly from ui/app/shared, so these changes no longer need a rebuild. Production and custom projects are not affected.

Checklist

  • 1. Acceptance criteria of the linked issue(s) are met
  • 2. Tests are written and all tests pass
  • 3. Changes are manually tested by you and the reviewer
  • 4. Documentation is written or updated

The shared files reach the manager through two Gradle copies, so a change
to a translation only showed up after installDist and a restart. Deploy
the source dir at /shared in dev mode so it is served directly.
@Ekhorn
Ekhorn requested a review from richturner November 2, 2026 15:14
@Ekhorn Ekhorn self-assigned this Nov 2, 2026
@sonarqubecloud

sonarqubecloud Bot commented Nov 2, 2026

Copy link
Copy Markdown

@Ekhorn

This comment was marked as low quality.

@richturner

Copy link
Copy Markdown
Member

How does this affect custom project dev?

Configuring OR_APP_DOCROOT as the 'installDist' output dir is more of an edge case than the norm.

This branch has not been deployed

No deployments
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.

2 participants