timotheeg / nestrischamps

A web-based OCR and restreamer system for NES Classic Tetris players
MIT License
45 stars 11 forks source link

Add flag selector in Admin Panel #131

Closed timotheeg closed 1 year ago

timotheeg commented 1 year ago

Several layouts in NTC now support a flag, which is taken from the User profile (preset by the user himself/herself in their account).

Just like the admin controls allow overriding user information like the display name or avatar pic, the flag should be an overridable.

There are 2 reasons for this:

  1. Users may not have set their country code in the first place, and an admin should be able to do the task on their behalf (temporarily; that wouldn't be saved in the user profile of course)
  2. For IRL events, organisers typically have fake users for stations that they control centrally (e.g. event_player1/2/3/4). The controls available to set the names and avatar are great, to have a correct display. The ability to set the flag will plug a gap for the layout that support it.
timotheeg commented 1 year ago

Done