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

#89 [REQUEST] Add fields for facilitator and editor to the story archetype #93

Merged
merged 9 commits into from
Jun 12, 2023

Conversation

LuvvAggarwal
Copy link
Contributor

Solution Description:
Added "editor" property in stories.md archetype and created "credits.html" partial for templated with conditional rendering
Finally calling "credits" template in "single.html"
SS of final result
image

…html" partial for templated with conditional rendering

Finally calling "credits" template in "single.html"
…html" partial for templated with conditional rendering

Finally calling "credits" template in "single.html"
@LuvvAggarwal LuvvAggarwal requested a review from a team as a code owner June 9, 2023 18:09
@LuvvAggarwal LuvvAggarwal requested review from juliaferraioli and removed request for a team June 9, 2023 18:09
Copy link
Member

@juliaferraioli juliaferraioli left a comment

Choose a reason for hiding this comment

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

Thanks so much! This is looking great. Added some comments to the files.

However, I think you accidentally committed more files thank you intended to. Mind removing the .vs folder from the PR?

archetypes/stories.md Show resolved Hide resolved
Copy link
Member

Choose a reason for hiding this comment

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

This should be "Claire Moss", not "Clarie Moss".

Copy link
Member

Choose a reason for hiding this comment

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

Could we add a period at the end of the sentence?

Copy link
Member

Choose a reason for hiding this comment

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

Just for cleanliness of the code, could you only add in line 48?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, would make the necessary changes

Copy link
Member

Choose a reason for hiding this comment

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

I'm sorry, I think I communicated that poorly! Your approach of creating a new partial was great. Let's stick with that.

I was referencing the fact that it seems like you modified the indentation for lines that you didn't change, so the diff reflected changes on lines without material changes. No worries though, if you can just add back the partial, we can resolve formatting later.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Created a new partial and calling it in single.html

added .vs in gitignore to remove .vs dir
corrected Clarie Moss in  thea-flowers.md
Finally removed .vs folder by removing cache and stashing all files based on new git ignore
Copy link
Member

Choose a reason for hiding this comment

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

I'm sorry, I think I communicated that poorly! Your approach of creating a new partial was great. Let's stick with that.

I was referencing the fact that it seems like you modified the indentation for lines that you didn't change, so the diff reflected changes on lines without material changes. No worries though, if you can just add back the partial, we can resolve formatting later.

.gitignore Show resolved Hide resolved
Copy link
Member

@juliaferraioli juliaferraioli 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 looks great!

@netlify
Copy link

netlify bot commented Jun 12, 2023

Deploy Preview for opensourcestories ready!

Name Link
🔨 Latest commit 7023931
🔍 Latest deploy log https://app.netlify.com/sites/opensourcestories/deploys/64857872ec192300081abc91
😎 Deploy Preview https://deploy-preview-93--opensourcestories.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 settings.

@juliaferraioli juliaferraioli merged commit c9ed266 into opensourcestories:main Jun 12, 2023
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