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

Fix team game creation and admin game list #1183

Merged
merged 19 commits into from
Oct 5, 2024

Conversation

SpacialCircumstances
Copy link
Member

No description provided.

Fix battle royale: stars for first destruction round are not previewed
* Updated 128x128_star_black_hole.svg and 128x128_star_scannable_binary.svg to be styled using a CSS class so that their styles can be overridden.
* Added 128x128_star_pulsar.svg.
* Added SvgWrapper component to allow SVG files to be rendered directly to the DOM (and thus be affected by CSS classes in the DOM) instead of loading them in their own shadow DOMs.
* Added StarIcon component for displaying star icons in the UI consistently.
* Added SortInfo class.
* Added GridHelper class.
* Updated tables:
    - Consolidated sorting functionality and added the capability for tables to be sorted by multiple values, eg sort by specialist name and then by star name.
    - Added capability to be able to sort by more columns, eg specialists and players.
    - Fixed some tables sorting by ship count when clicking on the Name header instead of the Name.
    - Added various tooltips.
    - Tables now respond to time machine ot tick changes.
    - Split resources are now shown as separate, sortable columns.
    - Infrastructure values now have proper columns.
    - Added Warp Gate column to Stars table.
    - Fixed player icon shape always being a circle on some tables.
    - Updated Technology table to show colours indicating whether the current player's technology is the best or worst, matching how it behaves on the player modal Technology section.
    - Fixed Empires table not having colours for Economy, Industry and Science values.
    - Added Star Types table.
* Updated MainMenu component to also load player roles when mounted.
* Updated reloadGameCheck() in Game component:
    - to emit a new onGameTick event when the game ticks.
    - to play a sound and show a toast message when a new tick occurs, even if the player is viewing a historic tick.
* Updated TickSelector component:
    - to move to the latest tick when a new tick occurs, if the player was previously viewing the latest tick.
    - to have a minimum tick matching the minimum tick stored in the time machine (ie if it doesn't exist in the time machine, it won't be selectable).
* Renamed calculateTicksToNextShip() method in gameHelper to calculateTicksToBonusShip(), and updated its functionality to calculate the number of ticks to the bonus ship (which will just be the next ship if the star is producing less than 1 ship per tick).
* Updated StarDetail component to show ticks to bonus ship instead of next ship if the star is producing more than 1 ship per tick.
* Fixed client-side only issue where science infrastructure upgrades did not reflecting whether or not a Research Station existed until the page was refreshed.
* Updated nextInfrastructureCost() method in store.js to use the new nextInfrastructureCost property instead of the old (and non-existent) infrastructureCost property.
* Fixed href in BulkInfrastructureUpgrade.vue being "javascript:void;" instead of just "javascript:;" (fixes a syntax error ("expected expression, got ';'")).

# Server updates:
* Added getHistoryMinimumTick() method to HistoryService.
* Updated Repository class:
    - Added types.
    - Fixed returning awaited promise results from Promise<void> methods.
    - Added missing await to countAll() method.
* Updated getUserCount() method in UserService to fix missing await in async method.
* Added timeMachineMinimumTick property to Game interface.
* Added ownerByPlayer property to MapObject interface.
* Updated GameGalaxyService:
    - Updated getGalaxy() method to set new timeMachineMinimumTick property.
    - Updated _setStarInfoBasic(), _setStarInfoDetailed() and _setCarrierInfoDetailed() methods to set new ownerByPlayer property.
* Added nextInfrastructureCost property to StarUpgradeReport interface.
* Fixed _upgradeStarAndSummary() method in starUpgrade.ts not returning the cost of the next infrastructure following a bulk upgrade.
Fix carrier ids for historical carriers being incorrectly the ids of …
Add option for enabling performance monitor
Fix close button of colour override modal
Table improvements and various bug fixes
@SpacialCircumstances SpacialCircumstances merged commit a913fce into master Oct 5, 2024
1 check passed
@SpacialCircumstances SpacialCircumstances deleted the fix/team-game-creation-and-order branch October 20, 2024 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Not all running games displayed in admin panel Cannot create team games with more than 16 players
2 participants