ogallagher / tejos_textiles

An online arts journal for publishing works in a new medium
MIT License
1 stars 0 forks source link

Puzzle difficulty #56

Closed ogallagher closed 4 years ago

ogallagher commented 4 years ago

It will be good to have difficulty rankings for puzzles, as well as quality rankings. This means adding a column to the database, adding the appropriate metadata tags for the home and textile pages, and adding an order by difficulty option to the gallery search results section.

I may want to just rank them myself, or allow users to rank them. I’m not sure which yet.

ogallagher commented 4 years ago

The database implements difficulty almost exactly in the same way as ratings; users submit difficulty measures, and puzzles’ difficulties update to reflect the average. However, difficulties are on a 1-10 scale, instead of a 1-5 scale. Admittedly, this difference is pretty arbitrary.

ogallagher commented 4 years ago

Puzzles can now be rated in terms of difficulty and the frontend and backend both update appropriately, but only for the home page. Next up is to copy the frontend modifications to the textile page.

ogallagher commented 4 years ago

The textile page's support of difficulty matches the home page. All that’s left is to add the order by difficulty option to gallery search results.

ogallagher commented 4 years ago

Done.