communityconnect icon indicating copy to clipboard operation
communityconnect copied to clipboard

re-map code to use Nevil's spreadsheet

Open galiat opened this issue 8 years ago • 7 comments

code currently uses: https://docs.google.com/spreadsheets/d/108aVfUjdRr_je1Pzx-axkOZTMMtdug7iyVH1m3BsnRw/edit#gid=0

code should use: https://docs.google.com/spreadsheets/d/e/2PACX-1vRVzMlKCR7IvRTTSqCzRq4CG7YiTtrkzNAkzuMfh-RgBtl7FFj650O5rwS1uE0xWwfnaFeyFmY6u1uk/pubhtml

galiat avatar Aug 15 '18 00:08 galiat

It seems the data is coming through Tabletop (https://www.npmjs.com/package/tabletop).

It is used in src/components/App.js, line 59 or so. Looking at the documentation, something needs to be corrected with the page that the "code should use." Please see https://www.npmjs.com/package/tabletop#if-your-publish-to-web-url-doesnt-work.

The desired new page has exactly that issue, it "has a /d/e," so maybe Nevil needs to do something on his end to fix that (?).

Also, I was not able to copy the page to test different settings, which might be helpful.

irvang avatar Sep 05 '18 04:09 irvang

So you can try doing this and see if the URL changes. And we should be able to use that URL. image

sayansaha1143 avatar Sep 12 '18 00:09 sayansaha1143

Yes, that is exactly what I was referring to. The problem is that the link is already a shared link, I cannot share it, that is something that needs to be done by Nevil, seems to me.

irvang avatar Sep 12 '18 01:09 irvang

What do I have to change in the settings of the sheet to make it available? Or should I create a fresh/separate sheet that pulls its information from the original database?

ndesai06 avatar Sep 12 '18 15:09 ndesai06

Yeah so I looked it up. @ndesai06 , so since we were trying to use published link it wasn't working, if you could send us the source URL of your spreadsheet editor after you given access to everyone who has the link (which I am assuming is already the case).

capture

The one above is the link for the spreadsheet that we are currently using. You should have a similar link for your spreadsheet. That should work.

sayansaha1143 avatar Sep 12 '18 18:09 sayansaha1143

https://docs.google.com/spreadsheets/d/1QolGVE4wVWSKdiWeMaprQGVI6MsjuLZXM5XQ6mTtONA/edit?usp=sharing

Here is the sharing link on my page. I changed the sharing setting to anyone with the link can view.

ndesai06 avatar Sep 12 '18 18:09 ndesai06

Yep, the key "1QolGVE4wVWSKdiWeMaprQGVI6MsjuLZXM5XQ6mTtONA" works for me.

Khoawala avatar Sep 12 '18 19:09 Khoawala