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

Decompose UserPreferences for reuse. #14109

Merged
merged 1 commit into from
Jun 23, 2022

Conversation

jmchilton
Copy link
Member

Refactor because I want to reuse this configuration via bootstrap-vue modal in user preferences pattern for selecting object store default preferences (see screenshots in #14073).

Existing Selenium tests covering this change can be executed via:

pytest lib/galaxy_test/selenium/test_personal_information.py::DeleteCurrentAccountTestCase

And the stub of a Jest test for the refactored code has been added.

How to test the changes?

(Select all options that apply)

  • I've included appropriate automated tests.
  • This is a refactoring of components with existing test coverage.
  • Instructions for manual testing are as follows:
    1. pytest lib/galaxy_test/selenium/test_personal_information.py::DeleteCurrentAccountTestCase

License

  • I agree to license these contributions under Galaxy's current license.
  • I agree to allow the Galaxy committers to license these and all my past contributions to the core galaxy codebase under the MIT license. If this condition is an issue, uncheck and just let us know why with an e-mail to [email protected].

@jmchilton jmchilton added area/UI-UX kind/refactoring cleanup or refactoring of existing code, no functional changes labels Jun 18, 2022
@github-actions github-actions bot added this to the 22.09 milestone Jun 18, 2022
@jmchilton jmchilton changed the title Decompose UserPreferences for reuse. [WIP] Decompose UserPreferences for reuse. Jun 19, 2022
Refactor because I want to reuse configuration via bootstrap vue modal in user preferences pattern for selecting object store default preferences.

```
pytest lib/galaxy_test/selenium/test_personal_information.py::DeleteCurrentAccountTestCase
```
@jmchilton jmchilton force-pushed the user_preferences_decompose branch from 3e34649 to c530684 Compare June 19, 2022 15:34
@jmchilton jmchilton changed the title [WIP] Decompose UserPreferences for reuse. Decompose UserPreferences for reuse. Jun 19, 2022
Copy link
Contributor

@davelopez davelopez left a comment

Choose a reason for hiding this comment

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

Looks good!

@bgruening
Copy link
Member

Cool, this will help Benno I think :)

@bgruening bgruening merged commit 4385cc1 into galaxyproject:dev Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/UI-UX kind/refactoring cleanup or refactoring of existing code, no functional changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants