Skip to content

[Angular CSDK] Multisite, personalize and events #516

Merged
art-alexeyenko merged 14 commits into
release/beta-angularfrom
feature/jss-8962-ang-multi-pers
Jun 18, 2026
Merged

[Angular CSDK] Multisite, personalize and events #516
art-alexeyenko merged 14 commits into
release/beta-angularfrom
feature/jss-8962-ang-multi-pers

Conversation

@art-alexeyenko

Copy link
Copy Markdown
Collaborator
  • Personalization support
  • Multisite support
    • Both implemented through Express middleware
    • Both support server and browser navigation
      • in case of browser navigation, variant and site data is populated for the /_data request, before resolving loader data for LoaderDataService
  • Expanded cli.config logic to accept config object and call generateSites()
    • Angular config logic moved to separate submodule - in order to avoid importing Angular inject and other side effects when not needed.
  • Refactors in loader logic for clearer flow and reducing type duplication
  • Injectable Analytics wrappers for browser and server accessible within Angular context
  • Add events to form component
  • Add CDP page view component.

@changeset-bot

changeset-bot Bot commented Jun 15, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: a6c626c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@sitecore-content-sdk/angular Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

…ntent-sdk into feature/jss-8962-ang-multi-pers

# Conflicts:
#	packages/create-content-sdk-app/src/templates/angular/src/app/app.ts

@illiakovalenko illiakovalenko left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job! 👍
There are a lot of changes here. Please see my suggestions below.

Comment thread packages/angular/src/server/middleware/multisite-middleware.ts Outdated
Comment thread packages/angular/src/server/middleware/multisite-middleware.ts Outdated
Comment thread packages/angular/src/server/server-loader-runner.ts
Comment thread packages/angular/src/server/middleware/personalize-middleware.ts Outdated
Comment thread packages/angular/src/server/middleware/multisite-middleware.ts Outdated
Comment thread packages/create-content-sdk-app/src/templates/angular/src/server.ts
Comment thread packages/content/src/site/utils.ts
Comment thread packages/angular/src/server/utils.ts
Comment thread packages/angular/src/components/sc-form.component.ts Outdated
Comment thread packages/angular/src/lib/analytics/sitecore-analytics.ts

@illiakovalenko illiakovalenko left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍
Please, see a couple of comments below before merge

Comment thread packages/angular/src/config/define-config.ts
Comment thread packages/angular/src/loaders/models.ts
Comment thread middleware-refactor-review.md Outdated
@art-alexeyenko art-alexeyenko merged commit 7630555 into release/beta-angular Jun 18, 2026
1 check passed
@art-alexeyenko art-alexeyenko deleted the feature/jss-8962-ang-multi-pers branch June 18, 2026 17:48
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