Commit Graph

8 Commits

Author SHA1 Message Date
Mario Russo ae85a3ff4e ui: added 'No references' placeholder text to the blob detail aspect when there are no references to display
Change-Id: I9bd7b10ab8954c41a3b4a7c375748e087fdc77b3
2015-04-23 11:08:17 +02:00
Aaron Boodman ea2c8fa990 Add a list of references to a blob to the blob aspect.
Change-Id: I2fe96bc8f04f8137773aee393eb934e06517575d
2015-01-04 21:59:10 -08: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 940150a5c7 Reimplement the Blob aspect using React.
Change-Id: I819b4d1dda86fe80db203f10e1e8a1b23b0777d5
2014-08-18 18:19:50 -07: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 48803d183b Propagate all clicks in the hacky child frame up to the main app.
This is temporary duct tape to make the child frames work better
utnil they are rewritten.

Change-Id: I1822af95620164896b959f946b9a888e6ecdf91f
2014-08-15 21:19:54 -07:00
Aaron Boodman 03f0f598da Moved the nav from the side to across the top.
Various other related improvements.

Change-Id: I4469991ef4327a9a80f1bbf5ba5fed2a10f4eb79
2014-08-09 21:07:29 -07:00
Aaron Boodman df38df2275 Aspects: A new idea for the detail page.
http://imgur.com/Re14XKc,6fYHJqp,39nnQiT#0

Camlistore is built around the idea that every object is a blob,
but blobs can also self-describe themselves as more than a blob.

For example, some blobs are also files, or images, or sets, or
permanodes, or movies, or foursquare checkins. Etc.

Here is an idea for the detail page that reflects that underlying
reality of Camlistore.

Each blob has a single canonical URL in the web UI for its detail
page. Currently this is /?p=<...>, but should ideally be just
/<blobref>.

Within the web UI, many "aspects" register interest in providing
views on blobs. Each time the user navigates to a detail page,
each aspects gets to say whether it can provide a useful view on
the blob.

Aspects are currently rendered (crappily) as tabs along the bottom
of the UI. I'm not sure how they should actually be rendered, this
is temporary.

This patch includes the following aspects:
- image (the old image detail)
- permanode (the old old permanode page)
- blob (the old old blob page)

Change-Id: Idb3cdbb203799a5d9c113d1b37b67a2724040085
2014-05-02 19:13:08 -07:00