Commit Graph
71015 Commits
Author SHA1 Message Date
Ahmed Awan 5eb268ae83 fix api and integration tests (for removed panel_labels) 2023-10-13 19:31:09 -05:00
Ahmed Awan 2ee780a9b9 remove panel_labels from api/tools return's section.tools
improve typing
2023-10-13 19:31:09 -05:00
Ahmed Awan f9a4071d09 convert utilities.js to .ts and fix jests
improve typing in several places
2023-10-13 19:31:07 -05:00
Ahmed Awan 8809476a17 fix all tests to work with the new GET 'api/tools' structure 2023-10-13 19:29:18 -05:00
Ahmed Awan a0d89a34c9 Change ToolsView/ schema.org page to support new api structure 2023-10-13 19:29:18 -05:00
Ahmed Awan 185e388b18 add ToolSection.panel_labels to api return, to include any sub
sections within a ToolSection
2023-10-13 19:29:18 -05:00
Ahmed Awan 0d21b18d8e Refactor Tool Panel views into one Toolbox
Changed the structure of toolbox received from the backend
ToolBox is now an object of ToolSections (and Tools) by id

Also consolidated `ToolBox` and `ToolBoxWorkflow` into one `ToolBox`
that is contained within a `ToolPanel`. Removed Tool panel providers
and ProviderAware tool boxes
2023-10-13 19:29:15 -05:00
Nicola Soranzo 80cc5dd1bb Merge pull request #16851 from afuetterer/fix-typos
chore: fix typos
2023-10-13 19:00:23 +01:00
Dannon 57985f1b3c Merge pull request #16522 from ahmedhamidawan/reusable_filters_component
Create reusable `FilterMenu` with advanced options
2023-10-13 11:08:38 -04:00
Heinz-Alexander FuettererandNicola Soranzo 347e7b8301 chore: fix typos
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
2023-10-13 16:29:27 +02:00
mvdbeek 88487589f1 Merge branch 'release_23.1' into dev 2023-10-13 16:05:28 +02:00
Marius van den Beek ff9d610f4c Merge pull request #16848 from mvdbeek/dev
Merge 23.1 into dev
2023-10-13 16:05:04 +02:00
Marius van den Beek 665984092e Merge pull request #16850 from mvdbeek/limit_watch_events
[23.1] Exclude on_opened and on_closed from watcher events
2023-10-13 16:03:24 +02:00
mvdbeek e9bc593ba0 Exclude on_opened and on_closed from watcher events
We're not interested in these. `on_opened` in particular was introduced
in https://github.com/gorakhargosh/watchdog/pull/941 and then partially
reverted in
https://github.com/gorakhargosh/watchdog/commit/25a2d1fec55fc32f97055ba827c8ce7b959acb34,
but that doesn't work for us.

Should fix https://github.com/galaxyproject/galaxy/issues/16840
2023-10-13 12:18:38 +02:00
mvdbeek 01fae97579 Merge branch 'release_23.1' into dev 2023-10-13 11:01:36 +02:00
Dannon 4a397b1358 Merge pull request #16836 from mvdbeek/fix_up_tool_version_handling
[23.1] Fix up local tool version handling
2023-10-12 15:25:11 -04:00
Ahmed Awan 1c37fa90f3 fix seleniums and minor bug fixes for FilterMenu 2023-10-12 13:30:28 -05:00
Björn Grüning 26eba220e2 Merge pull request #16839 from davelopez/refactor_dataset_services
Refactor dataset services
2023-10-12 19:25:48 +02:00
Ahmed Awan 7cae1a6583 fix jests 2023-10-12 10:33:31 -05:00
Ahmed Awan 1201ea0f75 prettier fixes 2023-10-12 10:33:30 -05:00
Ahmed Awan 79e2054f35 separate FilterMenu elements into separate components 2023-10-12 10:33:30 -05:00
Ahmed Awan 619ad66d52 fix lint error for workflow advanced search selenium 2023-10-12 10:33:30 -05:00
Ahmed Awan f3969612c8 fix seleniums and adjust navigation.yml for FilterMenu changes 2023-10-12 10:33:29 -05:00
Ahmed Awan 3f19332bc5 add FilterMenu to PageList and fix some jests and seleniums 2023-10-12 10:33:29 -05:00
Ahmed Awan fea0f88f56 replace IndexFilter in WorkflowList with FilterMenu
also:
- create `WorkflowFilters.js` that exports reusable `Filtering`
- allow `MultiTags` filter type for `FilterMenu`, which allows you to
  add a `StatelessTags` field in the menu, allowing for array values
  as filter
- allow `is:filter` filters that are Boolean filters, except, they
  only be set to true
- apart from `q=filter1&qv=val&q=filter2&qv=val&...` query strings
  for the backend, the `Filtering` class can now also create
  `backendFormatted` strings in the form `filter1:val filter2:val`
