Commit Graph
10157 Commits
Author SHA1 Message Date
John Chilton 821b31c3b2 More structured indexing for user data objects.
I think I clung to the idea of having two ways to do this too long. I did a bunch of testing with the old way (exposing integer references based on numeric database primary keys). Having a config option that if changed would break everything exisiting is also a symptom of maybe me clinging too hard for too long.

The result of dropping this option is a much cleaner API schema, simpler API objects, and better typing throughout. We can also be more certain of how things entering the Vault are stored - I think being more strucutured about this is good.

Ultimately, the future facing stuff (e.g. OAuth 2.0) is going to require UUIDs so that I can store things like refresh tokens in the store before the object has been fully created.
2024-06-07 19:20:11 -04:00
davelopez 3aea494035 Fix possible undefined value 2024-06-07 10:56:42 +02:00
davelopez 8496d00369 Fix total items count in DataDialog 2024-06-07 10:12:26 +02:00
davelopez 2389bc4d7e Display only compatible datasets in DataDialog for Visualizations 2024-06-07 09:48:50 +02:00
davelopez c01904803c Allow filtering by type-id in DataDialog 2024-06-07 09:47:06 +02:00
Marius van den Beek 3a3bbfb2ab Merge pull request #18311 from dannon/parcel-migration
[24.1] Update parcel-built visualizations to use parcel v2
2024-06-06 15:46:22 +02:00
Marius van den Beek 657ff967fe Merge pull request #18306 from itisAliRH/modal-title-break-word
[24.1] Fix word bleeding in modals, sharing page and history rename
2024-06-06 10:15:58 +02:00
Marius van den Beek fcc5eb5b5b Merge pull request #18324 from ahmedhamidawan/disable_state_filter_collections
[24.1] Disable state filter for collections in `HistoryFilters`
2024-06-06 10:13:44 +02:00
Dannon Baker aa62112113 Fix scatterplot build. Not perfect, but it should probably work and we should consolidate towards a replacement 2024-06-05 18:57:58 -04:00
Dannon 849d93ee16 Merge pull request #18313 from guerler/fix_data_dialog_filter
[24.1] Filter data dialog entries by dataset state, only display `ok` state
2024-06-05 11:06:39 -04:00
Ahmed Awan 5b8e9021e1 remove unused watch import 2024-06-04 18:15:30 -05:00
Ahmed Awan f3ed25045c [24.1] Disable state filter for collections in HistoryFilters
Adds a `disablesFilters` property to the `ValidFilter` class which allows for the functionality of disabling other filters given certain values for a given filter.

Note: This only works for ranged, input-field and dropdown type filters in the `FilterMenu`

