Skip to content

Conversation

nwmac
Copy link
Member

@nwmac nwmac commented May 8, 2025

Addresses rancher/dashboard#14286

This PR changes re-uses the RKE1 deprecation banner for deprecation of Ember-based UI plugins.

It also fixes a bug with the code that handles error loading custom javascript for a plugin and now correctly handles this and shows an error on the creation screen when this happens - previously users get a partially-rendered page.

To test:

  • Enable a cluster driver from the Drivers page - suggested one is Open Telekom Cloud CCE

Go to create and choose this driver.

Check that the page shows the new deprecation banner:

image

Go the Drivers and edit the for the drvier - add some junk to the end of the URL, eg:

image

Reload the UI (since the plugin is cached and we need to reload to remove it)

Go to the cluster create again and verify that the page shows the new error message and not a partially-rendered form:

image

@nwmac nwmac added this to the v2.12.0 milestone May 8, 2025
@nwmac nwmac self-assigned this May 8, 2025
@nwmac nwmac requested a review from mantis-toboggan-md May 8, 2025 09:18
Copy link
Member

@mantis-toboggan-md mantis-toboggan-md left a comment

Choose a reason for hiding this comment

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

LGTM

@nwmac nwmac merged commit 7911d3e into rancher:master May 30, 2025
2 checks passed
@nwmac nwmac deleted the deprecate-ember-ui-plugins branch May 30, 2025 22:02
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