Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random exhibit #11

Open
nic-hartley opened this issue Oct 12, 2018 · 0 comments
Open

Random exhibit #11

nic-hartley opened this issue Oct 12, 2018 · 0 comments
Labels
feature Something should be added good first issue Good for newcomers up for grabs Anyone is free to take this and implement it
Milestone

Comments

@nic-hartley
Copy link
Member

nic-hartley commented Oct 12, 2018

Goal

Allow users to browse randomly through the exhibits, to find new things.

Description

We should add an endpoint (maybe GET /exhibit/random) which acts like GET /exhibit/{id}, but picks a random exhibit and rendering it.

Alternatives

  • Random feed -- This is significantly more work (either on frontend, backend, or both, depending on how it's done) and has inconsistent assumptions (should refreshing the page give you a new random page? What about going back to a previous page? etc.) which make it impossible to code objectively correctly.
  • Not having it -- While it's certainly not mandatory by any stretch of the imagination, it's very little work and allows people to browse in a different, less structured way than just scrolling through a feed.

Additional notes

This can be done in 2 queries, if that, and only a few lines of code. It's pretty easy.

@nic-hartley nic-hartley added feature Something should be added discussion wanted We need to talk about this labels Oct 12, 2018
@nic-hartley nic-hartley added this to the 1.0 milestone Oct 12, 2018
@nic-hartley nic-hartley modified the milestones: Open Source, Public Production Nov 5, 2018
@nic-hartley nic-hartley added good first issue Good for newcomers up for grabs Anyone is free to take this and implement it and removed discussion wanted We need to talk about this labels Nov 20, 2018
@nic-hartley nic-hartley modified the milestones: Public Production, Beta Nov 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Something should be added good first issue Good for newcomers up for grabs Anyone is free to take this and implement it
Projects
None yet
Development

No branches or pull requests

1 participant