2023-10-12 10:33:29 -05:00
Ahmed Awan 22acc06e0d use FilterMenu in ToolSearch and WorkflowBox
Add functionailty for 3 types of menus. E.g.s:
- `HistoryPanel` has default `linked` menu
  i.e.: `filters` object is reactive to `filterText`
- `ToolSearch` has `separate` menu (not reactive,
  since `filterText` is for side panel search and menu
  is for advanced search in center panel)
- `WorkflowBox` has a `standalone` menu (no `filterText`
2023-10-12 10:33:28 -05:00
Ahmed Awan 259cc1e1d1 refactor creation of dateKeys and helpModals in FilterMenu 2023-10-12 10:33:28 -05:00
Ahmed Awan f882ac4117 add jest for FilterMenu
also add a `'Radio'` type in addition to the existing `typeof Boolean`
also add a function to `Filtering` class: `addRangedFiltersIfNotPresent()`
2023-10-12 10:33:21 -05:00
Ahmed Awan 161c26098e Create reusable FilterMenu with advanced options
Instead of creating a new filter/search with an advanced filtering menu
for each item, this `FilterMenu` component, along with the `Filtering`
class can be used in each case.
Also modified the `Filtering` class so that we never need to create a
`filterSettings = { "name:": "x", "create_time>": "2023" }` object
and can instead just use:
`filters = { name: "x", create_time_gt: "2023" }`
2023-10-12 10:30:50 -05:00
davelopez 97fb7c5029 Remove duplicated service method for dataset details 2023-10-12 14:38:30 +02:00
John Davis 2ca8c37daf Merge pull request #16838 from dannon/merge-db-heads
Create db head merge revision.
2023-10-12 08:25:26 -04:00
Dannon Baker 950823d109 Create alembic head merge for 987ce9839ecb, e93c5d0b47a9 2023-10-12 08:04:28 -04:00
davelopez eb0c5acf84 Rename getCompositeDatasetInfo to getDatasetDetails
There is nothing particularly "composite" related about it.
2023-10-12 13:43:55 +02:00
davelopez ca6999099a Refactor dataset services (fix TODOs)
Use directly dataset API routes instead of history contents routes to avoid having to pass a history ID that is unnecessary.
2023-10-12 13:32:11 +02:00
Nicola Soranzo d14225d637 Merge branch 'release_23.1' into dev 2023-10-12 12:24:37 +01:00
Nicola Soranzo b34e378623 Merge branch 'release_23.0' into release_23.1 2023-10-12 10:52:59 +01:00
mvdbeek 2b1518387a Extend selenium test for downgrading a tool 2023-10-12 11:43:07 +02:00
mvdbeek 519066ab7c Fix tool version switching for local tools
They don't have the version in the tool id, so we need to explicitly
include tool_version.
2023-10-12 08:58:51 +01:00
Marius van den Beek 862dc99693 Merge pull request #16835 from dannon/minor-tz-followup
Adjust tz inclusion in workflow reports
2023-10-12 02:51:51 -04:00
mvdbeek 5f1471e1ca Get correct tool version in workflow preview
And remove the step.type is None condition, which I don't think can
happen and even if it can, would have already failed at the module
inection in module_factory.from_workflow_step.
2023-10-12 00:55:10 -04:00
Dannon Baker 8e624cbe75 Bugfix and refactoring of TZ inclusion in reports, doing it this way applies the timezone to child components which display (but do not re-process) this value. 2023-10-11 16:50:40 -04:00
Dannon cd287a0dc8 Merge pull request #16752 from davelopez/migrate_collection_attributes_store_pinia
Migrate `collection attributes` store to Pinia
2023-10-11 15:25:14 -04:00
Dannon 351ba37c48 Merge pull request #16757 from assuntad23/16556/current-time-UTC
WF Report Enhancement: Adding Time Format to Time the Workflow Report was Generated
2023-10-11 15:17:06 -04:00
Marius van den Beek b54e7a773f Merge pull request #16831 from nsoranzo/release_23.0_conda_23.9
[23.0] Fix create/install commands for conda 23.9.0
2023-10-11 10:29:36 -04:00
Dannon c38dd5fa98 Merge pull request #16829 from mvdbeek/fix_workflow_displau
[23.1] Fix workflow preview display if tool state does not contain all parameter values
2023-10-11 09:22:57 -04:00
John Davis 4f4526d097 Merge pull request #16818 from davelopez/23.1_increase_external_user_id_db_size
[23.1] Increase `CustosAuthnzToken.external_user_id` column size
2023-10-11 09:04:28 -04:00
davelopezandLaila Los c4529f75df Improve imports from code review
Co-authored-by: Laila Los <44241786+ElectronicBlueberry@users.noreply.github.com>
2023-10-11 14:59:18 +02:00
davelopez cb0f62e614 Drop old unused Vuex store 2023-10-11 14:59:18 +02:00
davelopez 5bbacf92ac Use new Pinia store in CollectionEditView 2023-10-11 14:59:18 +02:00
davelopez 767e1747bb Add unit tests for collectionAttributesStore 2023-10-11 14:59:18 +02:00