@jbrowse/product-core 5.0.0-beta.13 → 5.0.0-beta.14
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/esm/RootModel/BaseRootModel.d.ts +88 -47
- package/esm/RootModel/BaseRootModel.js +45 -2
- package/esm/RootModel/HierarchicalConfig.d.ts +3 -1
- package/esm/RootModel/HierarchicalConfig.js +3 -1
- package/esm/RootModel/InternetAccounts.d.ts +2 -0
- package/esm/RootModel/InternetAccounts.js +2 -0
- package/esm/RootModel/PreferencesConfig.d.ts +4 -4
- package/esm/RootModel/PreferencesConfig.js +4 -4
- package/esm/RootModel/menuItems.d.ts +1 -2
- package/esm/RootModel/menuItems.js +3 -4
- package/esm/Session/BaseSession.d.ts +7 -5
- package/esm/Session/BaseSession.js +15 -5
- package/esm/Session/Connections.d.ts +3 -0
- package/esm/Session/Connections.js +3 -0
- package/esm/Session/DrawerWidgets.d.ts +2 -0
- package/esm/Session/DrawerWidgets.js +2 -0
- package/esm/Session/MultipleViews.d.ts +122 -96
- package/esm/Session/MultipleViews.js +5 -3
- package/esm/Session/Preferences.d.ts +122 -97
- package/esm/Session/Preferences.js +5 -4
- package/esm/Session/ReferenceManagement.d.ts +2 -0
- package/esm/Session/ReferenceManagement.js +2 -0
- package/esm/Session/SessionTracks.d.ts +119 -93
- package/esm/Session/SessionTracks.js +2 -0
- package/esm/Session/Themes.d.ts +7 -5
- package/esm/Session/Themes.js +15 -10
- package/esm/Session/TrackMenu.d.ts +4 -8
- package/esm/Session/TrackMenu.js +13 -7
- package/esm/Session/TrackMenuSessionMixin.js +7 -3
- package/esm/Session/Tracks.d.ts +120 -93
- package/esm/Session/Tracks.js +3 -0
- package/esm/Session/pluginExtraTrackItems.d.ts +2 -3
- package/esm/Session/pluginExtraTrackItems.js +1 -1
- package/esm/sessionMigrations/index.js +2 -2
- package/esm/siblingCast.d.ts +6 -0
- package/esm/siblingCast.js +7 -0
- package/esm/ui/AboutDialog.d.ts +3 -2
- package/esm/ui/AboutDialog.js +4 -2
- package/esm/ui/DescriptionPanel.js +4 -4
- package/esm/ui/Drawer.js +11 -15
- package/esm/ui/HeaderButtons.d.ts +1 -1
- package/esm/ui/HeaderButtons.js +3 -2
- package/esm/ui/PreferenceCheckbox.d.ts +3 -2
- package/esm/ui/PreferenceCheckbox.js +4 -2
- package/esm/ui/WidgetHeading.d.ts +2 -2
- package/esm/ui/WidgetHeading.js +3 -2
- package/package.json +6 -6
|
@@ -62,6 +62,8 @@ function viewsOfSessionSnapshot(snapshot) {
|
|
|
62
62
|
}
|
|
63
63
|
/**
|
|
64
64
|
* #stateModel MultipleViewsSessionMixin
|
|
65
|
+
* Adds a list of views to a session, with actions to add, remove, replace and
|
|
66
|
+
* reorder them.
|
|
65
67
|
*/
|
|
66
68
|
export function MultipleViewsSessionMixin(pluginManager) {
|
|
67
69
|
// an unknown type name passes through to fail at the union as it always has
|
|
@@ -220,9 +222,9 @@ export function MultipleViewsSessionMixin(pluginManager) {
|
|
|
220
222
|
* and so lets its snackbar offer an Undo. Swapping in a new node would
|
|
221
223
|
* leave nothing to undo onto.
|
|
222
224
|
*
|
|
223
|
-
* The slot is `session.views`,
|
|
224
|
-
*
|
|
225
|
-
*
|
|
225
|
+
* The slot is `session.views`, the order views render in (a tab's
|
|
226
|
+
* `viewIds` says which tab a view is in, not where in it), so the swap
|
|
227
|
+
* lands in place.
|
|
226
228
|
*
|
|
227
229
|
* WHICH panel is a separate question and this does not answer it: the
|
|
228
230
|
* new view arrives in no tab, and `homeUnassignedViews` puts it in the
|