PlayersCouncil / gemp-lotr

Automatically exported from code.google.com/p/gemp-lotr
7 stars 11 forks source link

Add admin panel for user overview details #88

Open ketura opened 2 weeks ago

ketura commented 2 weeks ago

When people request a password reset, at the moment the only way to verify ownership is to quiz them on deck names and game history. While this isn't the best status quo, it's what we've got until email is properly incorporated.

In the meantime, add a form for bringing up a player's decks and game history, rather than requiring an admin do this manually in the db every time a password reset request is made.

In addition to this usage, there are other user management functions that are occasionally used that could be incorporated here. For example, game history export, mass deck export, grabbing a replay for a player who reported a bug but didn't include a replay link, or inspecting a deck for tournament eligibility.

Ideally this has three sections:

  1. User Overview
    1. User flags
    2. Games played
    3. First game played
    4. Last game played
    5. Event participation?
    6. Link to download a csv of user-friendly game history
    7. Link to download a csv of user-friendly links to decklists
  2. Player decks
    1. Two panes. Left pane is a list of deck names.
    2. Upon clicking an item in the left pane, right pane shows the deck contents (same content as what's on the deck sharing page).
    3. Right pane includes a link to the deck sharing URL that can be clicked or copied.
  3. Player Game History
    1. Scrollable table of the last X matches by the player, with links to both their replay and their opponent's.
    2. Include most if not all of the game history table columns.
    3. Ideally this is paginated