twitter / twitter/communitynotes
"Rate it" shouldn't appear on a note which reader has already rated
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.9k
- Forks
- 350
- Avg merge
- 6m
- Merged PRs (30d)
- 2
Description
Describe the bug
Rate it button appears for a CN which I've already rated.
Expected behavior
I should not be asked to Rate it if I've rated it.
I can't always remember if I've already rated a particular note or not, especially since some posts may have several notes.
Screenshots
I get invited to rate a note:
But when I click on the button I get told I've already rated the CN. In this case there are additional notes, but maybe I don't want to rated additional notes, or there may be no additional notes.
Environment
Firefox (latest)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in Firefox and trace where the Rate it button is shown for a Community Note. Verify the reader's existing rating state and compare it with the behavior for notes they have not rated. Done means an already-rated note no longer invites another rating, while unrated notes still can be rated.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100