-
Notifications
You must be signed in to change notification settings - Fork 102
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
UI: Adds rating #153
UI: Adds rating #153
Conversation
9d9f443
to
0ca0e1f
Compare
0ca0e1f
to
b175aa5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the patch, the pr looks fine to me only some minor changes to address 🤙
b175aa5
to
a02c63e
Compare
a02c63e
to
2db39f4
Compare
2db39f4
to
b2d9126
Compare
/lgtm |
@@ -0,0 +1 @@ | |||
{ "rating": 2 } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since it is a single line data should we add a new file for this or can we just use a constant ?? 🤔 wdyt ?
- Fetch user rating for a particular resource - Set the rating value for a particular resource Signed-off-by: vinamra28 <[email protected]>
b2d9126
to
012f511
Compare
012f511
to
ab5073a
Compare
/lgtm |
/lgtm |
@@ -18,7 +18,8 @@ const UserProfile: React.FC = () => { | |||
const logout = () => { | |||
localStorage.clear(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we please move this all to store by creating an action ?
This patch adds: - User can rate a particular resource - User can see their previous rating - User can update their rating - To rate a resource user needs to be authenticated to Hub Signed-off-by: Shiv Verma <[email protected]>
ab5073a
to
a17a97a
Compare
/lgtm |
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: PuneetPunamiya The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
See the contribution guide for more details.