Commit Graph

908 Commits

Author SHA1 Message Date
432e0a6a37 Merge branch 'master' into level-badge-colour 2023-01-23 15:46:15 +09:00
9c2494383f Rename fetch method to be non-plural to match all others 2023-01-23 15:43:52 +09:00
9bde1ef9bf Privatise setter 2023-01-22 10:09:08 +01:00
b98da506c1 Fix code quality inspection 2023-01-22 10:07:47 +01:00
2f3971b6fb Move code to already existing if block 2023-01-22 01:40:00 -03:00
8c208da324 Cleanup 2023-01-22 01:39:01 -03:00
05f77d2cab Add modes text to groups tooltip 2023-01-22 01:36:53 -03:00
24ed84aad0 Add tiered level badge colouring 2023-01-18 16:25:11 +03:00
f7c942ac10 Move user stats into detail header container 2023-01-17 22:32:24 +01:00
7a475d9cf8 Move out stats from top header container 2023-01-17 22:32:15 +01:00
350cce1315 Move contents of detail header to separate component 2023-01-17 22:32:12 +01:00
f79037cefb Move to LoadComplete() better 2023-01-16 21:47:31 +01:00
3f75506552 Move binding to LoadComplete 2023-01-16 23:42:07 +03:00
c5d09c0e2c Rename variable
Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
2023-01-16 23:36:50 +03:00
6207a96a29 Refactor LevelBadge to use LevelInfo 2023-01-16 23:24:09 +03:00
627d1725c3 Fix kudosu wiki link from user profile not linking to in-game overlay 2023-01-14 19:56:51 -08:00
67a3ea2c59 Fix wrong date colour of kudosu history items 2023-01-14 17:50:18 +01:00
bfca75395b Adjust colour of top header container 2023-01-14 17:37:33 +01:00
6a9d842660 Adjust user profile header detail appearance 2023-01-14 17:37:31 +01:00
de077403e9 Adjust visual appearance of profile value displays 2023-01-14 17:37:28 +01:00
f80dddbb5e Rearrange and adjust header components where simple 2023-01-14 17:17:28 +01:00
e39eb089ce Update colouring of some profile section elements 2023-01-14 17:17:26 +01:00
5b1111c6b1 Adjust appearance of user profile sections 2023-01-14 17:17:24 +01:00
49e08c06a6 Adjust general appearance of user profile overlay 2023-01-14 16:59:51 +01:00
5e1ea8b34f Merge branch 'master' into move-overlay-ruleset-selectors 2023-01-14 15:22:14 +01:00
e2d6e31314 Using 2023-01-14 02:26:26 +03:00
660bf748d5 Fix GroupBadge crashing on null group colour 2023-01-14 02:23:08 +03:00
5750d82c0a Move overlay ruleset selectors to tab control 2023-01-13 12:50:35 -08:00
52eabbf224 Merge branch 'master' into user-profile/ruleset-switching 2023-01-11 19:11:40 +01:00
08ca62205a Merge pull request #22123 from stanriders/group-badges
Implement user group badges
2023-01-11 18:42:50 +09:00
2dcc61caf5 Add extra level of nullabiliy checking because NRT is not present 2023-01-11 17:38:08 +09:00
b1a13286a3 Remove some redundancies 2023-01-11 16:50:37 +09:00
318867f486 Fix previous badges potentially not being cleared if new user has no badges 2023-01-11 16:48:47 +09:00
e0d58d51b6 Split out classes into own files and rename GroupInfoContainer to a flow 2023-01-11 16:47:29 +09:00
5441c02a1a Implement user group badges 2023-01-11 07:11:38 +03:00
62e12277d8 Rename things yet again 2023-01-10 19:30:01 +01:00
6027e7cc4e Fix one more missed related symbol 2023-01-09 18:22:49 +01:00
4dec3cae57 Rename UserProfileData-related symbols 2023-01-09 17:46:08 +01:00
fdf0d4bd62 Rename UserProfile{ -> Data} 2023-01-09 17:37:28 +01:00
c759b743dc Add support for switching rulesets on profile overlay 2023-01-02 17:23:06 +01:00
a2e726502f Add ruleset selector to profile overlay 2023-01-02 17:23:04 +01:00
7683ab68b0 Use UserProfile in profile ruleset selector 2023-01-02 17:23:01 +01:00
1722f3a125 Add ruleset to UserProfile 2023-01-02 17:22:55 +01:00
d7294ac3e6 Substitute APIUser for UserProfile in overlay 2023-01-02 17:21:09 +01:00
608d8ee7d4 Add UserProfile model to be used in user profile overlay
As `APIUser` implements `IEquatable`, attempting to replace an `APIUser`
with another `APIUser` with the same online ID has no effect on the user
profile overlay. This is a significant hurdle in implementing support
for viewing the profile for different rulesets, as in that case the
profile is basically reloaded for the same user, but slightly different
data.

To facilitate this, wrap `APIUser` in a new `UserProfile` class. This
will mean that the equality rules can be changed locally to the user
profile overlay without impacting other components that depend on the
`APIUser` equality rules. The ruleset that the user profile is being
displayed with will eventually be added to `UserProfile`, too.
2023-01-02 17:21:00 +01:00
88e90d5fa0 Enable NRT in user profile overlay 2023-01-01 23:49:11 +01:00
9a4f0cad2c Fix incorrect domain root being used for recent activity entries on profile overlay
Closes https://github.com/ppy/osu/issues/21980.
2023-01-01 17:48:05 +08:00
27c497145f Fix the MOTHERLOAD of undetected issues that are now visible thanks to net6.0 2022-12-16 18:16:26 +09:00
56e94e49a3 Display nominated ranked beatmaps in user profile 2022-12-06 23:36:11 -08:00
7bc8908ca9 Partial everything 2022-11-27 00:00:27 +09:00