Commit Graph

105 Commits

Author SHA1 Message Date
Dean Herbert 11fc811e2f
Fix delete dialogs having generic "Caution" header text
Regressed in https://github.com/ppy/osu/pull/28363.
2024-10-07 16:46:53 +09:00
OliBomby 1c75357d77 fix compile 2024-01-01 15:13:11 +01:00
OliBomby f223487e1c improve code 2024-01-01 15:13:10 +01:00
Rodrigo Pina c3ddf773b7 # osu.Game.Tournament.Models
+ Add: New property BanCount in TournamentRound to save the number of bans

# osu.Game.Tournament/Screens
+ Add: New slider setting in RoundEditorScreen to select the number of bans per round
* Change: Modified setNextMode behavior to get the round ban count, and select bans accordingly
2023-11-28 14:56:07 +00:00
Bartłomiej Dach af89d69fc4
Fix dangerous buttons using different shades of pink 2023-10-13 13:16:24 +02:00
Bartłomiej Dach f03c64462e
Better convey meaning of zero last year placement via tooltip 2023-08-21 08:58:49 +02:00
cdwcgt 88a1cf4005
remove all `canBeNull` from attribute 2023-07-30 01:57:54 +09:00
cdwcgt 8a06914438
remove #nullable disable in tournament 2023-07-29 22:25:06 +09:00
Dean Herbert aa91000505 Always place first match at (0,0) 2023-07-28 16:29:55 +09:00
Dean Herbert b5c3e2a648 Fix placing new match via right click not using original click position 2023-07-28 16:29:39 +09:00
Dean Herbert b5f0d739e6 Allow ladder editor grid to scale with content
Closes https://github.com/ppy/osu/issues/24378.
2023-07-28 16:26:03 +09:00
Bartłomiej Dach 780b8f0ec8
Merge branch 'master' into tournament-fix-null-population 2023-07-27 22:36:11 +02:00
Dean Herbert fa4992f05a Apply NRT and avoid throws from null `RoundBeatmap.Beatmap`s 2023-07-26 17:49:07 +09:00
Dean Herbert 2c5a329b04 Merge branch 'master' into tourney-dangerous-action-confirm 2023-07-25 18:27:58 +09:00
Dean Herbert e46385ee6a Automatically select new match in ladder editor after adding 2023-07-25 01:39:56 +09:00
Dean Herbert fd1bd0c88a Add grid to show ladder editor snapping 2023-07-25 01:39:56 +09:00
Bartłomiej Dach d055d16ba7
Remove superfluous `CanBeNull` dependency specs
As stated before, not required in NRT-annotated files if auto-properties
are already marked nullable.
2023-07-21 21:19:40 +02:00
Bartłomiej Dach 7ace50f442
Touch up dialogs a bit 2023-07-21 21:17:14 +02:00
Bartłomiej Dach f197703fe1
Merge branch 'master' into tourney-dangerous-action-confirm 2023-07-21 21:13:48 +02:00
Dean Herbert cfcfe20221 Reduce scale and better align user panel 2023-07-21 15:46:28 +09:00
Dean Herbert 9d71e8f20d Merge branch 'master' into tournament-team-editor-improvements 2023-07-21 15:30:02 +09:00
Dao Heng Liu bf9c25f429 add confirmation dialog to delete team/round buttons in tourney editor screens 2023-07-20 23:28:31 +01:00
Dao Heng Liu 2825671e28 pass action instead of storage to TournamentClearAllDialog 2023-07-20 23:01:14 +01:00
Dao Heng Liu fa480cc27b remove #nullable disable, pass action instead of container to DangerousActionDialog 2023-07-20 22:52:02 +01:00
Dao Heng Liu 68495c937d fix ResetBracketTeams tests
also fixes formatting and var naming issues
2023-07-20 22:52:02 +01:00
Dao Heng Liu e67253ed1e remove unused code 2023-07-20 22:52:02 +01:00
Dao Heng Liu e3a7b6969a add confirmation dialog for Clear All button in TournamentEditorScreen 2023-07-20 22:52:02 +01:00
Dao Heng Liu 41638ff4b7 move LadderResetTeamsDialog.cs into editor screens components 2023-07-20 22:52:02 +01:00
Dao Heng Liu e7795296e2 refactor LadderResetTeamsDialog.cs 2023-07-20 22:52:02 +01:00
Dao Heng Liu 2833497e5b add dialogoverlay to tournament client, confirmation dialog for resetting bracket teams 2023-07-20 22:52:00 +01:00
Dean Herbert ca14b4a35f Move ladder editor controls to control panel 2023-07-21 03:34:41 +09:00
Dean Herbert 427045fdaf Further layout improvements to `TeamEditorScreen` 2023-07-21 03:34:36 +09:00
Dean Herbert b712b19539 Update all tournament buttons to use new design 2023-07-21 03:34:36 +09:00
Dean Herbert 0284fa1fc1 Tidy up `TeamEditorScreen` 2023-07-21 03:34:36 +09:00
Dean Herbert a16d7e6cc5 Add more padding around editor screen content 2023-07-21 03:34:36 +09:00
Dean Herbert 0ab0c52ad5 Automated pass 2023-06-24 01:00:03 +09:00
Berkan Diler c7ca4bbba5 Use generic Enum methods 2022-12-26 20:36:39 +01:00
Dean Herbert 192536643c Fix some more inspections 2022-12-16 20:21:19 +09:00
Dan Balasescu 7bc8908ca9 Partial everything 2022-11-27 00:00:27 +09:00
Dean Herbert 64f9d6c891 Fix potential cross-thread drawable operation in round editor screen 2022-11-07 19:03:56 +09:00
Dean Herbert 14704fd07c Fix crash when exiting seeding editor too soon
Closes https://github.com/ppy/osu/issues/20783.
2022-10-24 16:08:50 +09:00
Dean Herbert a215d009fe Update `Remove`/`RemoveRange`/`RemoveAll` calls in line with framework changes 2022-08-29 15:57:40 +09:00
Dean Herbert caa44ce01e Update naming 2022-07-18 16:40:11 +09:00
Salman Ahmed a10c398cd5 Remove no longer necessary DI 2022-07-16 06:40:53 +03:00
Salman Ahmed 7c6f4b798b Replace `countries.json` with country enum and acronym extension 2022-07-16 05:16:59 +03:00
Dean Herbert 76be9a829c Fix mutation after disposal in `TeamEditorScreen` 2022-07-12 12:59:55 +09:00
Dean Herbert 73e924479f Find video by recursive check rather than marker interface
Seems a lot more reliable, and allows falling back to the "main" video
in cases which didn't support this previously.

A next step may be to allow every screen to support a video based on its
screen name, rather than specifying the local `TourneyVideo` every time.
2022-07-11 20:42:05 +09:00
Dean Herbert 31a447fda0 Update parameter discards 2022-06-24 21:26:19 +09:00
Dean Herbert f3c9f9a216
Merge pull request #18751 from frenzibyte/tournament-beatmap
Improve tournament beatmap JSON storage using lightweight model
2022-06-18 11:00:26 +09:00
Salman Ahmed 4c47996130 `TournamentPlayer` -> `TournamentUser` 2022-06-18 02:33:26 +03:00