Commit Graph

2389 Commits

Author SHA1 Message Date
33e930f477 Move scale-on-expand logic to BeatmapCardContent 2021-12-17 13:29:20 +01:00
d6f6039934 Extract base class for beatmap cards 2021-12-17 13:27:11 +01:00
f052b47d87 Extract collapsible button container for card usage 2021-12-17 12:58:05 +01:00
7aab12d4b0 Share extra row dropdown show/cancel show logic 2021-12-17 11:45:05 +01:00
3fa45479b0 Share hype/nomination statistic show logic 2021-12-17 11:45:05 +01:00
c6d0b5d200 Merge branch 'master' into beatmap-card/extra-wip 2021-12-17 11:11:36 +01:00
54790bb758 Merge branch 'master' into fix-realm-post-storage-migration-failure 2021-12-17 00:19:46 +01:00
ad430a6277 Centralise hover state handling (and fix back-to-front conditionals) 2021-12-15 16:44:58 +09:00
6a1f535257 Refactor cancellation of expand to be more explicit 2021-12-15 16:38:19 +09:00
94d1a2aaca Remove unnecessary collapse call from BeatmapCard
This is already handled at the `BeatmapCardContent` level. This call
actually causes the buggy behaviour reported in
https://github.com/ppy/osu/discussions/16085.
2021-12-15 16:37:47 +09:00
7a9db22c52 Tidy up method naming and structure for expanded state changes 2021-12-15 16:29:12 +09:00
ef4ab74565 Also only expose Expanded state of BeatmapCard as read-only 2021-12-15 16:26:19 +09:00
41e6c24dad Expose Expanded state of BeatmapCardContent as read-only bindable
This is just to reduce complexity of these interactions by ensuring that
the expanded state can only be changed by the class itself.
2021-12-15 16:26:19 +09:00
f9a2db5ec6 Add accessibility to realm factory via IStorageResourceProvider
We might need to rename this class..
2021-12-14 14:19:49 +09:00
083ee92dee Adjust button vertical padding 2021-12-08 22:56:28 +01:00
2d739c95ea Lay out extra card statistics in grid as per design 2021-12-08 22:56:28 +01:00
3ecfaa532c Add source field to extra beatmap card 2021-12-08 22:56:28 +01:00
419fee1380 Move mapper link to bottom content 2021-12-08 22:54:11 +01:00
61e04f75cc Resize extra card to design size 2021-12-08 22:54:10 +01:00
a32492cdd5 Duplicate BeatmapCard{-> Extra} as blueprint for extra card size 2021-12-08 22:53:51 +01:00
8d9c37a825 Merge branch 'master' into primary-key-consistency 2021-12-08 21:34:38 +09:00
25a0505c97 Scale card when expanding to better distinguish hovered card from other cards in listing 2021-12-07 23:48:14 +09:00
82ed8eae6b Ensure hover handling container always calls base on hover events 2021-12-06 21:02:40 +01:00
ccfc361626 Apply naming suggestions 2021-12-06 21:02:38 +01:00
0f74389389 Add scrolling for long difficulty lists in beatmap card 2021-12-05 20:17:59 +01:00
af35652b8b Disable beatmap card expansion on solo spectator screen 2021-12-05 20:07:58 +01:00
e451e43b90 Implement input handling behaviour of beatmap card dropdown 2021-12-05 16:31:45 +01:00
250e5b47b7 Move "extra info" beatmap card row to separate component 2021-12-05 15:52:19 +01:00
3fea8d5e62 Implement visual behaviour of expanded card state 2021-12-05 15:48:02 +01:00
a07f8c74dc Add basic structure for composable card dropdown 2021-12-05 15:26:37 +01:00
38702beabf Merge branch 'master' into i-ruleset-store 2021-12-04 15:05:39 +01:00
e75e209053 Cache and consume IRulesetStore where feasible 2021-12-03 18:16:01 +09:00
9c717ce7ec Merge branch 'master' into diffcalc-cli-arg 2021-12-03 15:10:55 +09:00
45656c3599 Fix difficulty spectrum display not ordering ruleset groups by ID 2021-11-29 22:06:11 +01:00
0fc4d6dc2a Implement beatmap card difficulty list 2021-11-29 22:04:09 +01:00
a7e4e7be3a Remove the ability to specify a filename in ReplaceFile 2021-11-29 18:11:51 +09:00
e5dcfc3113 Use console IPC 2021-11-28 14:03:21 +09:00
05f7ea6b6d Remove mentions of "panel" and "direct" from names of old download buttons 2021-11-27 15:08:03 +01:00
a043d1e427 Move old beatmap download button to more general namespace 2021-11-27 15:06:57 +01:00
7419682334 Move icon pill to beatmap card-specific namespace 2021-11-27 15:01:48 +01:00
f16ef1ee69 Reapply schedule workaround for PreviewTrack 2021-11-26 22:34:05 +09:00
bf443a5a7a Switch unnecessary return to break instead 2021-11-26 15:36:16 +09:00
5de2f6211d Show a spinner instead of the download button on the new card during beatmap download 2021-11-26 15:32:33 +09:00
84a36ab4a9 Add integration with beatmap set overlay 2021-11-25 22:30:46 +01:00
f712aeee01 Merge pull request #15795 from peppy/realm-integration/separate-download-flow
Split out download logic from main manager classes
2021-11-25 20:59:23 +09:00
d7a960212f Merge pull request #15794 from peppy/realm-integration/stable-export-flow
Split out legacy model export logic into `LegacyModelExporter` classes
2021-11-25 20:20:18 +09:00
2b85738384 Merge pull request #15797 from peppy/remove-pointless-i-beatmap-model-manager
Remove pointless interface class for `IBeatmapModelManager`
2021-11-25 19:07:19 +09:00
a6ee0eec0d Remove pointless interface class for IBeatmapModelManager
Was originally going to be used but serves no purpose any more.
2021-11-25 18:15:10 +09:00
eeccf836ec Remove unnecessary GameHost parameter 2021-11-25 17:42:41 +09:00
716543b5b3 Move beatmap download logic out of BeatmapManager 2021-11-25 17:29:41 +09:00