@jbrowse/plugin-linear-genome-view 5.0.0-beta.3 → 5.0.0-beta.4
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.
|
@@ -2527,7 +2527,18 @@ export function stateModelFactory(pluginManager) {
|
|
|
2527
2527
|
return;
|
|
2528
2528
|
}
|
|
2529
2529
|
const { assemblyManager } = getSession(self);
|
|
2530
|
-
|
|
2530
|
+
// A one-sided `volatileWidth !== undefined` parks forever on a view
|
|
2531
|
+
// that never mounts, and `navToMultiLevelBreak` awaits a Promise.all of
|
|
2532
|
+
// these one line before the `whenViewSettled` that was written to cure
|
|
2533
|
+
// exactly that hang. `isAlive` is the second terminal state and the
|
|
2534
|
+
// guard below is what it means. NOT `self.error`, which is a transient
|
|
2535
|
+
// truth (`assembliesNotFound` while a session assembly is registering)
|
|
2536
|
+
// independent of mounting, so it would return without navigating where
|
|
2537
|
+
// waiting would have navigated correctly.
|
|
2538
|
+
await when(() => self.volatileWidth !== undefined || !isAlive(self));
|
|
2539
|
+
if (!isAlive(self) || self.volatileWidth === undefined) {
|
|
2540
|
+
return;
|
|
2541
|
+
}
|
|
2531
2542
|
// Generate locations from the parsed regions
|
|
2532
2543
|
const locations = await generateLocations({
|
|
2533
2544
|
regions,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/plugin-linear-genome-view",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "JBrowse 2 linear genome view",
|
|
6
6
|
"keywords": [
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"@mui/material": "^9.4.0",
|
|
27
27
|
"mobx": "^7.0.3",
|
|
28
28
|
"mobx-react": "^10.0.2",
|
|
29
|
-
"@jbrowse/
|
|
30
|
-
"@jbrowse/display-
|
|
31
|
-
"@jbrowse/
|
|
32
|
-
"@jbrowse/render-core": "^5.0.0-beta.
|
|
29
|
+
"@jbrowse/display-kit": "^5.0.0-beta.4",
|
|
30
|
+
"@jbrowse/display-ui": "^5.0.0-beta.4",
|
|
31
|
+
"@jbrowse/core": "^5.0.0-beta.4",
|
|
32
|
+
"@jbrowse/render-core": "^5.0.0-beta.4"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"react": ">=19.0.0",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
},
|
|
41
41
|
"sideEffects": false,
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@jbrowse/display-test-utils": "^5.0.0-beta.
|
|
43
|
+
"@jbrowse/display-test-utils": "^5.0.0-beta.4"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"prebuild": "pnpm clean",
|