Comments (25)
I couldn't find a way to dynamically update the tray menu contents last I checked but I'm totally 👍 on these stats. https://github.com/maxogden/menubar Fakes a menu using html/css and is dynamically updatable if we can't dynamically update the native menu system.
from ipfs-desktop.
html menu means we can draw whatever we want, which is nice
otoh, native menus are more ok with people. im down for whatever, if we do html, we should use it creatively.
from ipfs-desktop.
You can update the context menu, but that also closes the menu for the user, for now i'm doing something like this:
from ipfs-desktop.
@krl good stuff!
- "run daemon" is not very intuitive for end users. This is a tricky UI, because we want to give people the idea of "turning something On and Off". maybe "connect to swarm" could be grayed out when daemon is offline.
Maybe something like:
IPFS local node running ...
Stop IPFS node
[ ] Online (connected to swarm)
---
Open Console Window
Open Console in Browser
---
Exit
Hmm not sure. Maybe:
(Experimenting. probably want a real designer to figure this out, not me)
from ipfs-desktop.
btw, we can use arbitrary web page as a menu. see https://github.com/maxogden/ScreenCat
from ipfs-desktop.
jbenet: in osx that is, it seems like linux/windows support for this is not in. i could look at enabling that, but do we want to go that path?
from ipfs-desktop.
i'm really into your designs though.
from ipfs-desktop.
An alternative in the meantime i just thought of colud be using radio buttons.
( ) idle, off, eh? whatever to call it
( ) run local node
( ) run connected node
[ ] check for updates
from ipfs-desktop.
@krl i think we'll get a lot more mileage out of an HTML window.
from ipfs-desktop.
from: https://github.com/atom/electron/blob/master/docs/api/tray.md
Platform limitations:
On OS X clicked event will be ignored if the tray icon has context menu.
On Linux app indicator will be used if it is supported, otherwise GtkStatusIcon will be used instead.
App indicator will only be showed when it has context menu.
When app indicator is used on Linux, clicked event is ignored.
So if you want to keep exact same behaviors on all platforms, you should not rely on clicked event and always attach a context menu to the tray icon.
It seems to be the case that you cannot even get the 'clicked' event in gnome for example.
from ipfs-desktop.
hmm actually: electron/electron#1741
I'll investigate this.
from ipfs-desktop.
Those mockups look amazing! I don't know how to do the cool dropbox style window arrow, but everything else looks totally doable and nice.
from ipfs-desktop.
@bcomnes on the transparency, we could actually have a nice space background instead of making it transparent, which gets us 50% of the way there.
@krl do you need frontend help to make all this look super nice? If it's not your thing we can find someone who is good at it. (we should allocate resources optimally)
from ipfs-desktop.
Yeah, i'm not spending a lot of time on the design now, just getting something that looks decent and that works. I think having a designer go over it would be ideal.
from ipfs-desktop.
how would the drop 'down' thing work for people (like me) who have their tray at the bottom of the screen?
from ipfs-desktop.
drop up! /o\
On Wed, Jun 17, 2015 at 12:55 PM, Jeromy Johnson [email protected]
wrote:
how would the drop 'down' thing work for people (like me) who have their
tray at the bottom of the screen?—
Reply to this email directly or view it on GitHub
#3 (comment).
from ipfs-desktop.
@jbenet Ok, the stats shown in your example, is there a way to actually get them from the api, or from the client without daemon running?
from ipfs-desktop.
@krl maybe we should add an ipfs repo stat
command
from ipfs-desktop.
+1 repo stat command
from ipfs-desktop.
@krl let's try getting it in this next sprint for you.
from ipfs-desktop.
@jbenet what are your thoughts on a settings
/preferences
page, UI'wise?
from ipfs-desktop.
@diasdavid yeah we can do settings. what are the things we would have there?
from ipfs-desktop.
Some that I have in my mind
- repo/folder
- ports
- reset Node (updating key pair)
- start on boot
- bandwith used
- language
- link to help
- user
from ipfs-desktop.
@diasdavid @jbenet let's extract individual items from here into separate issues.
from ipfs-desktop.
The only item missing after #516 is merged is #523
from ipfs-desktop.
Related Issues (20)
- [gui error report] Error: Initializing daemon...
- [gui error report] SyntaxError: Unexpected end of JSON input: Error: open C:\Users\Rohan In HOT 1
- [gui error report] Error: Command failed: powershell.exe -NoProfile -NonInteractive -InputF HOT 1
- [gui error report] Error: Initializing daemon...
- [gui error report] Error: Initializing daemon... HOT 1
- [gui error report] Error: Initializing daemon... HOT 1
- [gui error report] Error: Initializing daemon... HOT 1
- [gui error report] Error: Initializing daemon...
- [gui error report] Error: Initializing daemon...
- [gui error report] SyntaxError: Unexpected end of JSON input: Error: open /Users/nn/.ipfs/c HOT 2
- [gui error report] Error: ipfs daemon failed to start and produced no output (see error.log HOT 1
- bug 1 HOT 2
- feat1
- [gui error report] Error: Initializing daemon... HOT 2
- im curious on embeding id like to put more into one i want to terraform into my own enviornment HOT 1
- [gui error report] Error: Initializing daemon... HOT 1
- [gui error report] Error: Initializing daemon...
- v0.35.0 does not work on Intel Macs HOT 14
- [gui error report] Error: Initializing daemon... HOT 2
- Restore macOS builds to use ARM-based `macos-latest`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ipfs-desktop.