esrg-knights / Squire

A re-introduction of the WebApp for ESRG Knights of the Kitchen Table.
https://www.kotkt.nl/
GNU General Public License v3.0
11 stars 8 forks source link

Boardgame/Roleplay system highlights #182

Open Ndoll1 opened 3 years ago

Ndoll1 commented 3 years ago

Place on the homepage where either the boardgame committee, Roleplay committe (or board) can highlight an item registered in the collection. Either random or for a set period of time

DutcherNL commented 1 year ago

Steps to implement this (non-time linked option):

  1. Use Global Preferences to create a boardgame-highlight and a roleplaying highlight
  2. Create space on the boardgame and roleplaying page that checks that if that global preference is not None, to show it (with your own layout)

Steps to implement time-linked option: (more challenging)

  1. Create timed-highlight model with <item, start_date, end_date>
  2. Ensure that the same item_type does not overlap in the displayed time period
  3. Create an admin page for this model to maintain. Make sure it can filter on item type
  4. Create a check on top of the boardgame and roleplaying pages that searches for items in the current time period and render it (with your own layout)