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 ability to close playlists within grace period after creation #30793

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

bdach
Copy link
Collaborator

@bdach bdach commented Nov 20, 2024

Closes #30401.

2024-11-20.12-36-55.mp4

Grace period in question is configurable osu-web side via MULTIPLAYER_ROOM_CLOSE_GRACE_PERIOD_MINUTES envvar; default is 5 minutes (see ppy/osu-web#11667). Same value is hardcoded in client.

Not sure the lounge context menu is the best place for this necessarily but that was kinda simplest...?

No tests because it felt like adding them would be too expensive for the benefit, but will add on request.

@peppy
Copy link
Member

peppy commented Nov 21, 2024

I think we might want to, in addition to the context menu, show a button next to "Start" on the playlist screen for discoverability. What do you think?

@bdach
Copy link
Collaborator Author

bdach commented Nov 21, 2024

Yeah I considered doing that. Not opposed to it in principle, will give it a go.

@pull-request-size pull-request-size bot added size/L and removed size/M labels Nov 22, 2024
@bdach
Copy link
Collaborator Author

bdach commented Nov 22, 2024

osu_2024-11-22_09-59-16

Something like this I guess...?

@peppy
Copy link
Member

peppy commented Nov 27, 2024

Yeah, seems good. Although that footer looks horribly bad with this plus the back button, but 🙈 for now.

@peppy peppy self-requested a review November 27, 2024 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ability to close playlists within time period after creation
2 participants