Commit Graph

49166 Commits

Author SHA1 Message Date
083d008de2 Merge pull request #16974 from bdach/mod-overlay/panel
Implement mod panel for new mod select design
2022-02-25 11:00:08 +09:00
769dc9b00b Merge branch 'master' into mod-overlay/panel 2022-02-24 21:02:28 +01:00
c189cc5d00 Remove unused using directive 2022-02-24 21:01:37 +01:00
80fc13fc1f Merge pull request #16976 from peppy/dont-expose-mark-as-read-errors-to-user
Don't expose "mark as read" errors to the user via notifications
2022-02-24 23:20:34 +09:00
16a3bbbcb4 Merge pull request #16944 from peppy/rooms-request-faster
Update playlists/multiplayer to use new compact response
2022-02-24 23:20:07 +09:00
2fb16eef56 Merge pull request #16981 from smoogipoo/remove-netanalyzers
Remove Microsoft.CodeAnalysis.NetAnalyzers package
2022-02-24 22:33:23 +09:00
35302aa297 Merge pull request #16980 from smoogipoo/fix-union-workaround-resolver
Fix SignalR union workaround resolver failing on multiple union'd types
2022-02-24 22:24:48 +09:00
cd8190b2e7 Remove Microsoft.CodeAnalysis.NetAnalyzers package 2022-02-24 20:45:15 +09:00
c5b1e5cbf8 Fix union resolver failing on multiple derived types 2022-02-24 20:27:22 +09:00
d69446ff6e Merge pull request #16979 from smoogipoo/fix-playlists-partial-mod
Fix playlists not allowing entry with partial mods
2022-02-24 19:37:10 +09:00
7193bc8554 Fix playlists comparing mod equality via APIMod 2022-02-24 17:04:16 +09:00
2acaffd5e7 Fix APIMod storing bindables instead of value 2022-02-24 17:01:12 +09:00
328166f0d5 Add failing test 2022-02-24 17:01:04 +09:00
bb1aa032bd Combine SelectedItem and CurrentPlaylistItem into same storage 2022-02-24 16:21:20 +09:00
c6d78b9325 Fix several oversights in data linking causing drawable rooms not updating as expected 2022-02-24 16:12:15 +09:00
b4a54b38e7 Remove redundant parameter specification 2022-02-24 16:02:16 +09:00
3f6bdc5585 Don't expose "mark as read" errors to the user via notifications
This can happen if the user leaves the channel before the request is
fired. You can't mark a channel as read when you're not in the channel.

Addresses https://github.com/ppy/osu/discussions/16973.
2022-02-24 15:40:07 +09:00
435bdd0b4a Combine and simplify state management logic
This makes a few changes to bring things into a better shape during
mouse interactions with the mod panels:

- Dragging away from the panel now works in line with other buttons (ie.
  `OsuButton`)
- Hovering now uses a lightened version of the current state, rather
  than always using the active colour. I think this feels better.
- Mouse down now uses a transform point of 0.5. This is to give the
  button a feeling of one of those latching light switches which resists
until reaching a point of overcoming the spring and switching state. I
think 0.4 (non-active) and 0.6 (from active) may work better, but left
at 0.5 for simplicity of implementation and I think it's good enough?
- Border always uses the gradiented version. I did this for simplicity
  of implementation, but also think it looks better.
- Adjusted transform durations to feel better to me.
2022-02-24 15:25:30 +09:00
6e8daa06fa Merge branch 'master' into mod-overlay/panel 2022-02-24 14:34:59 +09:00
7302e66c5f Merge pull request #16860 from sh0ckR6/issues/16839-spun-out-rate
Give "Spun Out" dynamic spin rate
2022-02-24 13:25:53 +09:00
8f437354ad Merge branch 'master' into issues/16839-spun-out-rate 2022-02-24 11:51:53 +09:00
8f951f8e8a Merge pull request #16969 from peppy/update-framework
Update framework
2022-02-24 11:32:34 +09:00
f0681ccd09 Merge pull request #16909 from peppy/startup-protocol-handling
Add handling of beatmap links on startup
2022-02-24 03:12:51 +01:00
713f89a59c Implement incompatibility-displaying variant of mod panel 2022-02-23 23:19:06 +01:00
bbe2dfa458 Move out incompatibility displaying tooltip to own class 2022-02-23 23:18:15 +01:00
8a0aba6c59 Implement mod panel for new mod select screen 2022-02-23 23:18:14 +01:00
29d77a29aa Merge branch 'master' into startup-protocol-handling 2022-02-23 21:10:27 +01:00
53bbd00675 Also make APIUser opt-in and remove the remaining serialization exclusion rule 2022-02-23 17:12:38 +09:00
43c83d2de1 Add note about why RoomID is nulled in DeepClone 2022-02-23 17:10:11 +09:00
f14a9af801 Make Room opt-in rather than opt-out for json serialization 2022-02-23 17:10:10 +09:00
28c9c5ab6a Remove unnecessary ShouldSerialize rules in Room 2022-02-23 17:10:10 +09:00
5d73691de4 Use existing HandleLink flow rather than reimplmenting 2022-02-23 17:02:39 +09:00
054ed546e3 Fix intermittent failures in remaining test method 2022-02-23 16:56:50 +09:00
a6b6644c2e Replace LINQ queries with recommendations 2022-02-23 16:22:13 +09:00
99045c6ac8 Merge pull request #16951 from bdach/mod-overlay/switches
Implement mod switches for new mod select design
2022-02-23 14:20:43 +09:00
87da650dfb Update framework 2022-02-23 14:06:56 +09:00
5e7dd31f6d Merge branch 'master' into mod-overlay/switches 2022-02-23 13:49:23 +09:00
71a012bea6 Don't update count twice immediately
Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
2022-02-23 13:42:47 +09:00
2bea485af8 Fix currently playing text not showing in lounge 2022-02-23 13:37:47 +09:00
b0a74a6851 Merge pull request #16964 from Susko3/osu-links
Fix handling of badly-formatted osu:// urls
2022-02-23 11:09:00 +09:00
7bdcb5952e Fix handling badly-formatted osu:// urls 2022-02-23 00:36:56 +01:00
d0d0830888 Merge pull request #16960 from peppy/beatmap-overlay-load-after-login
Fix beatmap overlay not re-fetching results after initial login
2022-02-22 23:27:49 +01:00
d8fa443ea0 Extract default mod switch measurements to constants
For use later when specific sizes/scales of the mod switches are
desired.
2022-02-22 23:22:11 +01:00
1fe463e4d0 Merge branch 'master' into beatmap-overlay-load-after-login 2022-02-22 22:55:38 +01:00
1a358698fb Merge branch 'master' into startup-protocol-handling 2022-02-22 22:42:16 +01:00
d1d6847d32 Add comment about split usage in osu:// protocol link handling 2022-02-22 22:24:37 +01:00
6de4e05e49 Fix current selection not being correctly maintained when BeatmapPicker updates its display 2022-02-22 17:17:08 +09:00
5efffa208a Add test coverage of beatmap set overlay actually showing requested beatmap 2022-02-22 17:08:09 +09:00
ed008267d7 Fix one more case of escaping not being present
Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
2022-02-22 16:45:18 +09:00
ca0a041153 Fix missing escaping causing test failures
Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
2022-02-22 16:45:04 +09:00