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

History refactors #17353

Merged
merged 57 commits into from
Feb 15, 2024
Merged

History refactors #17353

merged 57 commits into from
Feb 15, 2024

Conversation

itisAliRH
Copy link
Member

@itisAliRH itisAliRH commented Jan 25, 2024

This PR refactors most of the history and history-related components to CompositionAPI and typescript and more logic and icon import improvements. The remaining components will be refactored in a follow-up PR.

ref: #15686

List of the changed files
  • api/histories.ts
  • components/History/Content/Collection/CollectionDescription.vue
  • components/History/Content/Collection/CollectionProgress.test.ts
  • components/History/Content/Collection/CollectionProgress.vue
  • components/History/Content/Dataset/DatasetActions.vue
  • components/History/Content/Dataset/DatasetDownload.test.ts
  • components/History/Content/Dataset/DatasetDownload.vue
  • components/History/Content/Dataset/mixins.js
  • components/History/CurrentCollection/CollectionDetails.vue
  • components/History/CurrentCollection/CollectionNavigation.vue
  • components/History/CurrentHistory/HistoryCounter.vue
  • components/History/CurrentHistory/HistoryDetails.vue
  • components/History/CurrentHistory/HistoryEmpty.vue
  • components/History/CurrentHistory/HistoryMessages.vue
  • components/History/CurrentHistory/HistoryNavigation.test.ts
  • components/History/CurrentHistory/HistoryNavigation.vue
  • components/History/CurrentHistory/HistoryOperations/DefaultOperations.vue
  • components/History/CurrentHistory/HistoryOperations/HistoryOperations.vue
  • components/History/CurrentHistory/HistoryOperations/OperationErrorDialog.vue
  • components/History/CurrentHistory/HistoryOperations/SelectionChangeWarning.vue
  • components/History/CurrentHistory/HistoryOperations/SelectionStatus.test.ts
  • components/History/CurrentHistory/HistoryOperations/SelectionStatus.vue
  • components/History/CurrentHistory/PreferredStorePopover.vue
  • components/History/CurrentHistory/SelectPreferredStore.test.ts
  • components/History/CurrentHistory/usesDetailedHistoryMixin.js
  • components/History/Export/ExportOptions.vue
  • components/History/HistoryPublished.vue
  • components/History/HistoryPublishedList.vue
  • components/History/Index.vue
  • components/History/Layout/DetailsLayout.vue
  • components/History/Modals/CopyModal.vue
  • components/History/Multiple/MultipleViewItem.vue
  • components/History/services.js
  • components/History/services.ts
  • entry/analysis/App.vue
  • stores/userStore.ts
  • utils/navigation/navigation.yml
  • client/tests/jest/helpers.js

(Please replace this header with a description of your pull request. Please include BOTH what you did and why you made the changes. The "why" may simply be citing a relevant Galaxy issue.)
(If fixing a bug, please add any relevant error or traceback)
(For UI components, it is recommended to include screenshots or screencasts)

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. [add testing steps and prerequisites here if you didn't write automated tests covering all your changes]

License

  • I agree to license these and all my past contributions to the core galaxy codebase under the MIT license.

@itisAliRH itisAliRH changed the title History refactors [WIP] History refactors Jan 25, 2024
@itisAliRH itisAliRH marked this pull request as draft January 25, 2024 15:04
@github-actions github-actions bot added this to the 24.0 milestone Jan 25, 2024
@itisAliRH itisAliRH changed the title [WIP] History refactors History refactors Feb 6, 2024
@itisAliRH itisAliRH marked this pull request as ready for review February 6, 2024 14:02
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.

Awesome!
Let's work together in refining a bit some of these types.

@ElectronicBlueberry ElectronicBlueberry mentioned this pull request Feb 12, 2024
4 tasks
itisAliRH and others added 3 commits February 14, 2024 11:59
Co-authored-by: David López <46503462+davelopez@users.noreply.github.com>
Co-authored-by: David López <46503462+davelopez@users.noreply.github.com>
Co-authored-by: David López <46503462+davelopez@users.noreply.github.com>
itisAliRH and others added 2 commits February 15, 2024 11:59
Co-authored-by: David López <46503462+davelopez@users.noreply.github.com>
Co-authored-by: Marius van den Beek
<m.vandenbeek@gmail.com>
Co-authored-by: David López <46503462+davelopez@users.noreply.github.com>
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 great! With lots of typing improvements!
Thank you!

@bgruening
Copy link
Member

Thanks a lot @itisAliRH!

@bgruening bgruening merged commit 72c329b into galaxyproject:dev Feb 15, 2024
29 of 30 checks passed
Copy link

This PR was merged without a "kind/" label, please correct.

@bgruening bgruening added the kind/refactoring cleanup or refactoring of existing code, no functional changes label Feb 15, 2024
@itisAliRH itisAliRH deleted the history-refactors branch February 15, 2024 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/refactoring cleanup or refactoring of existing code, no functional changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants