Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Set points on a challenge #363

Open
Open
@ajefts

Description

@ajefts

Restore the ability to set points on a challenge in Direct. This is basically what we used to do for DR points, but we won't call them DR points...

We can probably reuse the old DR points fields if that makes it easier.

On a given challenge, the user will be able to set the usual normal monetary prizes and/or a single points value. So, the can set just $, just points, or $ plus points.

The challenge API should return these points and we'll update community-app to display the points on the listings and details pages (this last part is already done assuming we reuse the DR points field).

We'll potentially need to show/hide this feature per community (topgear vs public vs blockchain vs etc). Let's discuss this part...

UPDATE:

  • Add the points field to the prizes section below the monetary prizes:
    image

  • Only show the ability to set points IF a group has been set on the challenge. Eventually we will set a flag on the group to indicate if points are supported, but for now we can assume if a group is set then points are supported.

  • Calculate fees the same way we do now. So, if $ prizes are empty then the fee is zero. We will iterate on this later.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions