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

removed button when profile has 5 reviews #122

Merged
merged 3 commits into from
Feb 9, 2025

Conversation

mattrwang
Copy link
Contributor

Description

checks if a profile has made 5 reviews, if it has it does not render create new review button

Motivation and Context

prevents users from creating more than 5 reviews

Closes #113

How has this been tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • I have moved the ticket to "In Review"
  • I have added reviewers to this PR
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@mattrwang mattrwang requested a review from banushi-a February 5, 2025 03:52
Copy link

vercel bot commented Feb 5, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
cooper ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 6, 2025 11:13pm
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
cooper-auth ⬜️ Skipped (Inspect) Feb 6, 2025 11:13pm
cooper-docs ⬜️ Skipped (Inspect) Feb 6, 2025 11:13pm

@vercel vercel bot temporarily deployed to Preview – cooper-auth February 5, 2025 03:52 Inactive
@vercel vercel bot temporarily deployed to Preview – cooper-docs February 5, 2025 03:52 Inactive
@vercel vercel bot temporarily deployed to Preview – cooper February 5, 2025 03:53 Inactive
Copy link
Collaborator

@RishikeshNK RishikeshNK left a comment

Choose a reason for hiding this comment

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

BUDDY IS COOKING

Copy link
Contributor

@banushi-a banushi-a left a comment

Choose a reason for hiding this comment

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

yah mama

@vercel vercel bot temporarily deployed to Preview – cooper-docs February 6, 2025 23:12 Inactive
@vercel vercel bot temporarily deployed to Preview – cooper-auth February 6, 2025 23:12 Inactive
@vercel vercel bot temporarily deployed to Preview – cooper February 6, 2025 23:13 Inactive
Copy link
Collaborator

@RishikeshNK RishikeshNK left a comment

Choose a reason for hiding this comment

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

CLEAN

Copy link
Contributor

@banushi-a banushi-a left a comment

Choose a reason for hiding this comment

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

good to merge ◡̈

@mattrwang mattrwang merged commit 403fd76 into main Feb 9, 2025
8 checks passed
@mattrwang mattrwang deleted the remove-review-button-if-5-reviews branch February 9, 2025 19:12
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.

(Develop) Disable Create Review Button when too many reviews
3 participants