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

Add resource workflow + page #241

Merged
merged 9 commits into from
May 6, 2024
Merged

Add resource workflow + page #241

merged 9 commits into from
May 6, 2024

Conversation

chartgerink
Copy link
Member

This PR adds a resource page and workflow. This builds on the work from #234 and does the following:

  1. Collects all the discussion forum posts under the resource category (each morning)
  2. Writes out the discussions to a file each under the ./resources/<id>.qmd, with a YAML header containing the relevant metadata. Included metadata at this time:
  • title
  • url
  • date
  • author
  • categories (i.e., labels in the forum)
  • upvotes
  1. Renders the listings under ./resources/ on the /resources page, displaying the upvote count, date added, and all categories

Given that the resources section on the forum is still empty, it currently will look empty upon merge. I add a video for display purposes:

Screen.Recording.2024-04-29.at.18.36.15.mov

I am pretty pleased I was able to set all of this up - and excited to hear your thoughts! Of course there's plenty of room for improvement, so looking forward to the feedback 😊

Copy link

netlify bot commented Apr 29, 2024

Deploy Preview for tourmaline-marshmallow-241b40 ready!

Name Link
🔨 Latest commit 1a463af
🔍 Latest deploy log https://app.netlify.com/sites/tourmaline-marshmallow-241b40/deploys/66389762f5c34b0008ba5b76
😎 Deploy Preview https://deploy-preview-241--tourmaline-marshmallow-241b40.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@Bisaloo Bisaloo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this is great!

An additional feature request, I'll leave it up to you to decide if it should make it in the MVP, or turned into a follow up issue: I would love to have the ability to select a combination of tags. E.g., "testing" and "APIs", which would make it easier to find resource such as https://books.ropensci.org/http-testing/index.html.

@@ -14,13 +14,15 @@ website:
href: get-involved.qmd
- text: Blog
menu:
- text: All
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be something like "all blog posts" or something? Because it doesn't include presentations, i.e., not all publications.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand the confusion - I moved the presentations back into the main bar for now and will come with a proposal. May also be helped by the multi-selection you mentioned (which is tracked over in #244).

@chartgerink chartgerink merged commit 1586c6c into main May 6, 2024
6 checks passed
@chartgerink chartgerink deleted the add/resource-page branch May 6, 2024 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants