Giter Club home page Giter Club logo

hyperdrive-ui's Introduction

hyperdrive-ui

Explore the contents of a hyperdrive in the browser.

Example

Live demo: http://dat.land/

usage

npm install hyperdrive-ui

hyperdriveUI(archive, opts, onclick)

Renders the explorer.

var explorer = require('hyperdrive-ui')
function onclick (ev, entry) {
  console.log('clicked', entry.name, entry.type)
}
var tree = explorer(archive, onclick)
document.querySelector('#hyperdrive').appendChild(tree)

get started

npm install
npm start

hyperdrive-ui's People

Contributors

clkao avatar juliangruber avatar karissa avatar laurengarcia avatar mafintosh avatar max-mapper avatar okdistribute avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hyperdrive-ui's Issues

render .csv/.tsv nicely

it'd be cool if the csv was rendered more friendly-like.

there are are a lot of awesome csv renderers.

This might require an addition or change to the render-data package

Viewing files disabled after clicking on any folders

To duplicate:
dat hash: 2cc2795f95a23f24fd8f0733dc8d5fe878a9bc2f54d5362ff874341654899dfb
Click Exercises.txt. Works as expected.
Click vocab. Works as expected.
Click a file. No response.
Click the ".." folder. This works as expected.
Click Exercises.txt. It doesn't display any more.

progress bars

when you drag and drop there should be a progress bar

back button on browser should trigger back in fs

e.g., if you load a dat link (page A), then open a file (page B), then hit back, the browser should display page A again. Currently it's not doing that, at least not on my browser (Chrome, Mac).

responsive header

the reset and help button are off to the right hiding when you make the browser half size
screen shot 2016-06-14 at 12 40 02 am

overwritten files are displayed as duplicated files

if you drag readme.md into hyperdrive, and then drag a different version of readme.md over again, you will see two readme.md, in both the owner's hyperdrive and replicated drive.

We should construct the correct filesystem taking overwrites into account.

signalhub status

If you have multiple browser tabs, the connection to signalhub is blocked due to per-host connection limit (hello this is 2016?) and making the UI non-responsive.

There should be an indicator if signalhub is not responsive after a few seconds.

break out speedometer from app.js

break out attachSpeedometer() logic currently in app.js into its own module, hyperdrive-speedometer-ui that takes simple args: (archive, parentEl, uploadEl, downloadEl). that way desktop app can re-use.

"changes" view

show entries from the metadata feed, and allow viewing an older version of an overwritten file.

separate website from lib

looking at the commit log it's hard to tell what went into the page and what into the lib. can we separate the two?

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.