Commit Graph

414 Commits

Author SHA1 Message Date
75e89f17ad Rewrite BeatmapCardContentBackground 2021-11-03 00:07:03 +01:00
6efd3d3115 Don't perform background difficulty calculation for multiplayer panels
There are cases these are shown in a long list. They shouldn't be
running calculations.
2021-11-03 03:12:52 +09:00
f671ee28c5 Use buffered container to eliminate gaps near foreground border 2021-11-01 20:17:27 +01:00
a59f2d7b83 Implement basic hover card state 2021-11-01 19:41:11 +01:00
5962f16b1c Implement basic card appearance 2021-11-01 19:41:11 +01:00
07e3ced315 Fix test scene and remove "impossible" nullable coalesce 2021-10-29 18:22:23 +09:00
7db8bdfb7c Fix fallback logic not considering case where ruleset is not available
Occurs only in tests.
2021-10-29 18:16:54 +09:00
be0564f732 Update DifficultyIcon classes to use IBeatmapInfo 2021-10-29 17:05:06 +09:00
7245baba69 Remove IBeatmapSetOnlineInfo implementation from BeatmapSetInfo to avoid null cases 2021-10-28 00:50:45 +09:00
f268363924 Update UpdateableBeatmapBackgroundSprite to accept IBeatmapInfo 2021-10-27 16:38:48 +09:00
3de994449d Add support for changing dimensions of difficulty spectrum display 2021-10-26 23:06:52 +02:00
1a77e98537 Implement difficulty spectrum display 2021-10-26 23:06:52 +02:00
6802e9ec10 Remove FixedWidth and add AutoSizeAxes specs to all usages 2021-10-25 20:24:48 +02:00
feedd53a53 Add support for setting fixed size of status pill 2021-10-24 21:37:00 +02:00
5ab3337a10 Update beatmap set status pill appearance 2021-10-24 20:40:34 +02:00
32d01f022f Rename usages which rely on online backing 2021-10-21 16:58:42 +09:00
0706ad70fb Move BeatmapSetOnlineInfo to an interface type 2021-10-21 16:58:42 +09:00
ec61c3c5ee Rename all remaining cases 2021-10-03 00:55:29 +09:00
505824d8ea Constrain difficulty icon tooltip to internal accessibility"
This reverts the reverted commit cd356b8eae.

Sorry for the revert-unrevert, rushly pushed without realizing it
doesn't even build.
2021-08-31 21:16:17 +03:00
cd356b8eae Revert "Constrain difficulty icon tooltip to internal accessibility"
This reverts commit 4a590a041c.
2021-08-31 20:57:47 +03:00
4a590a041c Constrain difficulty icon tooltip to internal accessibility 2021-08-31 20:57:36 +03:00
da7ff4b160 Update remaining tooltip implementations to use generics 2021-08-31 20:01:13 +03:00
fa2bf42188 Update tooltip implementations 2021-08-30 16:05:00 +09:00
e374ef163d Update localisable formattable extensions usages inline with framework change 2021-08-29 15:00:28 +03:00
6d57a240ac Add animation support for the star rating display 2021-08-19 07:17:43 +03:00
d2df09432f Center the star rating display text rather than left 2021-08-18 11:49:33 +03:00
5e91ec73e3 Handle star rating range display sizing 2021-08-18 11:36:27 +03:00
74d6c26520 Refactor star rating display layout with flexibility in mind 2021-08-18 11:03:35 +03:00
b01893d3f2 Merge branch 'master' into star-rating-display-v2 2021-08-06 13:51:34 +03:00
7d670c6d35 Fix gap in fill colour 2021-08-06 18:05:24 +09:00
b63d472594 Adjust font size to match designs
Looks silly when using `12f`, I've added a todo comment so that this specific case does not get forgotten when CSS-compatible font sizing gets supported.

The todo comment may not be 100% required but very unsure about silently changing it and forgetting about it.
2021-08-04 18:19:37 +03:00
b2332eb5b3 Use new difficulty colours permanently 2021-08-04 18:19:37 +03:00
284fa49646 Bring margins of components closer to existing designs 2021-08-04 18:19:28 +03:00
42370e48ec Disable shadow on star display text 2021-08-04 18:19:28 +03:00
d4399f10f9 Merge both variants of the star rating display 2021-08-04 18:19:28 +03:00
14da5ab813 Remove defined size from the star rating display 2021-08-04 17:12:20 +03:00
95b134f3d8 Use OsuColour.Orange1 instead of pure yellow 2021-08-04 17:12:20 +03:00
19d54ee751 Update light background handling to Color4.Yellow instead
Confirmed to be the way forward in
https://github.com/ppy/osu-web/pull/7855#issuecomment-880959644.
2021-08-04 17:12:20 +03:00
a01402664f Add redesigned star rating display
Matching the same design as the one in the latest figma designs.
2021-08-04 17:12:20 +03:00
9a5e052dc0 Use star difficulty colour spectrum game-wide 2021-08-03 15:02:18 +03:00
ea4f9b2ac7 Localise beatmap online status pill. 2021-07-21 13:15:07 +02:00
c7325f0f77 Add missing load delay
That was a bad one... `ModelBackedDrawable` has a default of 0ms load delay, while previously the wrapper created for beatmap set cover used default 500ms, this change is bringing the load delay back, to avoid firing hundreds of web requests just when doing a quick long scroll on beatmap listing.
2021-05-07 08:09:02 +03:00
283488ea53 Use TransformImmediately instead at beatmap listing search control
Applies two changes:
 - Use `TransformImmediately` which achieves the same wanted transition behaviour without any issues.
 - Move the transition behaviour override into `BeatmapListingSearchControl` in a nested subclass of `UpdateableBeatmapSetCover`.
2021-05-07 03:36:32 +03:00
32b3ea70b9 Fix both covers showing if cover is not fully opaque 2021-05-04 21:12:50 +02:00
eeb66a955e Merge branch 'master' into mbd-beatmap-set-cover 2021-04-30 08:14:33 +09:00
03771ce8ec Allow determining a BeatmapDifficultyCache's bindable return's completion state via nullability 2021-02-25 16:19:01 +09:00
a1be3c8bfd Fix header background being invisible in multiplayer/playlists 2021-02-12 15:27:37 +09:00
acfb2d2980 Refactor beatmap set covers into using ModelBackedDrawable<T> 2021-01-24 00:32:33 +03:00
d83abfa7d2 Add test scene with failing test case 2021-01-24 00:32:20 +03:00
5113d4af8f Rename BeatmapDifficultyManager to BeatmapDifficultyCache 2020-11-06 13:14:29 +09:00