-
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
Menu item redesign and sessions are manually saved to filesystem #2391
Conversation
Cable may not exist in @material-ui/icons@4, the latest icon searcher is e.g. materialdesignicons has a diagonalized cable version of it |
I also don't know if there is a way to go back to the @material-ui/icons@4 search engine... |
v4 icon searcher is here: https://v4.mui.com/components/material-icons/, doesn't appear to have Cable. Could copy from the v5 code: function CableIcon(props: SvgIconProps) {
return (
<SvgIcon {...props}>
<path d="M20 5V4c0-.55-.45-1-1-1h-2c-.55 0-1 .45-1 1v1h-1v4c0 .55.45 1 1 1h1v7c0 1.1-.9 2-2 2s-2-.9-2-2V7c0-2.21-1.79-4-4-4S5 4.79 5 7v7H4c-.55 0-1 .45-1 1v4h1v1c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-1h1v-4c0-.55-.45-1-1-1H7V7c0-1.1.9-2 2-2s2 .9 2 2v10c0 2.21 1.79 4 4 4s4-1.79 4-4v-7h1c.55 0 1-.45 1-1V5h-1z" />
</SvgIcon>
)
} |
Kk...Added cable to @jbrowse/core/ui/Icons and used in web/desktop File menu for Open connection |
Codecov Report
@@ Coverage Diff @@
## main #2391 +/- ##
==========================================
- Coverage 60.90% 60.80% -0.11%
==========================================
Files 534 534
Lines 24638 24701 +63
Branches 5794 5801 +7
==========================================
+ Hits 15007 15020 +13
- Misses 9315 9364 +49
- Partials 316 317 +1
Continue to review full report at Codecov.
|
bda0b12
to
dfbfd7c
Compare
this needed to go back into draft because there is a little confusion about the mode when saving anywhere on the filesystem, and what happens when there is no file on the filesystem. the issue is particularly visible when installing a plugin: this requires a file on the filesystem to be rehydrated to. so probably, we should not really ever run the system without a file on the filesystem in existence |
ba488bf
to
204743a
Compare
Now we have, on the start screen, a setting called "Show autosave sessions" which is false by default. This is a little bit of a compromise between #615 and autosaves and current needs of this PR. We retain autosaves, hide by default, and allow sessions to be saved to specific places on the filesystem |
changed format of recent_sessions.json to not contain stringified pngs, pngs now written to a 'thumbnails' folder in userdata the file is read and dumped repeatedly during operation (on every saveSession) so needed to be kept small. |
884f0cc
to
f504fff
Compare
optimistic merge :) |
Shortlist of main changes
fixes #2377
fixes #2378