Skip to content

Challenges Component in Contentful #2367

Closed
@hokienick

Description

@hokienick

Currently we have a Challenges Block but does not contain any parameters of what it should display. Currently this is the way the Challenges Block displays on our Veterans page:

Screen Shot 2019-05-21 at 2 13 14 PM

I think those boxes are ok, but would like to extend its capabilities by making this row scrollable to the left and right, similar to our Content Slider.

If there are no challenges that are returned, there should be a message displayed instead that says "No Active Challenges Available". If there are only 1 or 2 challenges, those challenges will appear in their current alignment and the other areas will stay blank.

Challenge Parameters

The following should be available to the webpage creator when creating this section:

Challenge Slider Title (Mandatory) - In the example above "Active Challenges" appears upon loading. We should have a textbox that allows us to replace the title.

Challenge Title Contains (optional) - For example, if we want to pull all the active fun challenges, we could type in "fun" here to filter out those types of challenges

Challenge Types Checkboxes (optional) - This page may want to pull challenges that are Code and UI Design types and should be able to choose them here

Technologies (Tags) Textbox (optional) - If we want to display challenges of a certain technology, we should be able to list them here, comma-separated.

Completed Challenges Radio Button (Mandatory - default on "No") - Yes/No radio button. If "yes" is selected, the list should not filter out completed challenges.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions