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

Include ember-api-store addon in the code base #5184

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

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
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.

1 participant