94152 Commits

Author SHA1 Message Date
davelopez 9a6e6953e3 Migrate upload test helpers to inline context 2026-08-12 14:23:13 +02:00
davelopez 433cc89783 Update navigation selectors for inline uploads 2026-08-12 14:23:13 +02:00
davelopez 3088cec899 Improve collection upload and inline UI elements 2026-08-12 14:23:12 +02:00
davelopez b46fff1f93 Integrates inline upload view into workflow tabs 2026-08-12 14:23:11 +02:00
davelopez 0d6e8e1518 Replaces modal trigger with inline upload view 2026-08-12 14:23:10 +02:00
davelopez 27a2cd42a8 Simplifies upload modal to use inline view 2026-08-12 14:23:09 +02:00
davelopez f1f3b45103 Extracts upload UI logic into reusable component 2026-08-12 14:23:08 +02:00
davelopez 13c9753ee9 Modernize type hints in upload activity helpers
Update type annotations to use PEP 604 union syntax, replacing older Optional and Union imports. This simplifies the codebase and aligns with modern Python standards while resolving linting issues.

The changes also include stubbing out missing methods in the base staging class to improve type consistency across subclasses.
2026-08-12 14:23:07 +02:00
davelopez 8b1f1652b7 Updates workflow run tests for modal upload context
Adapts existing workflow run tests to interact with the new modal upload interface instead of the embedded panel. Adjusts paste content expectations for newline handling and replaces direct upload calls with the new modal context API. Removes the deprecated `_upload_hello_world_for_input` helper to clean up the test suite.
2026-08-12 14:23:07 +02:00
davelopez 69131c8626 Refactors upload activity helpers for modal context
Extracts common upload staging logic into a `_UploadStaging` base class to share state between panel and modal contexts. Introduces `UploadMethodModalContext` for workflow form inputs and adds an `upload_via_modal` convenience method. Removes verbose docstrings and inline comments throughout the helper classes to improve readability.
2026-08-12 14:23:06 +02:00
davelopez 9ee63ac89e Removes embedded upload UI from workflow forms
Strips out legacy embedded upload buttons and sections from workflow form components to streamline the interface. Adds a data attribute to upload method cards and updates navigation selectors to support the new modal-based upload flow. Prepares the frontend for consistent modal interactions.
2026-08-12 14:23:05 +02:00
davelopez fd3e50e4a1 Fix pasting multiple items in tests 2026-08-12 14:23:04 +02:00
davelopez d3e808b73d Use correct selector after rebase 2026-08-12 14:23:03 +02:00
davelopez 1fb91387d3 Make test playwright compatible 2026-08-12 14:23:03 +02:00
davelopez 80fdd82acc Add stage_remote_files helper and adapt tests 2026-08-12 14:23:02 +02:00
davelopez 28cd753afb Adapt navigation on files dialog tests 2026-08-12 14:23:01 +02:00
davelopez 0162a0098c Update testing documentation for upload_context API 2026-08-12 14:23:00 +02:00
davelopez af7a709d3f Refactor selenium tests to use upload helpers
Migrates integration tests to use the modern upload activity helper instead of legacy upload methods. This standardizes how files, pasted content, and remote resources are staged in selenium tests, improving maintainability and reliability of the test suite.
2026-08-12 14:22:59 +02:00
davelopez 37f3e1982c Update rule-based upload helper to advance wizard
Adjusts the Selenium helper for rule-based uploads to match changes in the UI flow. Instead of confirming a selection dialog, the helper now waits for the dialog to close and explicitly advances the file set wizard to reach the rule builder step.
2026-08-12 14:22:58 +02:00
davelopez 7d17f0fc1a Update core tours to use new upload activity UI
Migrates interactive tours from the legacy upload dialog to the new activity-based upload interface.

