Plots2: Combined wiki/note grids using [node:_____] syntax, for inline grids

Created on 24 Oct 2018  ·  14Comments  ·  Source: publiclab/plots2

This may be a bit more complex, but we'd love some help.

We have inline grids on pages like this: https://publiclab.org/wiki/air-sensors

This means we have different ways to include inline tables of other pages, using syntax like:

[notes:______] or [wikis:________]

The templates for these are here:

https://github.com/publiclab/plots2/tree/master/app/views/grids

But sometimes you want to have both wikis and notes displayed. It'd be great to have a combined grid type for any node (see our /docs/ folder and the DATA MODEL) - with format:

[node:_____]

See how I've kind of done a broken version of this by just using one grid tag after the other -- showing 2 tables one after the other (a hack! Not very nice but... kind of works):

image

One issue is that notes and wikis have different columns - like the timestamp or author column. Let's try to find what overlaps and display those columns so it makes some sense -- but we can tweak this later.

Ruby big gci-candidate help wanted

Most helpful comment

Hi @ValentinaTironi
I believe @jywarren is referring to the feature used in writing wikipages, such as this one, where inserting [notes:____] expands into a table when published, as so:

inlinegrids

I believe the task is to create a similar feature where using [node:_____] will display all nodes, including notes, wikis, (and maybe questions?) in 1 grid, or to create a standard way to display all grids so the columns fit together nicely.

All 14 comments

I'll look into this issue. :+1:

Awesome, thanks!!!

On Thu, Nov 15, 2018, 2:07 PM Kaustubh Nair <[email protected] wrote:

I'll look into this issue. 👍


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/3758#issuecomment-439154092,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABfJwxq6C8Q3Qd1R7NQwu7J7IRQvloOks5uvbs7gaJpZM4X4yDI
.

Published on GCI dashboard

Oh is this issue supposed to be for gci candidates?

Yes

On Tue, Nov 20, 2018, 8:56 AM Kaustubh Nair <[email protected] wrote:

Oh is this issue supposed to be for gci candidates?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/3758#issuecomment-440124597,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUACQ6Wz1XZqtyOshiGo2hi03CKNrhKWks5uw3Z8gaJpZM4X4yDI
.

That's OK @KauNair we would still love help refining the grid to use Bootstrap styles as per https://github.com/publiclab/plots2/pull/3970#issuecomment-439167488 -- thanks!

@jywarren @SidharthBansal Hi! I have a question. Where I can see the notes and wikis grids? I looked of them but I couldn't find them. Can you give the route where the notes and wikis are displayed in grids? Thank you!

Some others questions: Where I have to show the grids with notes and wikis? And how many I should show? All of them? Sorry, I'm trying to understand the task to resolve it.

Sorry for inconveniences!

In https://publiclab.org/wiki I see that:
screen shot 2018-11-23 at 8 57 05 pm

It's a grid. Everything is right here. But in https://publiclab.org/notes
screen shot 2018-11-23 at 8 58 17 pm
And obviously it isn't a grid so... Please can you clear this for me?

@jywarren @gauravano Hi again! Sorry for be inpatient but I can't work on this task without your help! I really sorry but would be great if you can clear my doubts. Thank you so much!

Hi @ValentinaTironi
I believe @jywarren is referring to the feature used in writing wikipages, such as this one, where inserting [notes:____] expands into a table when published, as so:

inlinegrids

I believe the task is to create a similar feature where using [node:_____] will display all nodes, including notes, wikis, (and maybe questions?) in 1 grid, or to create a standard way to display all grids so the columns fit together nicely.

@kevinzluo Hello! Thank you so mucho for help me! I'm gonna try this issue.

Hi @ValentinaTironi sorry I am a little busy with exams :sweat_smile: , but try to answer more quickly from next time. Thanks @kevinzluo for explaining :100: .

Do you have any more doubts?

Yes, thank you for stepping in @kevinzluo -- we have a holiday which was
last week and I am just catching up now. I think a combined table is
perfect, but just keep in mind how we will be able to tell notes and wikis
apart in the table. Thanks!

On Mon, Nov 26, 2018 at 11:40 AM Gaurav Sachdeva notifications@github.com
wrote:

Hi @ValentinaTironi https://github.com/ValentinaTironi sorry I am a
little busy with exams 😅 , but try to answer more quickly from next
time. Thanks @kevinzluo https://github.com/kevinzluo for explaining 💯 .

Do you have any more doubts?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/3758#issuecomment-441708266,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABfJ0justp4s8mW1Jgy3Nkv9SSTWLvZks5uzBl4gaJpZM4X4yDI
.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

grvsachdeva picture grvsachdeva  ·  3Comments

divyabaid16 picture divyabaid16  ·  3Comments

first-timers[bot] picture first-timers[bot]  ·  3Comments

first-timers[bot] picture first-timers[bot]  ·  3Comments

keshavsethi picture keshavsethi  ·  3Comments