Commit Graph

4 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
Aaron Boodman cd072f78cd Add a header to the sidebar that displays number of selected items.
Change-Id: Idd877a96dc0f835c4f372d4de787114a39058628
2015-03-15 06:43:36 -07:00
Mario Russo ef286f891a ui: code cleanup to eliminate ReactJS warnings in console
-"unique key" warnings for items dynamically added via arrays
-"bind" errors when binding without providing 'null' as first param

Related Issue: https://code.google.com/p/camlistore/issues/detail?id=426

Change-Id: I9ab3d8e1097fc37bed54f1e0a6c078dd264ef579
2014-12-06 23:25:01 +01:00
Aaron Boodman ac67a8d479 Moved contextual nav items back to a sidebar.
Global nav items remain in piggy menu.

This is an adaptation of https://camlistore-review.googlesource.com/#/c/3898/ by Mario Russo <mail.mr@gmail.com>.

Change-Id: I85f7f386aa0573026253e13c5bd12b46ad08f83a
2014-11-04 15:34:08 -08:00