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

feature: Source Events data from Notion #2576

Closed
rogermparent opened this issue Jun 21, 2021 · 10 comments
Closed

feature: Source Events data from Notion #2576

rogermparent opened this issue Jun 21, 2021 · 10 comments
Labels
A: website Area: website hacktoberfest status: research Writing concrete steps for the issue status: stale You've been groomed! type: feature-request DEPRECATED New feature or request

Comments

@rogermparent
Copy link
Contributor

rogermparent commented Jun 21, 2021

This Issue tracks the feature request for maintaining and sharing an event calendar through our websites (ultimately iterative.ai once we move the community page).

While originally intended for Google Calendar, we currently maintain our calendar in notion.so so that'll be the obvious first choice for an API we consume.

@rogermparent rogermparent added type: enhancement Something is not clear, small updates, improvement suggestions question type: feature-request DEPRECATED New feature or request labels Jun 21, 2021
@jorgeorpinel jorgeorpinel removed the type: enhancement Something is not clear, small updates, improvement suggestions label Jun 22, 2021
@jorgeorpinel
Copy link
Contributor

Interesting. What is the question @rogermparent, whether to implement this given the tradeoffs?

@rogermparent rogermparent added type: discussion Requires active participation to reach a conclusion. status: research Writing concrete steps for the issue and removed question labels Jun 22, 2021
@rogermparent
Copy link
Contributor Author

rogermparent commented Jun 22, 2021

Interesting. What is the question, whether to implement this given the tradeoffs?

Yeah, posing a question to everyone who edits the calendar whether we should make this switch or not. I think there's enough support for the overall idea (me from the website dev perspective, @jendefig from the editor perspective) that this Issue's current stage would better be described with research and discussion: specifically research on Gcal/Notion (or whatever else) APIs and discussion on what platform we want and the tradeoffs their APIs will give us.

I did a few quick searches the other day which unfortunately rule out Gcal iframes unless we're okay with not having images in the Events list, but beyond that I'm not sure what the capabilities of the other APIs are.

@jendefig
Copy link
Contributor

@rogermparent I would definitely want to have images for these. I will research as best I can too. Notion just updated their API, so maybe it's workable? If it is, this maybe a way to do the User content too. I migrated the the collection of that from the previous gsheet to Notion: https://www.notion.so/iterative/10cc0a511d0b486eb40a1cb219b68068?v=928314676b3d445db6405aa225009d32

@jorgeorpinel jorgeorpinel added status: stale You've been groomed! and removed status: research Writing concrete steps for the issue labels May 4, 2022
@jorgeorpinel
Copy link
Contributor

jorgeorpinel commented May 4, 2022

@jendefig howdy. Are you guys using the current JSON-based calendar regularly for https://dvc.org/community#events ? Do we even keep a calendar of events? I.e. is this still relevant? (the Notion calendar seems empty). Thanks

@jendefig
Copy link
Contributor

@jorgeorpinel I'm really behind on my email and for some unknown reason, some of my GH emails go to my inbox and some to promotions.

We are not keeping this up to date but should be. I don't have time. We do keep a calendar of events. It's in Notion. We really need to find a way to automate it.

@jorgeorpinel jorgeorpinel added status: research Writing concrete steps for the issue and removed type: discussion Requires active participation to reach a conclusion. labels May 23, 2022
@jorgeorpinel jorgeorpinel added the A: website Area: website label Jul 12, 2022
@rogermparent rogermparent changed the title feature: Source Events data from Google Calendar feature: Source Events data from Notion Sep 30, 2022
@srini047
Copy link

srini047 commented Oct 4, 2022

Hi! I would like to work on this issue.

@rogermparent
Copy link
Contributor Author

Wonderful! Do you happen to be familiar with GatsbyJS and Notion's API? If not, we'll have to research it a bit.

@srini047
Copy link

srini047 commented Oct 5, 2022

Wonderful! Do you happen to be familiar with GatsbyJS and Notion's API? If not, we'll have to research it a bit.

I am not familiar with Gatsby JS but would love to learn about it.

@rogermparent
Copy link
Contributor Author

Cool! Let me ask a few more questions to figure out where I should suggest you start:

  • Are you familiar with React?
  • Are you familiar with Static Site Generators, often abbreviated SSGs?

Gatsby is a mix of those two concepts. From a React-centric perspective, Gatsby's main difference is that it has a very elaborate build phase with a GraphQL data layer. Gatsby's build-time data layer allows us to query APIs while the site is being built and bake the result into the HTML, so users of the website experience no performance hit for an API call.

While less likely to be relevant, from an SSG-centric perspective you could consider Gatsby's build phase to be an SSG, which has a React application layered on top of it acting as the templates.

For this problem, we'd want to access the Notion API in Gatsby's build phase, then display that data in the react app on the Community page. By going through the relevant projects' docs (Gatsby and Notion.so's API in particular), you could probably get the knowledge to solve this problem in a week or two!

@srini047
Copy link

srini047 commented Oct 5, 2022

I am familiar with react and at the same time would love to learn about Static Site Generators.

This explanation is so surreal at this stage but would make sure that I understand things clearly. Let me scroll through the docs to get a better idea and also found a tutorial that might come to the rescue.

@dberenbaum dberenbaum closed this as not planned Won't fix, can't repro, duplicate, stale Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: website Area: website hacktoberfest status: research Writing concrete steps for the issue status: stale You've been groomed! type: feature-request DEPRECATED New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants