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

Add playercard, fix mapgen options, replay scoreboard is now proper widget, not html string #1136

Merged
merged 73 commits into from
Aug 3, 2024

Commits on Jun 9, 2024

  1. Configuration menu
    Copy the full SHA
    8117753 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2024

  1. Set line length for isort

    Gatsik committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    30f5f80 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2024

  1. Configuration menu
    Copy the full SHA
    55c1ae3 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2024

  1. Add basic player card

    which in many ways mocks java client's one
    Gatsik committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    1dd7441 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2024

  1. Configuration menu
    Copy the full SHA
    1ce7c55 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    94272d6 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2024

  1. Configuration menu
    Copy the full SHA
    bba53a4 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2024

  1. Configuration menu
    Copy the full SHA
    dd7ff2f View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2024

  1. Configuration menu
    Copy the full SHA
    dc5f824 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2024

  1. Add avatar list to player card

    Gatsik committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    736c60a View commit details
    Browse the repository at this point in the history
  2. Fix type annotation

    (i mean, there are probably lots of them, but this one triggered me for some reason)
    Gatsik committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    05c8f4e View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2024

  1. Cache avatars with percent encoded spaces

    because java client does it, thus we don't redownload already downloaded avatars
    with spaces in names
    Gatsik committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    b1665f0 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2024

  1. pre-commit autoupdate

    Gatsik committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    ec3eaee View commit details
    Browse the repository at this point in the history
  2. Display rating plots in QTabWidget

    this automatically 'caches' fetched rating history
    for different leaderboards
    because each tab has its own data and plot
    and it's also more convenient than combo box
    Gatsik committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    8033bc4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cfad6cf View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2024

  1. Display leaderboards in more logical order...

    ... and prettify their display names
    Gatsik committed Jun 23, 2024
    Configuration menu
    Copy the full SHA
    b6538c4 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2024

  1. Configuration menu
    Copy the full SHA
    1bbc9da View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2024

  1. Configuration menu
    Copy the full SHA
    0d2a1e8 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2024

  1. Configuration menu
    Copy the full SHA
    decb020 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2024

  1. Configuration menu
    Copy the full SHA
    9a34569 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2024

  1. MapGen: Do not try to close multiple times on error

    map generator exits with 0 on wrong command line options
    so the only way to check if error happened is to read from stderr
    but the library, which map generator uses, also prints
    the output of --help command after the error message
    Starting from this commit we don't act upon second message
    only log it just in case something else happened
    Gatsik committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    13af401 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2024

  1. Configuration menu
    Copy the full SHA
    d7143f3 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2024

  1. Refactor mapgen options

    to eliminite some duplicate code
    also, add missed --num-teams argument
    Gatsik committed Jun 30, 2024
    Configuration menu
    Copy the full SHA
    427bd9d View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2024

  1. MapGen: Show busy indicator instead of steps

    we are unable to predefine number of steps it will take
    to generate a map
    and seeing progress stuck at on of the first steps
    when all the work is done in it is somewhat annoying
    
    (using --debug option to display more information about progress
    significantly (2x) slows down generation process, so we won't
    use that)
    Gatsik committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    232c2fd View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2024

  1. Decouple HostGame widget and MapGenDialog

    (or at least try to do so)
    Gatsik committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    a4f675a View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2024

  1. Configuration menu
    Copy the full SHA
    2e26a3f View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2024

  1. PlayerCard: Handle empty avatar images

    some avatars' urls return 404
    Gatsik committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    dd68e02 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2024

  1. Configuration menu
    Copy the full SHA
    5c3c19c View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2024

  1. Configuration menu
    Copy the full SHA
    72dcbd7 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2024

  1. Configuration menu
    Copy the full SHA
    b1ba224 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2024

  1. Fix SpinBoxes styles

    Gatsik committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    9dbd355 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2024

  1. Configuration menu
    Copy the full SHA
    b863101 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2024

  1. Configuration menu
    Copy the full SHA
    eaae927 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2024

  1. Add pyqtgraph to requirements

    which is used since 1dd7441
    but wasn't added to dependencies
    Gatsik committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    cc535c5 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2024

  1. Add statistics charts to player card

    as in java client, but these work
    Gatsik committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    049a3c8 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2024

  1. Stop search automatch when joining coop game

    ugly fix, but fast and it works
    Gatsik committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    7a27a8d View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2024

  1. Fix type hint

    Gatsik committed Jul 14, 2024
    Configuration menu
    Copy the full SHA
    4fe82fa View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2024

  1. Use QListViews to display replay's scoreboard

    it allows to use context menus and look at users' info
    through replays
    it also gives more control on how things are displayed
    and removes html formatters
    
    also, add display rating changes alongside the scores
    Gatsik committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    190afc5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7674f4d View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2024

  1. Create Rating named tuple

    and move all the "mean - 3 * devaition" calculations into 1 place
    Gatsik committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    23f6a01 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2024

  1. Configuration menu
    Copy the full SHA
    f8cd678 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2024

  1. Configuration menu
    Copy the full SHA
    c1cb73c View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2024

  1. Configuration menu
    Copy the full SHA
    d20e507 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dac1695 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ba45022 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2024

  1. Remove UserRelations from User class

    this fixes circular dependency me -> relations -> me
    
    although it sound logical that User has relations
    there is only one user, whose relations are known
    and managable -- the client user (me)
    so it is also logical for User class to not have
    those relations
    and maybe UserRelations should be the class, from
    which we should get 'me', not the other way around
    Gatsik committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    bde2d4a View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2024

  1. Configuration menu
    Copy the full SHA
    a7197c7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4dd20d3 View commit details
    Browse the repository at this point in the history
  3. Remove 'Veiw in Leaderboards' action from context

    1. there are multiple leaderboards and their count can change
    2. its behaviour is very inconvenient
    Gatsik committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    d4d7442 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2024

  1. Configuration menu
    Copy the full SHA
    c07fd4a View commit details
    Browse the repository at this point in the history
  2. Do not pass the whole client window to PlayerInfoDialog

    it only needs avatar downloader
    Gatsik committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    8bca2b1 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2024

  1. Configuration menu
    Copy the full SHA
    95397d1 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2024

  1. Playercard: Format global rating in a special way

    (special icon and no league name)
    Gatsik committed Jul 27, 2024
    Configuration menu
    Copy the full SHA
    5f1c96a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    feb5784 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2024

  1. Improve computing and memory efficiency of rating plots

    do not 'pre-parse' API response -- extract data
    directly from the dictionary json.load provided
    rating history responses can be very large --
    tens of thousands of records, and skipping
    default API response parsing and convertion parsed
    data into pydantic models (especially skipping
    pydantic) saves lots of time
    additionally, using numpy arrays over python lists
    and deleting unused data structures saves memory
    Gatsik committed Jul 28, 2024
    Configuration menu
    Copy the full SHA
    a49a8f6 View commit details
    Browse the repository at this point in the history
  2. Process data for rating plots more straightforwardly

    don't create overhead signals and inherit LineSeriesParser
    directly from QThread
    Gatsik committed Jul 28, 2024
    Configuration menu
    Copy the full SHA
    3417953 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8179a2c View commit details
    Browse the repository at this point in the history
  4. Fix loading empty rating plots

    Gatsik committed Jul 28, 2024
    Configuration menu
    Copy the full SHA
    6e84baa View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2024

  1. Hide 'Export' action from the plots

    it requires additional libraries to be installed
    to work properly
    Gatsik committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    183d5fe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e8f2bea View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2024

  1. Configuration menu
    Copy the full SHA
    6116906 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2024

  1. Configuration menu
    Copy the full SHA
    29c2be8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9b0ddf5 View commit details
    Browse the repository at this point in the history
  3. Ensure avatars dir

    Gatsik committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    92d3f25 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2024

  1. Fix achievement bar's background

    so black numbers are visible on it
    Gatsik committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    31cf800 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2024

  1. Configuration menu
    Copy the full SHA
    ff6921f View commit details
    Browse the repository at this point in the history
  2. Remove obsolete argument from view_replays method

    since a7197c7 view_replays uses
    only player's login to search
    Gatsik committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    1faec4a View commit details
    Browse the repository at this point in the history
  3. Allow individual override of ingame notification settings

    which allows to disable ingame notification for everything except
    the GAME_FULL notification
    * apply common enabling/disabling rules to party invite notification
    * fix NEW_GAME notification
    Gatsik committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    5a493c7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cf894d7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ee6b700 View commit details
    Browse the repository at this point in the history
  6. Update ice adapter to 3.3.9

    Gatsik committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    2b6724b View commit details
    Browse the repository at this point in the history
  7. release.yml: Remove unnecessary artifact path shenanigans

    the .msi file is stored in the 'dist' directory
    Gatsik committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    f6e6a5b View commit details
    Browse the repository at this point in the history
  8. Get chatters' avatars by url, not by name

    the ImageDownloader's get_image method accepts url
    Gatsik committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    04de926 View commit details
    Browse the repository at this point in the history