Commit Graph

5 Commits

Author SHA1 Message Date
Eric Drechsel 2b093f38c8 vendor: update react to 15.4.2
The main motivation is that we want to use gopherjs +
github.com/myitcv/gopherjs/react , which requires a recent react.

This CL also fully switches to only using minified js files.

The changes in server/camlistored/ui are the result of some react
API changes, such as:

 - wraps component instantiation in React.createElement
 - React.classSet -> classNames
 - Need tbody between table and tr in a couple places
 - component array elts need unique keys (longstanding warning)
 - change root elt from body to a child div (to fix warning)
 - don't check isMounted in container render function
 - fix a bunch of style keys using kebab-case instead of camelCase

Change-Id: Idc22d07704688ccde3e4f67d4f188a5ad32b6e32
2017-01-25 19:11:58 +01:00
mpl 4e4f045c29 web UI: port Directory view to React
Side-effects:

Fixes issue #694

And we can now remove filetree.* and cache_buster_iframe.js

Change-Id: Id2d72054366be820771e8b342bb84c4da07a0abf
2016-03-17 00:29:26 +01:00
Aaron Boodman a4abea7525 Change URL format for individual blobs in the web UI.
Instead of /ui/?b=<hash>, /ui/?p=<hash>, /ui/?d=<hash>, etc...,
it's now just: /ui/<hash>

This makes constructing links easier, because you don't have to
know whether a blob is also a permanode, or a directory, or
whatever.

Change-Id: I771fa1b1699b9009269c7eee632e7e8fd5335331
2014-08-18 18:17:47 -07:00
Aaron Boodman 1e0db747fd Make directory aspect actually work.
Change-Id: I560cb9c8d91a395c26253d7fd4a8ec605671a910
2014-08-15 21:37:43 -07:00
Aaron Boodman 6b9ed9e467 Some cleanup: remove an unneeded file and rename another.
Change-Id: I7ef87c7fcfc831d40b2c507128de04b7c8b20d1c
2014-08-15 21:37:22 -07:00