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

feat: add collection for contributors #174

Merged
merged 1 commit into from
Nov 24, 2023

Conversation

tomalaforge
Copy link
Collaborator

To follow up on the contributor button and from the idea of @ajitzero, I added a new collection to collect contributors data where we can add a link to twitter, github, linkedin. Other link can be added.

Copy link

nx-cloud bot commented Nov 23, 2023

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 8bbd35a. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


⌛ The following targets are in progress

✅ Successfully ran 1 target

Sent with 💌 from NxCloud.

Copy link
Contributor

@ajitzero ajitzero left a comment

Choose a reason for hiding this comment

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

That was fast! I've left a minor comment/question regarding storing just the usernames instead of the full links, but either way is fine!

name: string;
twitter?: string;
linkedin?: string;
github?: string;
Copy link
Contributor

@ajitzero ajitzero Nov 23, 2023

Choose a reason for hiding this comment

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

Minor: Later, when the contributors' data are added to the JSON files, we can mark this field as required.

Edit: This is more of reminder/note, please ignore

"twitter": "https://twitter.com/laforge_toma",
"linkedin": "https://www.linkedin.com/in/thomas-laforge-2b05a945/",
"github": "https://github.com/tomalaforge"
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggestion/Question: Should we consider only saving the username parts and creating the actual URLs in Contributor.astro?

Comment on lines +25 to +27
docs: docs,
i18n: i18n,
contributors: contributors,
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: I prefer the shorthand, mainly due to this ES Lint rule. I have no strong opinions on this though.

Suggested change
docs: docs,
i18n: i18n,
contributors: contributors,
docs,
i18n,
contributors,

@nartc nartc merged commit d8b7936 into ngxtension:main Nov 24, 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.

3 participants