Fixes https://github.com/galaxyproject/galaxy/issues/18264
2024-06-04 14:15:52 -05:00
Alireza Heidari 4eed454934 🎨: add word-break style to FormElement component on ui-form-title-text 2024-06-04 17:23:44 +02:00
Alireza Heidari 0dafe164a2 🎨: add word-break style to Heading component 2024-06-04 17:23:44 +02:00
Alireza Heidari 502009ade3 🎨: add word-break style to EditableUrl 2024-06-04 17:23:44 +02:00
Alireza Heidari a00fed947e 🎨: add word-break style to modal title globally 2024-06-04 17:23:43 +02:00
guerler 4d4f39bf25 Only filter list of entries in data dialog for visualizations activity for now 2024-06-04 18:22:13 +03:00
Marius van den Beek c681c0c29a Merge pull request #18315 from davelopez/24.1_fix_pinia_in_manually_mounted_components
[24.1] Fix pinia in manually mounted components
2024-06-04 15:57:38 +02:00
Marius van den Beek c05264148e Merge pull request #18309 from davelopez/24.1_display_warning_about_non_image_in_reports
[24.1] Display error message if not an image in reports
2024-06-04 15:49:05 +02:00
davelopez 60d54b8a51 Use the active pinia when manually mounting components
Otherwise the store will be wiped out whenever we mount a component manually.
2024-06-04 14:32:20 +02:00
Laila Los a9c1300fd4 add embedded check in watcher 2024-06-04 11:34:29 +02:00
guerler bde1b40106 Filter data dialog entries by dataset state, only display valid states 2024-06-04 10:55:49 +03:00
Marius van den Beek b3835bbefe Merge pull request #18246 from jmchilton/backport_user_data_1
[24.1] Small bug fixes for user data plugins
2024-06-04 09:43:17 +02:00
davelopez 676b037d91 Display error message if not an image in reports 2024-06-03 18:43:05 +02:00
davelopez 9f7d9a42b2 Fix typing in setDrag 2024-06-03 17:19:03 +02:00
davelopez ba01c12bfa Refactor drag and drop logic to use getDragItems
This commit refactors the drag and drop logic in the HistoryPanel.vue and MultipleViewList.vue components to use the newly added getDragItems function in the eventStore. This function retrieves the drag items and filters out any non-history items, ensuring that only valid history items are processed during the drop event. This change improves code readability and reduces duplication.
2024-06-03 17:18:35 +02:00
davelopez a9bc8c41ae Add getDragItems to eventStore to avoid duplication 2024-06-03 17:17:31 +02:00
Marius van den Beek 2c4ad24615 Merge pull request #18299 from guerler/load_pinia_manual_mount
[24.1] Adds pinia to manually mounted vue components
2024-06-03 15:11:52 +02:00
Laila Los 51ae8d7215 keep lazy label updated actions queued longer 2024-06-03 11:07:07 +02:00
Nicola Soranzo 0a7de5c79f Merge branch 'release_24.0' into release_24.1 2024-06-02 17:15:48 +01:00
guerler 85951cd67e Add pinia to manually mounted vue components 2024-06-01 09:54:35 +03:00
Marius van den Beek 6901b1f359 Merge pull request #18286 from davelopez/24.0_fix_imported_history_link_for_anonymous
[24.0] Redirect anonymous users to home when importing public histories
2024-05-31 19:15:35 +02:00
davelopez 234933b6a9 Use correct link for log in or register in Copy Modal 2024-05-31 15:58:05 +02:00
davelopez 3c95ac03e6 Redirect anonymous users to home when importing public histories 2024-05-31 15:27:28 +02:00
John ChiltonandDavid López ab99e32a4d Update client/src/components/ConfigTemplates/InstanceDropdown.vue
Co-authored-by: David López <46503462+davelopez@users.noreply.github.com>
2024-05-30 17:51:58 -04:00
davelopez ec451f26f7 Update watchHistory test to expect rethrowSimple error
Instead of AxiosError
2024-05-29 14:58:17 +02:00
davelopez 518b0257ac Add tests for fatal error loading history 2024-05-29 14:22:46 +02:00
davelopez 1884ec4765 Hide history export UI on fatal error and show alert 2024-05-29 14:19:50 +02:00
davelopez 16f3be6904 Refactor HistoryExport tests to use MockAxios 2024-05-29 14:18:46 +02:00
davelopez 7d5385107f Add optional parameter to historyStore.getHistoryById
The `getHistoryById` function in `historyStore.ts` now accepts an optional parameter `shouldFetchIfMissing` which determines whether to load the history if it is not already in the store. If `shouldFetchIfMissing` is set to `false`, the function will return `null` instead of fetching the history.
2024-05-29 14:17:16 +02:00
davelopez c9e6144451 Rethrow errors instead of just log them in historyStore 2024-05-29 14:15:59 +02:00
Marius van den Beek b16359161b Merge pull request #18244 from ahmedhamidawan/change_activity_go_to_btn_color
[24.1] Change `ActivityPanel` go to button to primary
2024-05-29 11:23:31 +02:00
Marius van den Beek 36a9d131ed Merge pull request #18247 from itisAliRH/workflow-allow-bookmark-public
[24.1] Allow bookmarking public workflows
2024-05-29 11:23:01 +02:00
Marius van den Beek a2b03ac42b Merge pull request #18234 from davelopez/24.0_drop_restriction_switch_immutable_histories
[24.1] Drop restriction to switch to immutable histories
2024-05-29 11:22:29 +02:00
Alireza Heidari 067f6df3ef ✨: allow bookmarking public workflows 2024-05-28 18:38:34 +02:00
John Chilton 8cb5442014 Rebuild schema. 2024-05-28 11:34:53 -04:00
John Chilton 8d303f41ab Bug fix for arrow. 2024-05-28 11:31:35 -04:00
Ahmed AwanandAlireza Heidari ad328169ff [24.1] Change ActivityPanel go to button to primary
Tiny change that reverts the button's color to primary.

Co-authored-by: Alireza Heidari <itisalirh@gmail.com>
2024-05-28 09:55:45 -05:00
davelopez 1637e202e5 Adapt History SelectorModal test 2024-05-28 14:55:37 +02:00
davelopez fa73f2e9f4 Fix conditions for userOwnsHistory and isRegisteredUser 2024-05-28 14:54:40 +02:00