Skip to content

Migrate BModal components to GModal - final batch - #23023

Merged
itisAliRH merged 30 commits into
galaxyproject:devfrom
ahmedhamidawan:b-modal-to-g-modal-batch-2
Aug 13, 2026
Merged

itisAliRH merged 30 commits into
galaxyproject:devfrom
ahmedhamidawan:b-modal-to-g-modal-batch-2

Conversation

@ahmedhamidawan

@ahmedhamidawan ahmedhamidawan commented Jun 26, 2026 •

Copy link
Copy Markdown
Member

Tackles several more components from #21976

Fixes #21976

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.

@ahmedhamidawan ahmedhamidawan added kind/enhancement area/UI-UX kind/refactoring cleanup or refactoring of existing code, no functional changes labels Jun 26, 2026
@ahmedhamidawan
ahmedhamidawan force-pushed the b-modal-to-g-modal-batch-2 branch 2 times, most recently from dadf86b to 8411d96 Compare August 4, 2026 16:21
@ahmedhamidawan ahmedhamidawan changed the title Migrate BModal components to GModal - second (and hopefully final) batch Migrate BModal components to GModal - final batch Aug 5, 2026
@ahmedhamidawan
ahmedhamidawan marked this pull request as ready for review August 5, 2026 18:44
@github-actions github-actions Bot added this to the 26.2 milestone Aug 5, 2026
@github-project-automation github-project-automation Bot moved this to Needs Review in Galaxy Dev - weeklies Aug 5, 2026
@itisAliRH
itisAliRH self-requested a review August 11, 2026 10:37

@itisAliRH itisAliRH left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you @ahmedhamidawan!

I tested the changes and found a few issues.

Comment thread client/src/components/BaseComponents/GTabs.vue Outdated
Comment thread client/src/composables/fileDrop.ts Outdated
Comment thread client/src/components/Sharing/UserSharing.vue Outdated
Comment thread client/src/components/History/CurrentHistory/SelectPreferredStore.vue Outdated
ahmedhamidawan added a commit to ahmedhamidawan/galaxy that referenced this pull request Aug 11, 2026
As reported in galaxyproject#23023 (comment), we were checking a nonexistent modal class (g-modal wheras we needed to check g-dialog).
ahmedhamidawan added a commit to ahmedhamidawan/galaxy that referenced this pull request Aug 11, 2026
Reported in galaxyproject#23023 (comment) that the modal calls the `onCancel` method before actually saving sharing preferences. A local ref now handles the cancel and ok events separately.
ahmedhamidawan added a commit to ahmedhamidawan/galaxy that referenced this pull request Aug 11, 2026
@ahmedhamidawan

Copy link
Copy Markdown
Member Author

@itisAliRH Pushed several commits that fix your findings. Could you please try this out now to see if the same errors show up? Thank you!!

@itisAliRH

Copy link
Copy Markdown
Member

Thanks for the update @ahmedhamidawan! Four of the five issues are fixed👍🏻
The change history storage modal remains open after a successful update. It should be closed after success.

ahmedhamidawan and others added 17 commits August 13, 2026 11:32
We need to keep it open if the import errors out.

Co-authored-by: Alireza Heidari <itisalirh@gmail.com>
As reported in galaxyproject#23023 (comment), we were checking a nonexistent modal class (g-modal wheras we needed to check g-dialog).
Reported in galaxyproject#23023 (comment) that the modal calls the `onCancel` method before actually saving sharing preferences. A local ref now handles the cancel and ok events separately.
…el flow

Co-Authored-By: Claude <noreply@anthropic.com>
Co-authored-by: Alireza Heidari <itisalirh@gmail.com>
@ahmedhamidawan
ahmedhamidawan force-pushed the b-modal-to-g-modal-batch-2 branch from ad7de4f to f5fd3eb Compare August 13, 2026 16:34

@itisAliRH itisAliRH left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM! Thank you @ahmedhamidawan!

@itisAliRH
itisAliRH merged commit 1e5d268 into galaxyproject:dev Aug 13, 2026
28 of 29 checks passed
@github-project-automation github-project-automation Bot moved this from Needs Review to Done in Galaxy Dev - weeklies Aug 13, 2026
@ahmedhamidawan
ahmedhamidawan deleted the b-modal-to-g-modal-batch-2 branch August 13, 2026 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/UI-UX kind/enhancement kind/refactoring cleanup or refactoring of existing code, no functional changes

Projects

Development

Successfully merging this pull request may close these issues.

Replace BModal with the existing GModal component

2 participants