-
Notifications
You must be signed in to change notification settings - Fork 27
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
Ability to store & remove server owner & deployment entries in dropdowns #1503
Ability to store & remove server owner & deployment entries in dropdowns #1503
Conversation
When I added the 'server owner' and 'deployment' dropdowns a few weeks back I initially added some tests but then went back and removed them (they didnt get merged in). I cant remember why the tests were seen as not required. |
There is a fair bit of duplicate code as the server owner combo box is doing the same thing as the deployment combo box - I could make a separate combobox component which can be used for both. However it doesnt look like that level of componentization would be consistent with rest of app. |
Im not sure this requires a changes.md entry as its really just finishing off a feature that's already implemented in #1444 |
I think those tests were moved from
Yes, this is small enough not to need a changelog entry |
TODO: I could add a test to header.cy.js to check if the combobox content remains after a a page refresh - or thats its been saved to local storage if there is a good way of accessing local storage with cypress... |
Probably a bit late now - but for future reference there is a Vue composable for using local storage |
Nice, I'll open an issue for investigating using that. Might be a good training day exercise |
Ive put some of the logic into a composable I notice that the the app currently is using mixins (more of an options api solution) over composables (a composition api solution) so not sure if its consistent but it seems like a neater solution. |
Co-authored-by: Ronnie Dutta <61982285+MetRonnie@users.noreply.github.com>
Ooh, actually one more enhancement would be to store the owner/deployment when clicking the "Go" button, not just pressing enter |
…markgrahamdawson/cylc-ui into feature-deployment-values-local-storage
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice
Closes #1457
onLoad
values.Check List
CONTRIBUTING.md
and added my name as a Code Contributor.setup.cfg
(andconda-environment.yml
if present).CHANGES.md
entry included if this is a change that can affect users?.?.x
branch.