Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3-thumbnail research note display inline in notes or wiki pages #146

Closed
jywarren opened this issue Aug 14, 2014 · 1 comment
Closed

3-thumbnail research note display inline in notes or wiki pages #146

jywarren opened this issue Aug 14, 2014 · 1 comment
Labels
break-me-up break up for cleaner code separation, discrete tests, and, easier and iterative collaboration enhancement explains that the issue is to improve upon one of our existing features help wanted requires help by anyone willing to contribute Ruby

Comments

@jywarren
Copy link
Member

jywarren commented Aug 14, 2014

This'd be useful when displaying topically relevant notes inline in notes or wikis, like this:

screenshot 2016-11-14 at 6 17 27 pm

The mobile view could look like the nytimes.com listing here:

tmp_20160-screenshot_20161115-095956-58044823

However I think this could be doable as a variant of the [table-based display of inline grids, which is currently done here: https://github.com/publiclab/plots2/blob/master/app/helpers/application_helper.rb#L32-L58

You'd be able to insert them using an inline tag like [thumbnails:tagname] -- similarly as described here: https://publiclab.org/wiki/power-tags#Inline+power+tags

They look like this:

img

We'd just use a paginated 3-column display of these node templates: https://github.com/publiclab/plots2/blob/master/app/views/dashboard/_node_default.html.erb

The dashboard view at https://publiclab.org/research uses a 2-column version of this that could be copied:

https://github.com/publiclab/plots2/blob/master/app/views/dashboard/_activity.html.erb#L50-L64

@jywarren jywarren added help wanted requires help by anyone willing to contribute Ruby break-me-up break up for cleaner code separation, discrete tests, and, easier and iterative collaboration labels Nov 15, 2016
@jywarren jywarren changed the title side-scrollable research note display in 4-up note tabs 3-thumbnail research note display inline in notes or wiki pages Nov 15, 2016
@jywarren
Copy link
Member Author

Merging into #1097.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
break-me-up break up for cleaner code separation, discrete tests, and, easier and iterative collaboration enhancement explains that the issue is to improve upon one of our existing features help wanted requires help by anyone willing to contribute Ruby
Projects
None yet
Development

No branches or pull requests

1 participant