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: contribution page #621

Merged
merged 9 commits into from
Dec 30, 2024
Merged

Feat: contribution page #621

merged 9 commits into from
Dec 30, 2024

Conversation

ZibanPirate
Copy link
Member

@ZibanPirate ZibanPirate commented Dec 21, 2024

  • Bug fix
  • New feature
  • Other

@github-actions github-actions bot added web Web related changes ( web folder ) api API related changes ( api folder ) labels Dec 21, 2024
@ZibanPirate ZibanPirate force-pushed the feat/contribution-page branch from a45edde to 4eda964 Compare December 29, 2024 20:16
@ZibanPirate ZibanPirate force-pushed the feat/contribution-page branch from 4eda964 to a5c73d3 Compare December 29, 2024 20:38
@ZibanPirate ZibanPirate marked this pull request as ready for review December 29, 2024 22:18
@ZibanPirate ZibanPirate requested review from a team and omdxp December 29, 2024 22:18
Comment on lines +19 to +26
contribution: Pick<
ContributionEntity,
"id" | "title" | "type" | "url" | "updatedAt" | "activityCount"
> & {
repository: Pick<RepositoryEntity, "id" | "owner" | "name"> & {
project: Pick<ProjectEntity, "id" | "name">;
};
contributor: Pick<ContributorEntity, "id" | "name" | "username" | "avatarUrl">;
Copy link
Member

Choose a reason for hiding this comment

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

We should improve these types so it can be easy to be shared

Copy link
Member Author

Choose a reason for hiding this comment

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

any particular action item for this PR? or this is a general point that we should address at some point?

Copy link
Member

@omdxp omdxp Dec 30, 2024

Choose a reason for hiding this comment

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

I'd say just a general note for later, like allowing type aliases for readability

omdxp
omdxp previously approved these changes Dec 30, 2024
Copy link
Member

@omdxp omdxp left a comment

Choose a reason for hiding this comment

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

Approved with some action items next PRs

api/src/contribution/repository.ts Show resolved Hide resolved
web/src/components/contribution-card.tsx Show resolved Hide resolved
@ZibanPirate ZibanPirate merged commit e8285b9 into main Dec 30, 2024
20 checks passed
@ZibanPirate ZibanPirate deleted the feat/contribution-page branch December 30, 2024 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api API related changes ( api folder ) feature Feature web Web related changes ( web folder )
Projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

2 participants