@jbrowse/plugin-data-management 2.6.1 → 2.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AddConnectionWidget/components/AddConnectionWidget.js +0 -1
- package/dist/AddConnectionWidget/components/ConfigureConnection.js +0 -1
- package/dist/AddConnectionWidget/components/ConnectionTypeSelect.js +0 -1
- package/dist/AddConnectionWidget/index.js +0 -1
- package/dist/AddConnectionWidget/model.js +0 -1
- package/dist/AddTrackWidget/components/AddTrackWidget.js +0 -1
- package/dist/AddTrackWidget/components/ConfirmTrack.js +0 -1
- package/dist/AddTrackWidget/components/DefaultAddTrackWorkflow.js +0 -1
- package/dist/AddTrackWidget/components/PasteConfigWorkflow.js +0 -1
- package/dist/AddTrackWidget/components/TextIndexingConfig.js +0 -1
- package/dist/AddTrackWidget/components/TrackAdapterSelector.js +0 -1
- package/dist/AddTrackWidget/components/TrackSourceSelect.js +0 -1
- package/dist/AddTrackWidget/components/TrackTypeSelector.js +0 -1
- package/dist/AddTrackWidget/index.js +0 -1
- package/dist/AddTrackWidget/model.js +0 -1
- package/dist/AssemblyManager/AssemblyAddForm.js +0 -1
- package/dist/AssemblyManager/AssemblyEditor.js +0 -1
- package/dist/AssemblyManager/AssemblyManager.js +0 -1
- package/dist/AssemblyManager/AssemblyTable.js +0 -1
- package/dist/AssemblyManager/index.js +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/HierarchicalFab.js +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/HierarchicalTrackSelector.js +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/ShoppingCart.js +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/dialogs/CloseConnectionDialog.js +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/dialogs/DeleteConnectionDialog.js +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/dialogs/ManageConnectionsDialog.js +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/dialogs/ToggleConnectionsDialog.js +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetFilters.js +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetedDialog.js +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetedHeader.js +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetedSelector.js +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/util.js +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/tree/HamburgerMenu.js +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/tree/HierarchicalHeader.js +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/tree/HierarchicalTree.js +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/tree/TrackCategory.js +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/tree/TrackLabel.js +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/tree/TrackListNode.js +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/util.js +0 -1
- package/dist/HierarchicalTrackSelectorWidget/configSchema.js +0 -1
- package/dist/HierarchicalTrackSelectorWidget/index.js +0 -1
- package/dist/HierarchicalTrackSelectorWidget/model.js +0 -1
- package/dist/PluginStoreWidget/components/CustomPluginForm.js +0 -1
- package/dist/PluginStoreWidget/components/InstalledPlugin.js +0 -1
- package/dist/PluginStoreWidget/components/InstalledPluginsList.js +0 -1
- package/dist/PluginStoreWidget/components/PluginCard.js +0 -1
- package/dist/PluginStoreWidget/components/PluginStoreWidget.js +0 -1
- package/dist/PluginStoreWidget/index.js +0 -1
- package/dist/PluginStoreWidget/model.js +0 -1
- package/dist/SetDefaultSession/SetDefaultSession.js +0 -1
- package/dist/SetDefaultSession/index.js +0 -1
- package/dist/index.js +0 -1
- package/dist/ucsc-trackhub/configSchema.js +0 -1
- package/dist/ucsc-trackhub/index.js +0 -1
- package/dist/ucsc-trackhub/model.js +0 -1
- package/dist/ucsc-trackhub/ucscAssemblies.js +0 -1
- package/dist/ucsc-trackhub/ucscTrackHub.js +0 -1
- package/esm/AddConnectionWidget/components/AddConnectionWidget.js +0 -1
- package/esm/AddConnectionWidget/components/ConfigureConnection.js +0 -1
- package/esm/AddConnectionWidget/components/ConnectionTypeSelect.js +0 -1
- package/esm/AddConnectionWidget/index.js +0 -1
- package/esm/AddConnectionWidget/model.js +0 -1
- package/esm/AddTrackWidget/components/AddTrackWidget.js +0 -1
- package/esm/AddTrackWidget/components/ConfirmTrack.js +0 -1
- package/esm/AddTrackWidget/components/DefaultAddTrackWorkflow.js +0 -1
- package/esm/AddTrackWidget/components/PasteConfigWorkflow.js +0 -1
- package/esm/AddTrackWidget/components/TextIndexingConfig.js +0 -1
- package/esm/AddTrackWidget/components/TrackAdapterSelector.js +0 -1
- package/esm/AddTrackWidget/components/TrackSourceSelect.js +0 -1
- package/esm/AddTrackWidget/components/TrackTypeSelector.js +0 -1
- package/esm/AddTrackWidget/index.js +0 -1
- package/esm/AddTrackWidget/model.js +0 -1
- package/esm/AssemblyManager/AssemblyAddForm.js +0 -1
- package/esm/AssemblyManager/AssemblyEditor.js +0 -1
- package/esm/AssemblyManager/AssemblyManager.js +0 -1
- package/esm/AssemblyManager/AssemblyTable.js +0 -1
- package/esm/AssemblyManager/index.js +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/HierarchicalFab.js +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/HierarchicalTrackSelector.js +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/ShoppingCart.js +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/dialogs/CloseConnectionDialog.js +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/dialogs/DeleteConnectionDialog.js +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/dialogs/ManageConnectionsDialog.js +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/dialogs/ToggleConnectionsDialog.js +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetFilters.js +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetedDialog.js +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetedHeader.js +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetedSelector.js +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/util.js +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/tree/HamburgerMenu.js +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/tree/HierarchicalHeader.js +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/tree/HierarchicalTree.js +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/tree/TrackCategory.js +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/tree/TrackLabel.js +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/tree/TrackListNode.js +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/util.js +0 -1
- package/esm/HierarchicalTrackSelectorWidget/configSchema.js +0 -1
- package/esm/HierarchicalTrackSelectorWidget/index.js +0 -1
- package/esm/HierarchicalTrackSelectorWidget/model.js +0 -1
- package/esm/PluginStoreWidget/components/CustomPluginForm.js +0 -1
- package/esm/PluginStoreWidget/components/InstalledPlugin.js +0 -1
- package/esm/PluginStoreWidget/components/InstalledPluginsList.js +0 -1
- package/esm/PluginStoreWidget/components/PluginCard.js +0 -1
- package/esm/PluginStoreWidget/components/PluginStoreWidget.js +0 -1
- package/esm/PluginStoreWidget/index.js +0 -1
- package/esm/PluginStoreWidget/model.js +0 -1
- package/esm/SetDefaultSession/SetDefaultSession.js +0 -1
- package/esm/SetDefaultSession/index.js +0 -1
- package/esm/index.js +0 -1
- package/esm/ucsc-trackhub/configSchema.js +0 -1
- package/esm/ucsc-trackhub/index.js +0 -1
- package/esm/ucsc-trackhub/model.js +0 -1
- package/esm/ucsc-trackhub/ucscAssemblies.js +0 -1
- package/esm/ucsc-trackhub/ucscTrackHub.js +0 -1
- package/package.json +3 -4
- package/dist/AddConnectionWidget/components/AddConnectionWidget.js.map +0 -1
- package/dist/AddConnectionWidget/components/ConfigureConnection.js.map +0 -1
- package/dist/AddConnectionWidget/components/ConnectionTypeSelect.js.map +0 -1
- package/dist/AddConnectionWidget/index.js.map +0 -1
- package/dist/AddConnectionWidget/model.js.map +0 -1
- package/dist/AddTrackWidget/components/AddTrackWidget.js.map +0 -1
- package/dist/AddTrackWidget/components/ConfirmTrack.js.map +0 -1
- package/dist/AddTrackWidget/components/DefaultAddTrackWorkflow.js.map +0 -1
- package/dist/AddTrackWidget/components/PasteConfigWorkflow.js.map +0 -1
- package/dist/AddTrackWidget/components/TextIndexingConfig.js.map +0 -1
- package/dist/AddTrackWidget/components/TrackAdapterSelector.js.map +0 -1
- package/dist/AddTrackWidget/components/TrackSourceSelect.js.map +0 -1
- package/dist/AddTrackWidget/components/TrackTypeSelector.js.map +0 -1
- package/dist/AddTrackWidget/index.js.map +0 -1
- package/dist/AddTrackWidget/model.js.map +0 -1
- package/dist/AssemblyManager/AssemblyAddForm.js.map +0 -1
- package/dist/AssemblyManager/AssemblyEditor.js.map +0 -1
- package/dist/AssemblyManager/AssemblyManager.js.map +0 -1
- package/dist/AssemblyManager/AssemblyTable.js.map +0 -1
- package/dist/AssemblyManager/index.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/HierarchicalFab.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/HierarchicalTrackSelector.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/ShoppingCart.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/dialogs/CloseConnectionDialog.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/dialogs/DeleteConnectionDialog.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/dialogs/ManageConnectionsDialog.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/dialogs/ToggleConnectionsDialog.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetFilters.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetedDialog.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetedHeader.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetedSelector.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/util.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/tree/HamburgerMenu.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/tree/HierarchicalHeader.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/tree/HierarchicalTree.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/tree/TrackCategory.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/tree/TrackLabel.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/tree/TrackListNode.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/util.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/configSchema.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/index.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/model.js.map +0 -1
- package/dist/PluginStoreWidget/components/CustomPluginForm.js.map +0 -1
- package/dist/PluginStoreWidget/components/InstalledPlugin.js.map +0 -1
- package/dist/PluginStoreWidget/components/InstalledPluginsList.js.map +0 -1
- package/dist/PluginStoreWidget/components/PluginCard.js.map +0 -1
- package/dist/PluginStoreWidget/components/PluginStoreWidget.js.map +0 -1
- package/dist/PluginStoreWidget/index.js.map +0 -1
- package/dist/PluginStoreWidget/model.js.map +0 -1
- package/dist/SetDefaultSession/SetDefaultSession.js.map +0 -1
- package/dist/SetDefaultSession/index.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/ucsc-trackhub/configSchema.js.map +0 -1
- package/dist/ucsc-trackhub/index.js.map +0 -1
- package/dist/ucsc-trackhub/model.js.map +0 -1
- package/dist/ucsc-trackhub/ucscAssemblies.js.map +0 -1
- package/dist/ucsc-trackhub/ucscTrackHub.js.map +0 -1
- package/esm/AddConnectionWidget/components/AddConnectionWidget.js.map +0 -1
- package/esm/AddConnectionWidget/components/ConfigureConnection.js.map +0 -1
- package/esm/AddConnectionWidget/components/ConnectionTypeSelect.js.map +0 -1
- package/esm/AddConnectionWidget/index.js.map +0 -1
- package/esm/AddConnectionWidget/model.js.map +0 -1
- package/esm/AddTrackWidget/components/AddTrackWidget.js.map +0 -1
- package/esm/AddTrackWidget/components/ConfirmTrack.js.map +0 -1
- package/esm/AddTrackWidget/components/DefaultAddTrackWorkflow.js.map +0 -1
- package/esm/AddTrackWidget/components/PasteConfigWorkflow.js.map +0 -1
- package/esm/AddTrackWidget/components/TextIndexingConfig.js.map +0 -1
- package/esm/AddTrackWidget/components/TrackAdapterSelector.js.map +0 -1
- package/esm/AddTrackWidget/components/TrackSourceSelect.js.map +0 -1
- package/esm/AddTrackWidget/components/TrackTypeSelector.js.map +0 -1
- package/esm/AddTrackWidget/index.js.map +0 -1
- package/esm/AddTrackWidget/model.js.map +0 -1
- package/esm/AssemblyManager/AssemblyAddForm.js.map +0 -1
- package/esm/AssemblyManager/AssemblyEditor.js.map +0 -1
- package/esm/AssemblyManager/AssemblyManager.js.map +0 -1
- package/esm/AssemblyManager/AssemblyTable.js.map +0 -1
- package/esm/AssemblyManager/index.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/HierarchicalFab.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/HierarchicalTrackSelector.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/ShoppingCart.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/dialogs/CloseConnectionDialog.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/dialogs/DeleteConnectionDialog.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/dialogs/ManageConnectionsDialog.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/dialogs/ToggleConnectionsDialog.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetFilters.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetedDialog.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetedHeader.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetedSelector.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/util.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/tree/HamburgerMenu.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/tree/HierarchicalHeader.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/tree/HierarchicalTree.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/tree/TrackCategory.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/tree/TrackLabel.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/tree/TrackListNode.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/util.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/configSchema.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/index.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/model.js.map +0 -1
- package/esm/PluginStoreWidget/components/CustomPluginForm.js.map +0 -1
- package/esm/PluginStoreWidget/components/InstalledPlugin.js.map +0 -1
- package/esm/PluginStoreWidget/components/InstalledPluginsList.js.map +0 -1
- package/esm/PluginStoreWidget/components/PluginCard.js.map +0 -1
- package/esm/PluginStoreWidget/components/PluginStoreWidget.js.map +0 -1
- package/esm/PluginStoreWidget/index.js.map +0 -1
- package/esm/PluginStoreWidget/model.js.map +0 -1
- package/esm/SetDefaultSession/SetDefaultSession.js.map +0 -1
- package/esm/SetDefaultSession/index.js.map +0 -1
- package/esm/index.js.map +0 -1
- package/esm/ucsc-trackhub/configSchema.js.map +0 -1
- package/esm/ucsc-trackhub/index.js.map +0 -1
- package/esm/ucsc-trackhub/model.js.map +0 -1
- package/esm/ucsc-trackhub/ucscAssemblies.js.map +0 -1
- package/esm/ucsc-trackhub/ucscTrackHub.js.map +0 -1
- package/src/AddConnectionWidget/components/AddConnectionWidget.test.tsx +0 -139
- package/src/AddConnectionWidget/components/AddConnectionWidget.tsx +0 -114
- package/src/AddConnectionWidget/components/ConfigureConnection.tsx +0 -26
- package/src/AddConnectionWidget/components/ConnectionTypeSelect.tsx +0 -64
- package/src/AddConnectionWidget/components/__snapshots__/AddConnectionWidget.test.tsx.snap +0 -236
- package/src/AddConnectionWidget/index.ts +0 -19
- package/src/AddConnectionWidget/model.ts +0 -7
- package/src/AddTrackWidget/components/AddTrackWidget.test.tsx +0 -118
- package/src/AddTrackWidget/components/AddTrackWidget.tsx +0 -43
- package/src/AddTrackWidget/components/ConfirmTrack.tsx +0 -189
- package/src/AddTrackWidget/components/DefaultAddTrackWorkflow.tsx +0 -201
- package/src/AddTrackWidget/components/PasteConfigWorkflow.tsx +0 -65
- package/src/AddTrackWidget/components/TextIndexingConfig.tsx +0 -132
- package/src/AddTrackWidget/components/TrackAdapterSelector.tsx +0 -73
- package/src/AddTrackWidget/components/TrackSourceSelect.tsx +0 -48
- package/src/AddTrackWidget/components/TrackTypeSelector.tsx +0 -46
- package/src/AddTrackWidget/index.test.tsx +0 -247
- package/src/AddTrackWidget/index.ts +0 -19
- package/src/AddTrackWidget/model.ts +0 -179
- package/src/AssemblyManager/AssemblyAddForm.tsx +0 -250
- package/src/AssemblyManager/AssemblyEditor.tsx +0 -20
- package/src/AssemblyManager/AssemblyManager.test.tsx +0 -93
- package/src/AssemblyManager/AssemblyManager.tsx +0 -84
- package/src/AssemblyManager/AssemblyTable.tsx +0 -88
- package/src/AssemblyManager/index.ts +0 -1
- package/src/HierarchicalTrackSelectorWidget/components/HierarchicalFab.tsx +0 -94
- package/src/HierarchicalTrackSelectorWidget/components/HierarchicalTrackSelector.test.tsx +0 -148
- package/src/HierarchicalTrackSelectorWidget/components/HierarchicalTrackSelector.tsx +0 -87
- package/src/HierarchicalTrackSelectorWidget/components/ShoppingCart.tsx +0 -73
- package/src/HierarchicalTrackSelectorWidget/components/__snapshots__/HierarchicalTrackSelector.test.tsx.snap +0 -265
- package/src/HierarchicalTrackSelectorWidget/components/dialogs/CloseConnectionDialog.tsx +0 -65
- package/src/HierarchicalTrackSelectorWidget/components/dialogs/DeleteConnectionDialog.tsx +0 -53
- package/src/HierarchicalTrackSelectorWidget/components/dialogs/ManageConnectionsDialog.tsx +0 -84
- package/src/HierarchicalTrackSelectorWidget/components/dialogs/ToggleConnectionsDialog.tsx +0 -127
- package/src/HierarchicalTrackSelectorWidget/components/faceted/FacetFilters.tsx +0 -138
- package/src/HierarchicalTrackSelectorWidget/components/faceted/FacetedDialog.tsx +0 -29
- package/src/HierarchicalTrackSelectorWidget/components/faceted/FacetedHeader.tsx +0 -96
- package/src/HierarchicalTrackSelectorWidget/components/faceted/FacetedSelector.tsx +0 -342
- package/src/HierarchicalTrackSelectorWidget/components/faceted/util.ts +0 -5
- package/src/HierarchicalTrackSelectorWidget/components/tree/HamburgerMenu.tsx +0 -190
- package/src/HierarchicalTrackSelectorWidget/components/tree/HierarchicalHeader.tsx +0 -83
- package/src/HierarchicalTrackSelectorWidget/components/tree/HierarchicalTree.tsx +0 -101
- package/src/HierarchicalTrackSelectorWidget/components/tree/TrackCategory.tsx +0 -92
- package/src/HierarchicalTrackSelectorWidget/components/tree/TrackLabel.tsx +0 -106
- package/src/HierarchicalTrackSelectorWidget/components/tree/TrackListNode.tsx +0 -84
- package/src/HierarchicalTrackSelectorWidget/components/util.ts +0 -41
- package/src/HierarchicalTrackSelectorWidget/configSchema.ts +0 -3
- package/src/HierarchicalTrackSelectorWidget/index.ts +0 -25
- package/src/HierarchicalTrackSelectorWidget/model.test.js +0 -24
- package/src/HierarchicalTrackSelectorWidget/model.ts +0 -339
- package/src/PluginStoreWidget/components/CustomPluginForm.tsx +0 -165
- package/src/PluginStoreWidget/components/InstalledPlugin.tsx +0 -167
- package/src/PluginStoreWidget/components/InstalledPluginsList.tsx +0 -49
- package/src/PluginStoreWidget/components/PluginCard.tsx +0 -106
- package/src/PluginStoreWidget/components/PluginStoreWidget.test.tsx +0 -132
- package/src/PluginStoreWidget/components/PluginStoreWidget.tsx +0 -181
- package/src/PluginStoreWidget/components/__snapshots__/PluginStoreWidget.test.tsx.snap +0 -869
- package/src/PluginStoreWidget/index.ts +0 -19
- package/src/PluginStoreWidget/model.test.tsx +0 -15
- package/src/PluginStoreWidget/model.ts +0 -26
- package/src/SetDefaultSession/SetDefaultSession.test.tsx +0 -59
- package/src/SetDefaultSession/SetDefaultSession.tsx +0 -76
- package/src/SetDefaultSession/index.ts +0 -1
- package/src/__snapshots__/index.test.ts.snap +0 -9
- package/src/index.test.ts +0 -54
- package/src/index.ts +0 -37
- package/src/ucsc-trackhub/configSchema.ts +0 -41
- package/src/ucsc-trackhub/index.ts +0 -19
- package/src/ucsc-trackhub/model.ts +0 -111
- package/src/ucsc-trackhub/ucscAssemblies.ts +0 -201
- package/src/ucsc-trackhub/ucscTrackHub.ts +0 -325
|
@@ -1,265 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`renders nothing with no assembly 1`] = `
|
|
4
|
-
<div
|
|
5
|
-
data-testid="hierarchical_track_selector"
|
|
6
|
-
>
|
|
7
|
-
<div
|
|
8
|
-
style="display: flex;"
|
|
9
|
-
>
|
|
10
|
-
<button
|
|
11
|
-
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeSmall css-1kgqocu-MuiButtonBase-root-MuiIconButton-root-menuIcon"
|
|
12
|
-
tabindex="0"
|
|
13
|
-
type="button"
|
|
14
|
-
>
|
|
15
|
-
<svg
|
|
16
|
-
aria-hidden="true"
|
|
17
|
-
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-havevq-MuiSvgIcon-root"
|
|
18
|
-
data-testid="MenuIcon"
|
|
19
|
-
focusable="false"
|
|
20
|
-
viewBox="0 0 24 24"
|
|
21
|
-
>
|
|
22
|
-
<path
|
|
23
|
-
d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"
|
|
24
|
-
/>
|
|
25
|
-
</svg>
|
|
26
|
-
<span
|
|
27
|
-
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
|
|
28
|
-
/>
|
|
29
|
-
</button>
|
|
30
|
-
<div
|
|
31
|
-
class="MuiFormControl-root MuiFormControl-marginDense MuiFormControl-fullWidth MuiTextField-root css-rlnh8o-MuiFormControl-root-MuiTextField-root-searchBox"
|
|
32
|
-
>
|
|
33
|
-
<label
|
|
34
|
-
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeSmall MuiInputLabel-standard MuiFormLabel-colorPrimary MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeSmall MuiInputLabel-standard css-1s1jvl0-MuiFormLabel-root-MuiInputLabel-root"
|
|
35
|
-
data-shrink="false"
|
|
36
|
-
for="mui-1"
|
|
37
|
-
id="mui-1-label"
|
|
38
|
-
>
|
|
39
|
-
Filter tracks
|
|
40
|
-
</label>
|
|
41
|
-
<div
|
|
42
|
-
class="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl MuiInputBase-sizeSmall MuiInputBase-adornedEnd css-1blad95-MuiInputBase-root-MuiInput-root"
|
|
43
|
-
>
|
|
44
|
-
<input
|
|
45
|
-
aria-invalid="false"
|
|
46
|
-
class="MuiInputBase-input MuiInput-input MuiInputBase-inputSizeSmall MuiInputBase-inputAdornedEnd css-nz481w-MuiInputBase-input-MuiInput-input"
|
|
47
|
-
id="mui-1"
|
|
48
|
-
type="text"
|
|
49
|
-
value=""
|
|
50
|
-
/>
|
|
51
|
-
<div
|
|
52
|
-
class="MuiInputAdornment-root MuiInputAdornment-positionEnd MuiInputAdornment-standard MuiInputAdornment-sizeSmall css-1laqsz7-MuiInputAdornment-root"
|
|
53
|
-
>
|
|
54
|
-
<button
|
|
55
|
-
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeSmall css-9vna8i-MuiButtonBase-root-MuiIconButton-root"
|
|
56
|
-
tabindex="0"
|
|
57
|
-
type="button"
|
|
58
|
-
>
|
|
59
|
-
<svg
|
|
60
|
-
aria-hidden="true"
|
|
61
|
-
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-havevq-MuiSvgIcon-root"
|
|
62
|
-
data-testid="ClearIcon"
|
|
63
|
-
focusable="false"
|
|
64
|
-
viewBox="0 0 24 24"
|
|
65
|
-
>
|
|
66
|
-
<path
|
|
67
|
-
d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
68
|
-
/>
|
|
69
|
-
</svg>
|
|
70
|
-
<span
|
|
71
|
-
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
|
|
72
|
-
/>
|
|
73
|
-
</button>
|
|
74
|
-
</div>
|
|
75
|
-
</div>
|
|
76
|
-
</div>
|
|
77
|
-
<button
|
|
78
|
-
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall css-1c8zr45-MuiButtonBase-root-MuiButton-root-menuIcon"
|
|
79
|
-
tabindex="0"
|
|
80
|
-
type="button"
|
|
81
|
-
>
|
|
82
|
-
Open faceted selector
|
|
83
|
-
<span
|
|
84
|
-
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
|
|
85
|
-
/>
|
|
86
|
-
</button>
|
|
87
|
-
</div>
|
|
88
|
-
</div>
|
|
89
|
-
`;
|
|
90
|
-
|
|
91
|
-
exports[`renders with a couple of categorized tracks 1`] = `
|
|
92
|
-
<div
|
|
93
|
-
data-testid="hierarchical_track_selector"
|
|
94
|
-
>
|
|
95
|
-
<div
|
|
96
|
-
style="display: flex;"
|
|
97
|
-
>
|
|
98
|
-
<button
|
|
99
|
-
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeSmall css-1kgqocu-MuiButtonBase-root-MuiIconButton-root-menuIcon"
|
|
100
|
-
tabindex="0"
|
|
101
|
-
type="button"
|
|
102
|
-
>
|
|
103
|
-
<svg
|
|
104
|
-
aria-hidden="true"
|
|
105
|
-
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-havevq-MuiSvgIcon-root"
|
|
106
|
-
data-testid="MenuIcon"
|
|
107
|
-
focusable="false"
|
|
108
|
-
viewBox="0 0 24 24"
|
|
109
|
-
>
|
|
110
|
-
<path
|
|
111
|
-
d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"
|
|
112
|
-
/>
|
|
113
|
-
</svg>
|
|
114
|
-
<span
|
|
115
|
-
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
|
|
116
|
-
/>
|
|
117
|
-
</button>
|
|
118
|
-
<div
|
|
119
|
-
class="MuiFormControl-root MuiFormControl-marginDense MuiFormControl-fullWidth MuiTextField-root css-rlnh8o-MuiFormControl-root-MuiTextField-root-searchBox"
|
|
120
|
-
>
|
|
121
|
-
<label
|
|
122
|
-
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeSmall MuiInputLabel-standard MuiFormLabel-colorPrimary MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeSmall MuiInputLabel-standard css-1s1jvl0-MuiFormLabel-root-MuiInputLabel-root"
|
|
123
|
-
data-shrink="false"
|
|
124
|
-
for="mui-6"
|
|
125
|
-
id="mui-6-label"
|
|
126
|
-
>
|
|
127
|
-
Filter tracks
|
|
128
|
-
</label>
|
|
129
|
-
<div
|
|
130
|
-
class="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl MuiInputBase-sizeSmall MuiInputBase-adornedEnd css-1blad95-MuiInputBase-root-MuiInput-root"
|
|
131
|
-
>
|
|
132
|
-
<input
|
|
133
|
-
aria-invalid="false"
|
|
134
|
-
class="MuiInputBase-input MuiInput-input MuiInputBase-inputSizeSmall MuiInputBase-inputAdornedEnd css-nz481w-MuiInputBase-input-MuiInput-input"
|
|
135
|
-
id="mui-6"
|
|
136
|
-
type="text"
|
|
137
|
-
value=""
|
|
138
|
-
/>
|
|
139
|
-
<div
|
|
140
|
-
class="MuiInputAdornment-root MuiInputAdornment-positionEnd MuiInputAdornment-standard MuiInputAdornment-sizeSmall css-1laqsz7-MuiInputAdornment-root"
|
|
141
|
-
>
|
|
142
|
-
<button
|
|
143
|
-
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeSmall css-9vna8i-MuiButtonBase-root-MuiIconButton-root"
|
|
144
|
-
tabindex="0"
|
|
145
|
-
type="button"
|
|
146
|
-
>
|
|
147
|
-
<svg
|
|
148
|
-
aria-hidden="true"
|
|
149
|
-
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-havevq-MuiSvgIcon-root"
|
|
150
|
-
data-testid="ClearIcon"
|
|
151
|
-
focusable="false"
|
|
152
|
-
viewBox="0 0 24 24"
|
|
153
|
-
>
|
|
154
|
-
<path
|
|
155
|
-
d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
156
|
-
/>
|
|
157
|
-
</svg>
|
|
158
|
-
<span
|
|
159
|
-
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
|
|
160
|
-
/>
|
|
161
|
-
</button>
|
|
162
|
-
</div>
|
|
163
|
-
</div>
|
|
164
|
-
</div>
|
|
165
|
-
<button
|
|
166
|
-
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall css-1c8zr45-MuiButtonBase-root-MuiButton-root-menuIcon"
|
|
167
|
-
tabindex="0"
|
|
168
|
-
type="button"
|
|
169
|
-
>
|
|
170
|
-
Open faceted selector
|
|
171
|
-
<span
|
|
172
|
-
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
|
|
173
|
-
/>
|
|
174
|
-
</button>
|
|
175
|
-
</div>
|
|
176
|
-
</div>
|
|
177
|
-
`;
|
|
178
|
-
|
|
179
|
-
exports[`renders with a couple of uncategorized tracks 1`] = `
|
|
180
|
-
<div
|
|
181
|
-
data-testid="hierarchical_track_selector"
|
|
182
|
-
>
|
|
183
|
-
<div
|
|
184
|
-
style="display: flex;"
|
|
185
|
-
>
|
|
186
|
-
<button
|
|
187
|
-
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeSmall css-1kgqocu-MuiButtonBase-root-MuiIconButton-root-menuIcon"
|
|
188
|
-
tabindex="0"
|
|
189
|
-
type="button"
|
|
190
|
-
>
|
|
191
|
-
<svg
|
|
192
|
-
aria-hidden="true"
|
|
193
|
-
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-havevq-MuiSvgIcon-root"
|
|
194
|
-
data-testid="MenuIcon"
|
|
195
|
-
focusable="false"
|
|
196
|
-
viewBox="0 0 24 24"
|
|
197
|
-
>
|
|
198
|
-
<path
|
|
199
|
-
d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"
|
|
200
|
-
/>
|
|
201
|
-
</svg>
|
|
202
|
-
<span
|
|
203
|
-
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
|
|
204
|
-
/>
|
|
205
|
-
</button>
|
|
206
|
-
<div
|
|
207
|
-
class="MuiFormControl-root MuiFormControl-marginDense MuiFormControl-fullWidth MuiTextField-root css-rlnh8o-MuiFormControl-root-MuiTextField-root-searchBox"
|
|
208
|
-
>
|
|
209
|
-
<label
|
|
210
|
-
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeSmall MuiInputLabel-standard MuiFormLabel-colorPrimary MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeSmall MuiInputLabel-standard css-1s1jvl0-MuiFormLabel-root-MuiInputLabel-root"
|
|
211
|
-
data-shrink="false"
|
|
212
|
-
for="mui-2"
|
|
213
|
-
id="mui-2-label"
|
|
214
|
-
>
|
|
215
|
-
Filter tracks
|
|
216
|
-
</label>
|
|
217
|
-
<div
|
|
218
|
-
class="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl MuiInputBase-sizeSmall MuiInputBase-adornedEnd css-1blad95-MuiInputBase-root-MuiInput-root"
|
|
219
|
-
>
|
|
220
|
-
<input
|
|
221
|
-
aria-invalid="false"
|
|
222
|
-
class="MuiInputBase-input MuiInput-input MuiInputBase-inputSizeSmall MuiInputBase-inputAdornedEnd css-nz481w-MuiInputBase-input-MuiInput-input"
|
|
223
|
-
id="mui-2"
|
|
224
|
-
type="text"
|
|
225
|
-
value=""
|
|
226
|
-
/>
|
|
227
|
-
<div
|
|
228
|
-
class="MuiInputAdornment-root MuiInputAdornment-positionEnd MuiInputAdornment-standard MuiInputAdornment-sizeSmall css-1laqsz7-MuiInputAdornment-root"
|
|
229
|
-
>
|
|
230
|
-
<button
|
|
231
|
-
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeSmall css-9vna8i-MuiButtonBase-root-MuiIconButton-root"
|
|
232
|
-
tabindex="0"
|
|
233
|
-
type="button"
|
|
234
|
-
>
|
|
235
|
-
<svg
|
|
236
|
-
aria-hidden="true"
|
|
237
|
-
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-havevq-MuiSvgIcon-root"
|
|
238
|
-
data-testid="ClearIcon"
|
|
239
|
-
focusable="false"
|
|
240
|
-
viewBox="0 0 24 24"
|
|
241
|
-
>
|
|
242
|
-
<path
|
|
243
|
-
d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
244
|
-
/>
|
|
245
|
-
</svg>
|
|
246
|
-
<span
|
|
247
|
-
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
|
|
248
|
-
/>
|
|
249
|
-
</button>
|
|
250
|
-
</div>
|
|
251
|
-
</div>
|
|
252
|
-
</div>
|
|
253
|
-
<button
|
|
254
|
-
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall css-1c8zr45-MuiButtonBase-root-MuiButton-root-menuIcon"
|
|
255
|
-
tabindex="0"
|
|
256
|
-
type="button"
|
|
257
|
-
>
|
|
258
|
-
Open faceted selector
|
|
259
|
-
<span
|
|
260
|
-
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
|
|
261
|
-
/>
|
|
262
|
-
</button>
|
|
263
|
-
</div>
|
|
264
|
-
</div>
|
|
265
|
-
`;
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import {
|
|
3
|
-
DialogContent,
|
|
4
|
-
DialogContentText,
|
|
5
|
-
Button,
|
|
6
|
-
List,
|
|
7
|
-
ListItem,
|
|
8
|
-
DialogActions,
|
|
9
|
-
} from '@mui/material'
|
|
10
|
-
import { Dialog } from '@jbrowse/core/ui'
|
|
11
|
-
import { observer } from 'mobx-react'
|
|
12
|
-
|
|
13
|
-
export default observer(function CloseConnectionDialog({
|
|
14
|
-
modalInfo = {},
|
|
15
|
-
onClose,
|
|
16
|
-
}: {
|
|
17
|
-
modalInfo?: {
|
|
18
|
-
name?: string
|
|
19
|
-
dereferenceTypeCount?: { [key: string]: number }
|
|
20
|
-
safelyBreakConnection?: () => void
|
|
21
|
-
}
|
|
22
|
-
onClose: () => void
|
|
23
|
-
}) {
|
|
24
|
-
const { name, dereferenceTypeCount, safelyBreakConnection } = modalInfo
|
|
25
|
-
return (
|
|
26
|
-
<Dialog open maxWidth="lg" title={`Close connection "${name}"`}>
|
|
27
|
-
<DialogContent>
|
|
28
|
-
{dereferenceTypeCount ? (
|
|
29
|
-
<>
|
|
30
|
-
<DialogContentText>
|
|
31
|
-
Closing this connection will close:
|
|
32
|
-
</DialogContentText>
|
|
33
|
-
<List>
|
|
34
|
-
{Object.entries(dereferenceTypeCount).map(([key, value]) => (
|
|
35
|
-
<ListItem key={key}>{`${value} ${key}`}</ListItem>
|
|
36
|
-
))}
|
|
37
|
-
</List>
|
|
38
|
-
</>
|
|
39
|
-
) : null}
|
|
40
|
-
<DialogContentText>
|
|
41
|
-
Are you sure you want to close this connection?
|
|
42
|
-
</DialogContentText>
|
|
43
|
-
</DialogContent>
|
|
44
|
-
<DialogActions>
|
|
45
|
-
<Button onClick={() => onClose()} color="primary">
|
|
46
|
-
Cancel
|
|
47
|
-
</Button>
|
|
48
|
-
<Button
|
|
49
|
-
variant="contained"
|
|
50
|
-
onClick={
|
|
51
|
-
modalInfo
|
|
52
|
-
? () => {
|
|
53
|
-
safelyBreakConnection?.()
|
|
54
|
-
onClose()
|
|
55
|
-
}
|
|
56
|
-
: () => {}
|
|
57
|
-
}
|
|
58
|
-
color="primary"
|
|
59
|
-
>
|
|
60
|
-
OK
|
|
61
|
-
</Button>
|
|
62
|
-
</DialogActions>
|
|
63
|
-
</Dialog>
|
|
64
|
-
)
|
|
65
|
-
})
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import {
|
|
3
|
-
Dialog,
|
|
4
|
-
DialogTitle,
|
|
5
|
-
DialogContent,
|
|
6
|
-
DialogContentText,
|
|
7
|
-
DialogActions,
|
|
8
|
-
Button,
|
|
9
|
-
} from '@mui/material'
|
|
10
|
-
import { observer } from 'mobx-react'
|
|
11
|
-
import { AnyConfigurationModel } from '@jbrowse/core/configuration'
|
|
12
|
-
import { AbstractSessionModel } from '@jbrowse/core/util'
|
|
13
|
-
|
|
14
|
-
function DeleteConnectionDialog({
|
|
15
|
-
deleteDialogDetails,
|
|
16
|
-
session,
|
|
17
|
-
handleClose,
|
|
18
|
-
}: {
|
|
19
|
-
deleteDialogDetails: { name: string; connectionConf: AnyConfigurationModel }
|
|
20
|
-
session: AbstractSessionModel
|
|
21
|
-
handleClose: () => void
|
|
22
|
-
}) {
|
|
23
|
-
const { connectionConf, name } = deleteDialogDetails
|
|
24
|
-
return (
|
|
25
|
-
<Dialog open>
|
|
26
|
-
<DialogTitle>Delete connection "{name}"</DialogTitle>
|
|
27
|
-
<DialogContent>
|
|
28
|
-
<DialogContentText>
|
|
29
|
-
Are you sure you want to delete this connection?
|
|
30
|
-
</DialogContentText>
|
|
31
|
-
</DialogContent>
|
|
32
|
-
<DialogActions>
|
|
33
|
-
<Button onClick={() => handleClose()} color="primary">
|
|
34
|
-
Cancel
|
|
35
|
-
</Button>
|
|
36
|
-
<Button
|
|
37
|
-
variant="contained"
|
|
38
|
-
color="primary"
|
|
39
|
-
onClick={() => {
|
|
40
|
-
if (connectionConf) {
|
|
41
|
-
session.deleteConnection?.(connectionConf)
|
|
42
|
-
}
|
|
43
|
-
handleClose()
|
|
44
|
-
}}
|
|
45
|
-
>
|
|
46
|
-
OK
|
|
47
|
-
</Button>
|
|
48
|
-
</DialogActions>
|
|
49
|
-
</Dialog>
|
|
50
|
-
)
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export default observer(DeleteConnectionDialog)
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import {
|
|
3
|
-
Button,
|
|
4
|
-
DialogContent,
|
|
5
|
-
DialogActions,
|
|
6
|
-
IconButton,
|
|
7
|
-
Tooltip,
|
|
8
|
-
Typography,
|
|
9
|
-
} from '@mui/material'
|
|
10
|
-
import { Dialog } from '@jbrowse/core/ui'
|
|
11
|
-
import { makeStyles } from 'tss-react/mui'
|
|
12
|
-
import { observer } from 'mobx-react'
|
|
13
|
-
import {
|
|
14
|
-
AnyConfigurationModel,
|
|
15
|
-
readConfObject,
|
|
16
|
-
} from '@jbrowse/core/configuration'
|
|
17
|
-
import { AbstractSessionModel } from '@jbrowse/core/util'
|
|
18
|
-
|
|
19
|
-
// icons
|
|
20
|
-
import CloseIcon from '@mui/icons-material/Close'
|
|
21
|
-
|
|
22
|
-
const useStyles = makeStyles()(theme => ({
|
|
23
|
-
connectionContainer: {
|
|
24
|
-
margin: theme.spacing(4),
|
|
25
|
-
width: 500,
|
|
26
|
-
},
|
|
27
|
-
}))
|
|
28
|
-
|
|
29
|
-
function ManageConnectionsDlg({
|
|
30
|
-
session,
|
|
31
|
-
handleClose,
|
|
32
|
-
breakConnection,
|
|
33
|
-
}: {
|
|
34
|
-
handleClose: () => void
|
|
35
|
-
session: AbstractSessionModel
|
|
36
|
-
breakConnection: (conf: AnyConfigurationModel, arg: boolean) => void
|
|
37
|
-
}) {
|
|
38
|
-
const { classes } = useStyles()
|
|
39
|
-
const { adminMode, connections, sessionConnections } = session
|
|
40
|
-
return (
|
|
41
|
-
<Dialog open onClose={handleClose} maxWidth="lg" title="Delete connections">
|
|
42
|
-
<DialogContent>
|
|
43
|
-
<Typography>
|
|
44
|
-
Click the X icon to delete the connection from your config completely
|
|
45
|
-
</Typography>
|
|
46
|
-
<div className={classes.connectionContainer}>
|
|
47
|
-
{connections.map(conf => {
|
|
48
|
-
const name = readConfObject(conf, 'name')
|
|
49
|
-
return (
|
|
50
|
-
<Typography key={`conn-${name}`}>
|
|
51
|
-
{adminMode || sessionConnections?.includes(conf) ? (
|
|
52
|
-
<IconButton onClick={() => breakConnection(conf, true)}>
|
|
53
|
-
<CloseIcon color="error" />
|
|
54
|
-
</IconButton>
|
|
55
|
-
) : (
|
|
56
|
-
<Tooltip title="Unable to delete connection in config file as non-admin user">
|
|
57
|
-
<IconButton>
|
|
58
|
-
<CloseIcon color="disabled" />
|
|
59
|
-
</IconButton>
|
|
60
|
-
</Tooltip>
|
|
61
|
-
)}
|
|
62
|
-
{name}
|
|
63
|
-
</Typography>
|
|
64
|
-
)
|
|
65
|
-
})}
|
|
66
|
-
{!connections.length ? (
|
|
67
|
-
<Typography>No connections found</Typography>
|
|
68
|
-
) : null}
|
|
69
|
-
</div>
|
|
70
|
-
</DialogContent>
|
|
71
|
-
<DialogActions>
|
|
72
|
-
<Button
|
|
73
|
-
onClick={() => handleClose()}
|
|
74
|
-
variant="contained"
|
|
75
|
-
color="primary"
|
|
76
|
-
>
|
|
77
|
-
Close
|
|
78
|
-
</Button>
|
|
79
|
-
</DialogActions>
|
|
80
|
-
</Dialog>
|
|
81
|
-
)
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
export default observer(ManageConnectionsDlg)
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import {
|
|
3
|
-
Button,
|
|
4
|
-
Checkbox,
|
|
5
|
-
DialogContent,
|
|
6
|
-
DialogActions,
|
|
7
|
-
FormControlLabel,
|
|
8
|
-
Typography,
|
|
9
|
-
} from '@mui/material'
|
|
10
|
-
import { Dialog } from '@jbrowse/core/ui'
|
|
11
|
-
import { makeStyles } from 'tss-react/mui'
|
|
12
|
-
import { observer } from 'mobx-react'
|
|
13
|
-
import {
|
|
14
|
-
AnyConfigurationModel,
|
|
15
|
-
readConfObject,
|
|
16
|
-
} from '@jbrowse/core/configuration'
|
|
17
|
-
import { AbstractSessionModel } from '@jbrowse/core/util'
|
|
18
|
-
|
|
19
|
-
export function ellipses(slug: string) {
|
|
20
|
-
return slug.length > 20 ? `${slug.slice(0, 20)}...` : slug
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
const useStyles = makeStyles()(theme => ({
|
|
24
|
-
connectionContainer: {
|
|
25
|
-
width: 500,
|
|
26
|
-
margin: theme.spacing(4),
|
|
27
|
-
},
|
|
28
|
-
}))
|
|
29
|
-
|
|
30
|
-
const ConnectionRow = observer(function ConnectionRow({
|
|
31
|
-
conf,
|
|
32
|
-
session,
|
|
33
|
-
breakConnection,
|
|
34
|
-
}: {
|
|
35
|
-
conf: AnyConfigurationModel
|
|
36
|
-
session: AbstractSessionModel
|
|
37
|
-
breakConnection: (arg: AnyConfigurationModel) => void
|
|
38
|
-
}) {
|
|
39
|
-
const { connectionInstances: instances = [] } = session
|
|
40
|
-
const name = readConfObject(conf, 'name')
|
|
41
|
-
const assemblyNames = readConfObject(conf, 'assemblyNames')
|
|
42
|
-
const found = instances.find(conn => name === conn.name)
|
|
43
|
-
return (
|
|
44
|
-
<FormControlLabel
|
|
45
|
-
key={conf.connectionId}
|
|
46
|
-
control={
|
|
47
|
-
<Checkbox
|
|
48
|
-
checked={!!found}
|
|
49
|
-
onChange={() => {
|
|
50
|
-
if (found) {
|
|
51
|
-
breakConnection(conf)
|
|
52
|
-
} else {
|
|
53
|
-
session.makeConnection?.(conf)
|
|
54
|
-
}
|
|
55
|
-
}}
|
|
56
|
-
color="primary"
|
|
57
|
-
/>
|
|
58
|
-
}
|
|
59
|
-
label={[
|
|
60
|
-
name,
|
|
61
|
-
assemblyNames.length ? `(${ellipses(assemblyNames.join(','))})` : '',
|
|
62
|
-
]
|
|
63
|
-
.filter(f => !!f)
|
|
64
|
-
.join(' ')}
|
|
65
|
-
/>
|
|
66
|
-
)
|
|
67
|
-
})
|
|
68
|
-
|
|
69
|
-
const ConnectionList = observer(function ConnectionsList({
|
|
70
|
-
session,
|
|
71
|
-
breakConnection,
|
|
72
|
-
}: {
|
|
73
|
-
session: AbstractSessionModel
|
|
74
|
-
breakConnection: (arg: AnyConfigurationModel) => void
|
|
75
|
-
}) {
|
|
76
|
-
const { classes } = useStyles()
|
|
77
|
-
return (
|
|
78
|
-
<div className={classes.connectionContainer}>
|
|
79
|
-
{!session.connections.length ? (
|
|
80
|
-
<Typography>No connections found</Typography>
|
|
81
|
-
) : (
|
|
82
|
-
session.connections.map((conf, idx) => (
|
|
83
|
-
<div key={conf.name + '_' + idx}>
|
|
84
|
-
<ConnectionRow
|
|
85
|
-
conf={conf}
|
|
86
|
-
session={session}
|
|
87
|
-
breakConnection={breakConnection}
|
|
88
|
-
/>
|
|
89
|
-
</div>
|
|
90
|
-
))
|
|
91
|
-
)}
|
|
92
|
-
</div>
|
|
93
|
-
)
|
|
94
|
-
})
|
|
95
|
-
|
|
96
|
-
export default observer(function ToggleConnectionDialog({
|
|
97
|
-
session,
|
|
98
|
-
handleClose,
|
|
99
|
-
breakConnection,
|
|
100
|
-
}: {
|
|
101
|
-
handleClose: () => void
|
|
102
|
-
session: AbstractSessionModel
|
|
103
|
-
breakConnection: (arg: AnyConfigurationModel) => void
|
|
104
|
-
}) {
|
|
105
|
-
return (
|
|
106
|
-
<Dialog
|
|
107
|
-
open
|
|
108
|
-
onClose={handleClose}
|
|
109
|
-
maxWidth="lg"
|
|
110
|
-
title="Turn on/off connections"
|
|
111
|
-
>
|
|
112
|
-
<DialogContent>
|
|
113
|
-
<Typography>Use the checkbox to turn on/off connections</Typography>
|
|
114
|
-
<ConnectionList session={session} breakConnection={breakConnection} />
|
|
115
|
-
</DialogContent>
|
|
116
|
-
<DialogActions>
|
|
117
|
-
<Button
|
|
118
|
-
onClick={() => handleClose()}
|
|
119
|
-
variant="contained"
|
|
120
|
-
color="primary"
|
|
121
|
-
>
|
|
122
|
-
Close
|
|
123
|
-
</Button>
|
|
124
|
-
</DialogActions>
|
|
125
|
-
</Dialog>
|
|
126
|
-
)
|
|
127
|
-
})
|