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

Tournament lobby + dashboard #904

Merged
merged 22 commits into from
Oct 28, 2023
Merged

Commits on Oct 25, 2023

  1. Configuration menu
    Copy the full SHA
    c27340e View commit details
    Browse the repository at this point in the history
  2. refactor: extract lobby into base lobby room and freeplay subclass

    for code re-use with forthcoming tournament and education lobbies
    sgfost committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    9adc897 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7c29726 View commit details
    Browse the repository at this point in the history
  4. feat(WIP): add client routing for different lobbies

    need to implement TournamentLobby view which will basically be a
    LobbyRoom component adapted to remove controls and to interface with the
    tournament lobby room on the server
    sgfost committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    79ddcd3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0454332 View commit details
    Browse the repository at this point in the history
  6. feat: add tourn lobby open/close times to dynamic settings

    add freeplay/tourn lobby toggles and offsets to admin settings interface
    sgfost committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    f6e07cb View commit details
    Browse the repository at this point in the history
  7. feat(WIP): add conditional game setup/metadata for tournament/freeplay

    - start to add tournament dashboard (pre-lobby) step
    - refactor survey/tournament routes
    sgfost committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    17168eb View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2023

  1. feat: add tournament setup script for fall 2023

    - include description in tournament cli creation
    - add new tournament + initial scheduled launch dates
    - refs virtualcommons/planning#50
    alee committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    eaf5460 View commit details
    Browse the repository at this point in the history
  2. refactor: rework tournament/invite status services

    - isolate invite specific data from general tournament status which is
      now used to initialize the client store when tournament mode is on
    - check invites in onAuth in tournament lobby
    - included migration for renaming 'openbeta' tournament to 'freeplay'
      along with renaming other instances
    
    Co-authored-by: Allen Lee <[email protected]>
    sgfost and alee committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    e3ee518 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6ed5ef2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a0cf698 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e3c4127 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2023

  1. refactor: adjust base + tournament lobby logic

    - TournamentLobbyRoom now drains all connected clients when it allocates
      random groups of connected participants
    - add pending group management + client cleanup logic to
      TournamentLobbyRoomState
    - use lodash Fisher-Yates shuffle instead of hand-rolled random sort
      (which is cautioned against due to lack of random-ness, see
      https://stackoverflow.com/a/18650169/93370 for more details)
    - replace maxClients with maxConnections throttling support in
      tournament lobby
    - FreePlayLobby currently does not max out, but we may want to revisit
      that and include a check against total number of active participants
      and maxConnections in onAuth or canClientJoin
    - consider moving getFilledUsernames and other autobot filling
      routines into FreePlay to prevent tournament lobby from creating rooms
      with bots
    alee committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    bd969c8 View commit details
    Browse the repository at this point in the history
  2. build: upgrade images on build

    alee committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    a08b37f View commit details
    Browse the repository at this point in the history
  3. feat: add tournament "pre-lobby"/preparation dashboard

    - reworked schedule/countdown components
    
    TODO: add links and announcement banner to homepage
    
    ref virtualcommons/planning#49
    sgfost committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    f3d8699 View commit details
    Browse the repository at this point in the history
  4. feat(WIP): add tournament announcement banner

    ideally this would use text retrieved from a tournament/round on the
    backend, a full description and round announcement are way too wordy for
    a banner but we should communicate the main points. Consider a
    shortDescription field in the Tournament
    sgfost committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    d29af29 View commit details
    Browse the repository at this point in the history
  5. feat: add tournament description to announcement banner

    - changed wording of nov 2023 tournament desc/announcement
    
    Co-authored-by: Allen Lee <[email protected]>
    sgfost and alee committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    e3eaa32 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a62c060 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    49ec162 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e68cfed View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2023

  1. refactor: consistency and hygiene

    - add getters for tstore access, feeding the consistency hobgoblin
    - include timezone in toLocaleTimeString
    - move logo style into portOfMarsLogoProps
    - remove dead code, unused props and attributes, etc.
    alee committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    08876c7 View commit details
    Browse the repository at this point in the history
  2. refactor: minor hygiene

    - guard against empty leaderboard errors
    - add event description back to calendar-event
    - build a single event object and reuse for multiple links
    - improve :key usage though maybe we don't even need them anymore,
      see https://v3-migration.vuejs.org/breaking-changes/key-attribute.html
    - 404 errors in the ajax plugin now redirect to HOME_PAGE, not
      FREE_PLAY_LOBBY_PAGE
    - remove dead code + yarn style:fix
    alee committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    63a45d6 View commit details
    Browse the repository at this point in the history