Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Angular XMC Proxy] Extract SXP related things from the base Angular template #1838

Merged
merged 39 commits into from
Jul 26, 2024

Conversation

yavorsk
Copy link
Contributor

@yavorsk yavorsk commented Jul 17, 2024

Description / Motivation

This PR extracts all SXP related code from the base Angular template into a new angular-sxp addon template.
It also adds initializer for the new add on. The regular Angular app should now be initialized by providing both templates: 'angular,angular-sxp'


Illia:

  • Added new "scripts" module/component to make scripts extendable (will be needed in angular-xmcloud addon)
  • Decomposed "scripts" from "routing" module
  • data-fetcher service is injected in the root module using "providedIn", so it doesn't require to import this service directly in "app.module"
  • Cleaned up dependencies

Testing Details

  • Unit Test Added
  • Manual Test/Other (Please elaborate) - yarn watch with templates 'angular', 'angular-sxp'; teamcity pipelines should pass

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@yavorsk yavorsk requested a review from a team July 17, 2024 08:33
Copy link
Contributor

@addy-pathania addy-pathania left a comment

Choose a reason for hiding this comment

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

As a part of this we also need to add an empty angular-xmc add-on

Copy link
Contributor

@illiakovalenko illiakovalenko left a comment

Choose a reason for hiding this comment

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

Good progress!
See some ideas/questions below

Copy link
Contributor

@ambrauer ambrauer left a comment

Choose a reason for hiding this comment

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

Some final questions / suggestions, otherwise looks good!

@illiakovalenko illiakovalenko merged commit 93a0cbd into feature/angular-xmc-proxy Jul 26, 2024
1 check passed
@illiakovalenko illiakovalenko deleted the feature/jss-3538 branch July 26, 2024 10:30
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.

5 participants