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
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 Fuetterer and Nicola Soranzo
347e7b8301
chore: fix typos
...
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com >
2023-10-13 16:29:27 +02:00
mvdbeek
01fae97579
Merge branch 'release_23.1' into dev
2023-10-13 11:01:36 +02: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
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
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
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
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
davelopez and Laila 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
davelopez
4c4963a80a
Add collection attributes Pinia store
2023-10-11 14:59:18 +02:00
davelopez
11fc6cc669
Add fetchCollectionAttributes to services
2023-10-11 14:59:18 +02:00
Marius van den Beek
7d58fac965
Merge pull request #16819 from davelopez/fix_collection_drilling
...
Fix collection drilling
2023-10-10 22:28:38 -04:00
davelopez
12b939b381
Refactor from code review
...
- Make sure the computed properties are of the right type or error out.
- Rename onViewSubCollection to onViewDatasetCollectionElement.
2023-10-10 18:05:07 +02:00
davelopez
568748d074
Consistently fetch collection elements
...
Whether we are fetching elements for a top level HDCA or a sub-collection we need to provide the top HDCA ID and the DatasetCollection ID to fetch their elements.
2023-10-10 14:30:57 +02:00
davelopez
e2fe35a654
Consistently use DatasetCollection.id in the store
...
For storing and retrieving collection elements we only need to use the DatasetCollection ID whether the collection entry is an HDCA or a sub-collection.
2023-10-10 14:29:24 +02:00
davelopez
41fc04e29d
Convert DCObjects to SubCollections when drilling
...
This is just to make the handling of top level HDCAs and sub-collections more consistent for fetching and storing elements in the store.
2023-10-10 14:24:57 +02:00
davelopez
9fc98f927f
Refactor collection related type definitions + docs
2023-10-10 14:21:26 +02:00
davelopez
ebf9253deb
Use collection_id as key for storing/retrieving DCEs
2023-10-10 12:48:13 +02:00
davelopez
82a42b01b2
Adapt unit tests to use new collection key
2023-10-09 16:41:47 +02:00
davelopez
6b37f39f4c
Use composed key to store/retrieve collection elements
...
Using just the ID can create conflicts when storing sub-collection elements.
2023-10-09 16:41:00 +02:00
Martin Cech
86db01d79b
Merge pull request #16789 from dannon/sentry-report-toolmiss
...
Add ClientSearchMiss Sentry Capture
2023-10-09 16:05:40 +02:00
Martin Cech
d2e1b5639c
Merge pull request #16808 from martenson/tooltips-outofway-231
...
[23.1] move history and tool panel tooltips out of the way
2023-10-09 16:01:18 +02:00
davelopez
e43120c21f
Fix sub-collection drilling
2023-10-09 15:40:10 +02:00
mvdbeek
8f9899998b
Fix duplicate key eslint error
2023-10-07 16:23:10 -04:00
Martin Cech
911460d90b
move history and tool panel tooltips out of the way
...
also make them noninteractive so they don't stay in way
2023-10-07 14:31:15 -04:00