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 last commit date to projects #64

Conversation

xRiku
Copy link
Contributor

@xRiku xRiku commented Nov 29, 2024

This PR closes #57
This pull request includes changes to the PublicProjectCard component and the project/api.ts service. The most important changes involve updating the UI to display the last commit date and modifying the database client used in the API service.

Updates to PublicProjectCard component:

Modifications in API service:

  • src/services/project/api.ts: Changed the client from createAdminClient to createClient in the getUserPublicProjects function to use a different database client. (Couldn't fetch the data without this change)

Copy link

vercel bot commented Nov 29, 2024

@xRiku is attempting to deploy a commit to the balastrong's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Owner

@Balastrong Balastrong left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! Looks good, just a couple of things to fix :)

src/services/project/api.ts Outdated Show resolved Hide resolved
src/components/PublicProjectCard.tsx Outdated Show resolved Hide resolved
Copy link
Owner

@Balastrong Balastrong left a comment

Choose a reason for hiding this comment

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

Sorry for the delay and thanks, looks good now! :)

@Balastrong Balastrong merged commit 10d00d0 into Balastrong:main Dec 10, 2024
2 of 3 checks passed
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.

Last Commit date on user profile
2 participants