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 text to star selections in Add Review form #573

Open
wants to merge 48 commits into
base: main
Choose a base branch
from

Conversation

XavierElon
Copy link
Contributor

No description provided.

tran-christian and others added 30 commits August 9, 2023 16:23
awpala and others added 4 commits August 19, 2024 23:02
.yarnrc.yml; update ReviewForm.tsx to add
pill and text to stars with correpsonding
…olors on review form

add text and pill to stars with corresponding colors on review form; make pills dynamically sized
width

fix #410
@XavierElon XavierElon requested a review from awpala September 7, 2024 16:57
Copy link

vercel bot commented Sep 7, 2024

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

Name Status Preview Comments Updated (UTC)
website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 7, 2024 5:23pm

Copy link

github-actions bot commented Nov 7, 2024

This pull request is stale because it has been open for 60 days with no activity.

@@ -93,6 +102,11 @@ const ReviewForm = ({

const { setAlert } = useAlert();
const [userReviews, setUserReviews] = useState<TUserReviews>({});
const [difficultyValue, setDifficultyValue] = useState<TRatingScale | null>(
Copy link
Contributor

@awpala awpala Nov 12, 2024

Choose a reason for hiding this comment

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

In globals/types.ts we have a type defined called TNullable which aliases T | null (e.g., useState<TNullable<TRatingScale>>(...) here, rather than useState<TRating | null>(...), where T is TRatingScale)

This also pertains to some other instances below in the added code/changes too FYI

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay thanks for the heads up. I'll take a look and fix it

Comment on lines -1 to -24
# This workflow will triage pull requests and apply a label based on the
# paths that are modified in the pull request.
#
# To use this workflow, you will need to set up a .github/labeler.yml
# file with configuration. For more information, see:
# https://github.com/actions/labeler

name: Labeler
on: [pull_request_target]

jobs:
label:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write

steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Add label
uses: actions/labeler@v5
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this might've been deleted inadvertently post-merge; this should still appear/exist, based on current main

Copy link

github-actions bot commented Feb 9, 2025

This pull request is stale because it has been open for 60 days with no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

[FEATURE] Add text to star selections in Add Review form
3 participants