Skip to content

Start a drawing session without setting a category first #2

@Valefant

Description

@Valefant

To spice things up a little, we should include a button next to the select component on the main page, where an user can start a drawing session without specifying a category first. This should result in presenting randomly selected images to the user.

By making use of the curated endpoint provided by Pexels this task will be rather small. This endpoint will not really provide randomized images but can act as a starting point, as the results of this endpoint will change over time.

Excerpt from the doc

 We add at least one new photo per hour to our curated list so that you always get a changing selection of trending photos. 

Providing real randomization is then a future task for itself (if this feature is really necessary or wanted).

Implementation Note

import { pexelsApi } from './server';

// use this method for implementing the issue
pexelsApi.photos.curated()

Metadata

Metadata

Assignees

Labels

featureNew feature or requeston holdWaiting for next stepquestionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions