-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix install plugin workflow and error handling on desktop, update to electron 15 #2322
Conversation
When adding text searching to desktop, nothing is going to be configured for it right now, so I’d expect things to act the same as before from the users perspective, right? |
The preloaded hg19 and hg38 sections include text searching preloads in this PR |
Marked as draft again because this PR sometimes is not reliably working, but unclear why There is code like this that calls loadSession
Resulting console.log just says "before", no after, no finally, and no catch is executed Looking at the ipc call I can add logging code to make it say
This correctly logs t1 To the console, so it should be returning the results... So it's unclear why the ipcRenderer.invoke('loadSession',...) is not returning... |
d178fed
to
77a94d2
Compare
Codecov Report
@@ Coverage Diff @@
## main #2322 +/- ##
==========================================
- Coverage 61.92% 61.83% -0.09%
==========================================
Files 511 511
Lines 23394 23427 +33
Branches 5428 5436 +8
==========================================
Hits 14487 14487
- Misses 8639 8672 +33
Partials 268 268
Continue to review full report at Codecov.
|
e79313a
to
56d67ed
Compare
setPluginsUpdated to avoid 1s delay
I am not precisely sure what caused the behavior described in #2322 (comment) I did not really perform a root cause analysis but I stopped seeing it after a couple refactorings. if interested could dig deeper Code also updates to electron 15 (just tested out while attempting refactorings, bug fixes n improvements always good... is not the reason for fix above though) and ports over a error handler (e.g. tells which snapshot failed) from jbrowse-web to jbrowse-desktop. |
The code in #2247 fails to automatically reload the page to the right session after the user has exited
This adds code in the Loader of jbrowse-desktop that allows specifying a "query parameter" to the electron session that let's it restore a particular config
This query parameters on desktop could also be used for automating desktop via the CLI
Also adds text searching to desktop...random add on but just found it in the process