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

[My Items] Customizable folder name on install #4626

Closed
jvigliotta opened this issue Dec 22, 2021 · 3 comments · Fixed by #4627
Closed

[My Items] Customizable folder name on install #4626

jvigliotta opened this issue Dec 22, 2021 · 3 comments · Fixed by #4627

Comments

@jvigliotta
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Eh. Certain instances of Open MCT would like to have the ability to have the my items folder name be customizable.

Describe the solution you'd like
When installing "My Items Plugin" pass in a name.

Describe alternatives you've considered
Currently you can change after an instance is brought up.

Additional context
NADA

@jvigliotta
Copy link
Contributor Author

jvigliotta commented Dec 22, 2021

Testing

  • on a fresh instance of Open MCT (clear local storage or use an empty couch db)
  • install the My Items plugin while passing in a name as the first argument
  • when Open MCT loads, verify the name is what you passed to the plugin

To clear localStorage:

// in debug console
localStorage.setItem('mctcopy', localStorage.getItem('mct'))
localStorage.removeItem('mct')

To set back:

// in debug console
localStorage.setItem('mct', localStorage.getItem('mctcopy'))
// optionally
localStorage.removeItem('mctcopy')

@khalidadil
Copy link
Contributor

Verified working in testathon on 01/04/2022 using a release/1.8.3 branch

@charlesh88
Copy link
Contributor

Verified fixed Testathon 01-04-22.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants