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

UI: Handle deprecation router service from host #28281

Closed

Conversation

hashishaw
Copy link
Contributor

@hashishaw hashishaw commented Sep 4, 2024

Description

Fixes this deprecation for ember engine router in every engine except replication (there are some other issues going on there that will have to be handled separately).

There are a lot of changes here because we have multiple engines, but the changes all fall into a few categories:

  • replace router engine dependencies with aliased app-router

  • inject app-router service within engines instead of router

  • update transition-to within engines to use a helper which references the app-router service instead

  • update LinkedBlock (which is a core component used across engines and the main app) to use app-router service if available, otherwise fall back to using the regular router service

  • ent tests pass

@github-actions github-actions bot added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label Sep 4, 2024
Copy link

github-actions bot commented Sep 4, 2024

CI Results:
All Go tests succeeded! ✅

@hashishaw hashishaw changed the base branch from ui/VAULT-30635/handle-ember-cli-deprecations to main September 6, 2024 20:41
@hashishaw hashishaw changed the base branch from main to ui/VAULT-30635/handle-ember-cli-deprecations September 6, 2024 20:41
@hashishaw hashishaw added this to the 1.19.0-rc milestone Sep 10, 2024
Copy link
Contributor

Choose a reason for hiding this comment

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

🥳 thank you for adding.

Copy link
Contributor

Choose a reason for hiding this comment

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

probably need the copyright header on this file.

Copy link
Contributor

@Monkeychip Monkeychip left a comment

Choose a reason for hiding this comment

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

Great pr description. While it's a lot of file changes, it all seems to make sense and look clean to me. Additionally, thank you for starting the sidebranch.

Copy link
Contributor

Choose a reason for hiding this comment

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

probably need the copyright head on this file.

Base automatically changed from ui/VAULT-30635/handle-ember-cli-deprecations to main September 17, 2024 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed pr/no-changelog ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants