Giter Club home page Giter Club logo

Comments (25)

bcomnes avatar bcomnes commented on May 22, 2024

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.

jbenet avatar jbenet commented on May 22, 2024

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.

krl avatar krl commented on May 22, 2024

You can update the context menu, but that also closes the menu for the user, for now i'm doing something like this:

menu

@jbenet

from ipfs-desktop.

jbenet avatar jbenet commented on May 22, 2024

@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.

jbenet avatar jbenet commented on May 22, 2024

btw, we can use arbitrary web page as a menu. see https://github.com/maxogden/ScreenCat

from ipfs-desktop.

krl avatar krl commented on May 22, 2024

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.

krl avatar krl commented on May 22, 2024

i'm really into your designs though.

from ipfs-desktop.

krl avatar krl commented on May 22, 2024

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.

jbenet avatar jbenet commented on May 22, 2024

@krl i think we'll get a lot more mileage out of an HTML window.

from ipfs-desktop.

krl avatar krl commented on May 22, 2024

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.

krl avatar krl commented on May 22, 2024

hmm actually: electron/electron#1741

I'll investigate this.

from ipfs-desktop.

bcomnes avatar bcomnes commented on May 22, 2024

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.

jbenet avatar jbenet commented on May 22, 2024

@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.

krl avatar krl commented on May 22, 2024

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.

whyrusleeping avatar whyrusleeping commented on May 22, 2024

how would the drop 'down' thing work for people (like me) who have their tray at the bottom of the screen?

from ipfs-desktop.

jbenet avatar jbenet commented on May 22, 2024

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.

krl avatar krl commented on May 22, 2024

@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.

jbenet avatar jbenet commented on May 22, 2024

@krl maybe we should add an ipfs repo stat command

from ipfs-desktop.

krl avatar krl commented on May 22, 2024

+1 repo stat command

from ipfs-desktop.

jbenet avatar jbenet commented on May 22, 2024

@krl let's try getting it in this next sprint for you.

from ipfs-desktop.

daviddias avatar daviddias commented on May 22, 2024

@jbenet what are your thoughts on a settings/preferences page, UI'wise?

from ipfs-desktop.

jbenet avatar jbenet commented on May 22, 2024

@diasdavid yeah we can do settings. what are the things we would have there?

from ipfs-desktop.

daviddias avatar daviddias commented on May 22, 2024

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.

dignifiedquire avatar dignifiedquire commented on May 22, 2024

@diasdavid @jbenet let's extract individual items from here into separate issues.

from ipfs-desktop.

daviddias avatar daviddias commented on May 22, 2024

The only item missing after #516 is merged is #523

from ipfs-desktop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.