Coder Social home page Coder Social logo

Windowing/Tray UX about ipfs-desktop HOT 15 CLOSED

ipfs avatar ipfs commented on August 25, 2024
Windowing/Tray UX

from ipfs-desktop.

Comments (15)

jbenet avatar jbenet commented on August 25, 2024
  • App permanently lives in the tray at all times

SGTM

  • When the app window is open, a dock/task bar icon will open.

SGTM

  • When the app window is closed, the dock/task bar icon is hidden, and the app lives in the tray.

SGTM

  • Enable silent launching to the tray so that people can add the app to their startup apps

SGTM

I think that the menubar item should stay there and let you turn IPFS daemon on and off. menubar/tray item stays (unless you ask it to not show)). the logo can change to reflect whether ipfs is running or not, more grayed out when it's off, or whatever.

from ipfs-desktop.

bcomnes avatar bcomnes commented on August 25, 2024

Ohh good point. Offline access to files is important as is quick access to starting/stopping the daemon when peering is inappropriate.

from ipfs-desktop.

jbenet avatar jbenet commented on August 25, 2024

oh we could also have a "daemon online but disconnected" mode.

from ipfs-desktop.

krl avatar krl commented on August 25, 2024

Most of these things were already addressed, but only seems to work properly when the app is run as a package. This should be ok imo.

open:
open

minimized:
minimized

closed:
closed

from ipfs-desktop.

jbenet avatar jbenet commented on August 25, 2024

seems to work on osx, too. \o/ gj

  • considering whether it should use a repo in the app bundle? (so when people trash ipfs, it deletes everything? but then again maybe not. not sure, maybe best to keep it in default location) cc @bcomnes thoughts?
  • it's using my $HOME repo (~/.ipfs), but not clashing with a daemon i have running... (maybe the electron-app daemon is failing to bind ports and it just "happens" to work cause the ports are the same?)
  • also, if i move my repo away (i.e. no ~/.ipfs), launching the electron-ipfs.app doesnt do anything. maybe stuck somewhere? (is wizard supposed to appear here?)

from ipfs-desktop.

bcomnes avatar bcomnes commented on August 25, 2024

¯\_(ツ)_/¯ I think keeping node data in the app bundle is the wrong place to keep it. I like using ~/.ipfs. What use case would there be for running a daemon AND a the electron daemon at the same time?

We may also consider using system sanctioned locations for data like ~/Library/Application Support

from ipfs-desktop.

jbenet avatar jbenet commented on August 25, 2024

We could let the user choose when it launches, maybe between:

  • IPFS Default: /Users/<user>/.ipfs
  • System Default: /Users/<user>/Library/Application Support
  • Custom: [________________________________________]

from ipfs-desktop.

dignifiedquire avatar dignifiedquire commented on August 25, 2024

@bcomnes @jbenet can you please check the latest version, and update the issue accordingly?

from ipfs-desktop.

jbenet avatar jbenet commented on August 25, 2024

Need to verify it works fine on:

(what's your OS @dignifiedquire @bcomnes ?)

from ipfs-desktop.

dignifiedquire avatar dignifiedquire commented on August 25, 2024

I have OS X and window in a vm

from ipfs-desktop.

daviddias avatar daviddias commented on August 25, 2024

works fine for me on OSX (and sent a shout to some more devs that are big fans of React and WebPack :)

from ipfs-desktop.

Mithgol avatar Mithgol commented on August 25, 2024

I assume we are talking about https://github.com/ipfs/station

As its README recommends, I've cloned the repo and then run npm install.

I've watched it running for an hour and installing 869 dependencies in node_modules\.staging and then I've forced it to quit because I had to go and I had to take the flash drive with me. (I am sure there were even more dependencies, not only those 869.)

Ideas:

  • Maybe it should be recommended to run npm install --production instead of npm install.
  • Maybe a pre-built version should be distributed as a single archive to reduce the overhead of downloading hundreds of dependencies.

from ipfs-desktop.

whyrusleeping avatar whyrusleeping commented on August 25, 2024

@Mithgol a prebuilt binary will be provided for users once the project is ready for release.

from ipfs-desktop.

Mithgol avatar Mithgol commented on August 25, 2024

The file package.json also assumes a non-Windows system where it uses NODE_ENV=production some_command because that syntax (AFAIK) is not supported by the command line of Windows.

from ipfs-desktop.

bcomnes avatar bcomnes commented on August 25, 2024

https://github.com/ForbesLindesay/win-spawn is a commonly recommended way to route around that issue, however I find that it doesn't always noop on unix systems like its supposed to. It could be a matter of just squashing a bug though, I haven't had a chance to really look into it.

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.