Skip to content

Conversation

@nwmac
Copy link
Member

@nwmac nwmac commented Nov 5, 2024

This PR takes the code from https://github.com/rancher/ember-api-store and embeds it in the ui codebase.

ember-api-store is currently published as an npm module which complicates Ember migration since we need to migrate both projects. By inlining the code, we only have to migrate the ui codebase.

Note, there is a test directory, but as far as I can tell, this is all test framework and there are no tests, so this folder was removed.

I checked the dependencies and updated the package.json file to be consistent with the other addons. I added two dependencies to the top-level package file that look like they were needed (both cookie related).

The lint rules for this project were different to the ones in the ui repository, so fixed them automatically via eslint with the --fix option.

Tested manually by navigating around the UI, deploying a workload and scaling it up/down to check that the store operates as before.

@nwmac nwmac added this to the v2.11.0 milestone Nov 5, 2024
@nwmac nwmac self-assigned this Nov 5, 2024
@nwmac nwmac modified the milestones: v2.11.0, v2.12.0 Mar 18, 2025
@mantis-toboggan-md
Copy link
Member

Is this still needed?

@nwmac
Copy link
Member Author

nwmac commented May 30, 2025

@mantis-toboggan-md not sure it is. This was to help us more easily migrate to newer versions of Ember - but I think we can only go as far as 3.28 - so don’t know if it I worth it.

@gaktive gaktive modified the milestones: v2.12.0, v2.13.0 Jul 18, 2025
@nwmac
Copy link
Member Author

nwmac commented Aug 19, 2025

Won't fix ahead of removal of the legacy UI

@nwmac nwmac closed this Aug 19, 2025
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.

3 participants