maproulette / maproulette/maproulette-frontend
Like a Challenge
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 167
- Forks
- 39
- Avg merge
- 16h 34m
- Merged PRs (30d)
- 11
Description
This is a new feature for any logged-in user to "like" a challenge. This would be represented by a "thumbs up" icon like this one . Color, yellow.
The like icon would appear on the Challenge browse page to the left of the flag icon (#1868)
UI Flow
- User clicks the "like" button
- A cute animation confirms the like action
- The like counter increments and the icon changes to a filled thumbs-up icon.
- If the user already liked the challenge, clicking the icon will remove the like and the counter decrements instead, and the icon reverts to its outline state.
Conditions
- Number of likes is displayed next to the
- Challenge owners can not like their own challenges
- A user must have completed at least one task of the Challenge to be able to Like it
- Challenges that are liked more will be sorted higher in the default sort in Find Challenges
- There will be a new sort option to sort by number of likes.
Contributor guide
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
Start by locating the Challenge browse page and the Find Challenges sorting entry points in the frontend. Trace how logged-in users, challenge ownership, task completion, and challenge ordering are represented before assessing the like state and counter flow. Done should cover liking and unliking, the stated eligibility rules, visual confirmation, and both like-based sorting behaviors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100