Skip to main content

Where to Change What

This is the page most contributors need once they understand the workspace shape and want to place a change correctly.

Quick routing table​

If you need to change...Start hereReason
a screen only used by the local frontendprojects/local-app/src/app/moduleskeeps local logic local
a screen only used by the global frontendprojects/global-app/src/app/modulesavoids leaking global code into the local app
a reusable component, dialog, badge, or layout pieceprojects/shared-lib/src/lib/componentsboth apps can consume it
shared business logic or API wrappersprojects/shared-lib/src/lib/services or shared modulesone implementation is easier to maintain
assets like logos or imagesprojects/shared-lib/src/assets/images/ set in /projects/local-app/src/environmentsassets are swapped into app builds
translationsprojects/shared-lib/src/assets/i18nboth apps read from the same translation assets

Practical rules​

Put code in an app when​

  • the feature only exists in one app, e.g. data import in the local app
  • route structure is app-specific
  • the screen depends on app-only state or app-only backend flows

Put code in shared-lib when​

  • both apps already need it
  • the second app will need it soon and the shared shape is obvious
  • the code is generic enough that the app folders should not own it

If you are still unsure​

Start in the route-owning app module, fix the behavior there, and extract only the part that is clearly shared.