maproulette / maproulette/maproulette-frontend

Like a Challenge

Open
#1,869 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

discussion
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
  1. User clicks the "like" button
  2. A cute animation confirms the like action
  3. The like counter increments and the icon changes to a filled thumbs-up icon.
  4. 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
  1. Number of likes is displayed next to the
  2. Challenge owners can not like their own challenges
  3. A user must have completed at least one task of the Challenge to be able to Like it
  4. Challenges that are liked more will be sorted higher in the default sort in Find Challenges
  5. There will be a new sort option to sort by number of likes.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.