Updates component selectors and step descriptions across multiple core tours—including UI, History, and Visualizations—to reflect the current activity bar navigation. These changes ensure the tours remain functional and accurate for users interacting with the modernized Galaxy interface.
2026-08-12 14:22:57 +02:00
davelopez 3d0770b16f Implement and migrate Selenium tests to new UploadActivity helpers 2026-08-12 14:22:57 +02:00
davelopez 015c7ae8c4 Update UI navigation YAML and add file set wizard class 2026-08-12 14:22:56 +02:00
davelopez d0517efaf0 Update upload monitoring comment for clarity 2026-08-12 14:22:55 +02:00
davelopez 9c6d1cb5e1 Improve LocalFileUpload input reset behavior 2026-08-12 14:22:54 +02:00
davelopez 3604a12483 Refactor FormDataWorkflowRunTabs to use new upload modal 2026-08-12 14:22:53 +02:00
davelopez 6238f7ba8b Refactor CollectionCreator to use new upload modal 2026-08-12 14:22:53 +02:00
davelopez e1c31207c5 Remove legacy upload methods from Selenium navigation helpers 2026-08-12 14:22:52 +02:00
davelopez 63f7c66d33 Enhance Selenium set_element_value for reactive inputs 2026-08-12 14:22:51 +02:00
davelopez 56395148c7 Remove legacy upload components from client UI 2026-08-12 14:22:51 +02:00
davelopez 757c4b6136 Refactor upload activity tests and helpers for new selectors 2026-08-12 14:22:50 +02:00
davelopez 7df39d5706 Update upload panel and sidebar to reflect new upload experience 2026-08-12 14:22:49 +02:00
davelopez 155a235316 Enable initial file staging in upload modal and D&D flows 2026-08-12 14:22:48 +02:00
davelopez ed99b0a4f5 Remove beta upload references and promote new upload activity 2026-08-12 14:22:48 +02:00
davelopez e91300b417 Refactor upload utility and data dialog to leverage new modal 2026-08-12 14:22:47 +02:00
davelopez ef02184826 Migrate all upload entrypoints to unified upload activity/modal 2026-08-12 14:22:46 +02:00
davelopez f40b8e3894 Remove legacy upload modal and global composable 2026-08-12 14:22:45 +02:00
John Chilton a63da1dfd1 Use X | None in the 23274 login tests
UP045 is enabled on dev but not on release_26.1, so these passed lint
where they were written and fail after the merge forward. `Optional`
import dropped with its last use.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-11 19:00:09 -04:00
John Chilton 605c4aec2a Merge branch 'release_26.1' into dev
Conflict: packages/tool_util/setup.cfg was deleted on dev by the
pyproject.toml migration (c329529e51) and modified on release_26.1 by
#23256, which moved jsonschema from install_requires to the test extra.
Kept the deletion and ported that move into packages/tool_util/pyproject.toml
so the dependency change isn't lost in the merge forward.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-11 16:17:23 -04:00
John Chilton 34fe418683 Merge pull request #23274 from dannon/fix/landing-oidc-redirect
[26.1] Carry the landing-request destination through OIDC login
2026-08-11 16:13:03 -04:00
Alireza Heidari fe641fa533 Merge pull request #23280 from galaxyproject/dependabot/npm_and_yarn/client/dompurify-3.4.13
Bump dompurify from 3.4.10 to 3.4.13 in /client
2026-08-10 19:30:22 +02:00
Boris Depoortere 21e0648b63 Merge branch 'galaxyproject:dev' into dev 2026-08-10 13:47:39 +02:00
dependabot[bot] 6bcfa32643 Bump dompurify from 3.4.10 to 3.4.13 in /client
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.4.10 to 3.4.13.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/3.4.10...3.4.13)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-version: 3.4.13
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-08-08 18:08:34 +00:00
Nicola Soranzo 89c821a440 Merge pull request #23278 from galaxybot/dev_auto_update_dependencies
Update Python dependencies
2026-08-08 20:04:59 +02:00
guerler 3676b5e361 Avoid refetch of test inputs 2026-08-08 11:58:38 +03:00
Aysam Guerler 56952fd88f Merge pull request #23272 from guerler/raise_materialization_error
Raise a clear fetch error when async URL input materialization fails
2026-08-08 11:37:30 +03:00
galaxybot ee7210f97a Update Python dependencies
by running `make update-dependencies`.
2026-08-08 03:33:29 +00:00
Dannon Baker c1a89ff5e1 Fix mypy errors in the require_login redirect test
The mock app is deliberately partial, so typing it as Any keeps the stubbing readable
instead of casting each attribute, and the session stub gets a real cast.

My fault for not re-running mypy after turning this from an integration test into a unit
test -- CI runs `cd lib && mypy . ../test`, so it type checks test/ too.
2026-08-07 11:03:35 -04:00
Marius van den Beek ec3cf23f19 Merge pull request #23263 from mvdbeek/lenient-client-install 2026-08-07 08:10:29 +02:00
guerler 1453d617ed Raise a clear fetch error when async tool-request URL input materialization fails 2026-08-07 07:30:42 +03:00
Nate Coraor 4bb19895ff Guard container_path_rewrite against older pulsar-galaxy-lib
check_for_container_rewrite arrives with galaxyproject/pulsar#475, which
is unreleased; the currently pinned pulsar-galaxy-lib (>=0.15.15) lacks
it. Fall back to a no-op via getattr so a rewrite_parameters destination
with an absolute Singularity image path does not raise AttributeError
against the pinned client.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-06 11:52:48 -04:00