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 "Previous sessions" section #19

Open
Sciencentistguy opened this issue Mar 10, 2021 · 1 comment
Open

Add "Previous sessions" section #19

Sciencentistguy opened this issue Mar 10, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Sciencentistguy
Copy link
Member

A json-related method was mentioned, and that would be pretty good.

@benslv benslv self-assigned this Mar 10, 2021
@benslv benslv added the enhancement New feature or request label Mar 10, 2021
@benslv
Copy link
Member

benslv commented Jun 28, 2021

Nearly done with this, although I've done that thing where you decide to completely reimplement the entire feature with a different method because it's probably better.

The plan will be to store each previous session as its own Markdown file in a directory. We can store frontmatter (metadata) at the top of each file (e.g. date, title, summary, image) as well as a body of text underneath that.

The Previous Sessions page can then render a bunch of cards based off the frontmatter from each of these files, and link to a dedicated page for each of the sessions, allowing people to add a little (or big!) write-up about the session, as well as linking to any helpful resources (videos, files etc.) that were used.

Much better and more extensible than the current method of using a chonky JSON file, I think.

Let me know what you think.

cc. @tomoneill19 @Sciencentistguy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants