forked from tgstation/tgstation
-
Notifications
You must be signed in to change notification settings - Fork 44
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 2 admin buttons to Lobby #958
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Reviewer's Guide by SourceryThis pull request introduces two new admin buttons in the lobby for starting the game and setting a delay, while removing the existing CSS change button. It also includes updates to the CSS for button layout and appearance. State diagram for game delay functionalitystateDiagram-v2
[*] --> PreGame: Game Initializes
PreGame --> DelayedStart: Admin clicks Delay
DelayedStart --> NormalStart: 1.5 minutes delay
DelayedStart --> LongDelay: 1984 days delay
PreGame --> ImmediateStart: Admin clicks Start Now
NormalStart --> [*]
LongDelay --> [*]
ImmediateStart --> [*]
note right of DelayedStart
Toggles between 1.5 minutes
and 1984 days delay
end note
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
dj-34
approved these changes
Jan 9, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
не смотрел
Gaxeer
approved these changes
Jan 10, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Что этот PR делает
Добавил две кнопочки для админов в лобби:
Дать дилей и стартануть игру
При этом убрал кнопку смены CSS
Почему это хорошо для игры
Удобно
Изображения изменений
dreamseeker_bheyejzVpa.mp4
Тестирование
Ну типа
Summary by Sourcery
Introduce two new admin buttons in the lobby for starting the game and setting a delay, while removing the CSS change button. Improve the layout and styling of lobby buttons for enhanced usability.
New Features:
Enhancements: