-
Notifications
You must be signed in to change notification settings - Fork 865
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
feat(ux): improve gc #1420
feat(ux): improve gc #1420
Conversation
It's neat for blocking this option, but we should show it more prominently. How about changing the green dot to a yellow broom, and instead of "IPFS is running" change the message to "IPFS is running the garbage collector" or something like this? 🤔 I think the ususally degraded performance justifies that the icon should be yellow instead of green. |
@RubenKelevra that's definitely a good idea! Let me see what I can do. I actually wanted to clean up tray logic. Might be an opportunity to improve it a bit. |
fdcc115
to
a811e49
Compare
Well, I would still vote for a broom instead of just 'yellow' which looks like something is partly broken 🤔 But the rest looks very nice! |
Ahah I like the Broom idea but we'd need to add that icon at some specific sizes and I think it's easier for now to keep the yellow circle. 🧹🧹 |
Here you go: https://commons.wikimedia.org/wiki/File:Artworkbean_broom.svg |
Thanks! Let's see what @lidel and @jessicaschilling have to say and save the icon for a next iteration. Let's not forget that the icon will be displayed in a very small size so it can't be too detailed. |
This is cool! I’m a little concerned that users will think IPFS isn’t running when GC is running. There isn’t a great option for text due to space but maybe “Running with Garbage Collection”? And I’d gray out the stop and restart items rather than remove them entirely, to indicate you can still stop and restart, just not right now. An aside: We should capitalize “IPFS is Running” to match the other menu items. Regarding broom - it’s going to be really tough to make that legible at small sizes, unfortunately. We’re also working on some stuff in ipfs-css that’s nearly finished, so suggest leaving that out for the time being. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my thoughts earlier 😊
What if we explain in the dialog before? I'm concerned about such a long sentence because it would seem all the other options are really small compared to that one.
Will do!
👍 |
“Running (Garbage Collecting)”? |
I see what you mean, but I do think it’s better than being unclear. Plus it’s not a super-frequent scenario. Let’s see what @lidel says. |
Yeah, I agree. Let's wait for lidel input! |
License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com>
License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com>
License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com>
License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com>
3f16d69
to
96b06c9
Compare
Co-Authored-By: Marcin Rataj <lidel@lidel.org>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-Authored-By: Marcin Rataj <lidel@lidel.org>
As @RubenKelevra noted, GC might take a while to finish running. So I took their suggestions and implemented them (see bellow).
This PR:
License: MIT
Signed-off-by: Henrique Dias hacdias@gmail.com