Commit Graph

368 Commits

Author SHA1 Message Date
Dean Herbert ec61c3c5ee Rename all remaining cases 2021-10-03 00:55:29 +09:00
Jamie Taylor 85b699182e
Rename variable to be more descriptive 2021-09-10 13:01:54 +09:00
Jamie Taylor 2838a3a961
Rewrite conditional to be more 'balanced' 2021-09-10 12:25:41 +09:00
Jamie Taylor b01cf5c937
Don't play hover/select sounds for UpdatableAvatar unless it's interactable 2021-09-09 15:33:47 +09:00
Nathan Alo 2877b43824 split multiplayer and playlist activity 2021-08-22 09:54:07 +08:00
Nathan Alo eaca331170 apply suggestions 2021-08-18 08:13:53 +08:00
Nathan Alo c56b34d2da apply code inspection fixes 2021-08-16 07:06:23 +08:00
Nathan Alo cc3468b4ab apply suggestions
- make `UserActivity.InGame` and derive that to `InSoloGame` and `InMultiplayerGame`
- rename `SoloGame` to `InSoloGame`
- rename `MultiplayerGame` to `InMultiplayerGame`
2021-08-16 06:32:33 +08:00
Nathan Alo 4ed06a1021 apply suggestions 2021-08-14 22:39:12 +08:00
Nathan Alo a553942a7f update `InitialActivity` on multiplayer `Player` and `SongSelect` 2021-08-14 13:20:36 +08:00
Jamie Taylor 9b7bb37244
Add hover+select sounds to some components that are missing them 2021-07-30 21:35:28 +09:00
Jamie Taylor c1d8a7e2ad
Add and use 'Submit' select sample variant for particular components 2021-07-30 21:35:28 +09:00
Lucas A ff3d38de6f Localise accuracy display. 2021-07-23 22:37:08 +02:00
Bartłomiej Dach 1e634d9db0
Adjust user beatmap sections on profile overlay to match web 2021-07-20 21:55:17 +02:00
Bartłomiej Dach 50c27d2635 Update usages of `IHasTooltip` in line with framework localisation changes 2021-06-25 19:10:04 +02:00
Dean Herbert d9cc1c227b Allow UpdateableAvatar to handle displaying username as tooltip 2021-06-17 16:31:12 +09:00
Dean Herbert 6a40ef581c Fix avatars missing in private message channel tabs / local leaderboards
Regressed in https://github.com/ppy/osu/pull/12204.

Adding this back in a central location for now, as each of the remaining cases will
need a local solution.
2021-06-10 17:47:17 +09:00
Dean Herbert 33ab411e39 Merge branch 'master' into drawavatar-use-avatar-url 2021-06-03 19:36:32 +09:00
Joseph Madamba 3e74d61dab Add best count from api 2021-05-02 13:33:25 -07:00
Joseph Madamba 59cb5f4679 Get recent count from api instead 2021-05-02 13:33:25 -07:00
Dean Herbert fb0079fb9f Fix accuracy displaying incorrectly in online contexts
Closes #12221.
2021-03-30 22:42:32 +09:00
ilsubyeega 0c1f624b56 Simply code under assuming that avatarUrl always non-null 2021-03-30 17:03:01 +09:00
ilsubyeega dc3af1e0f7 Remove IAPIProvider since its not required at DrawableAvatar 2021-03-29 20:05:24 +09:00
ilsubyeega b3d3c7ecac Revert relative url checking to AvatarUrl 2021-03-29 20:01:20 +09:00
Bartłomiej Dach 32df02084d Extract variable to avoid redundant accesses 2021-03-27 20:02:52 +01:00
Bartłomiej Dach be08460bea Fix formatting issues 2021-03-27 19:59:33 +01:00
ilsubyeega 34429a02e7 Use avatar_url from user first instead of a.ppy.sh in DrawableAvatar 2021-03-28 03:13:05 +09:00
Dean Herbert cb4ae6e61a Fix very high accuracies feigning as "perfect" 100% plays when actually below 2021-03-25 17:34:29 +09:00
Joehu e31d583a7f Add comments count to user profile overlay 2021-03-21 11:16:59 -07:00
Joehu 393f1fbd3f Remove skype 2021-03-15 10:07:50 -07:00
Salman Ahmed 2609b22d53 Replace usage of `CurrentModeRank` in line with API change 2021-03-01 23:07:25 +03:00
Salman Ahmed fe54a51b5a Remove `UserRanks` object and move to outer `country_rank` property 2021-03-01 22:42:20 +03:00
Dean Herbert 85a844a378 Restructure class slightly 2021-02-19 13:40:12 +09:00
Dean Herbert 841c2c56d9 Remove confusing pp_rank include (will be removed osu-web side too) 2021-02-19 13:30:42 +09:00
Salman Ahmed f6df5a9d2b Suppress false warning 2021-02-18 15:55:45 +03:00
Salman Ahmed a407bfe73b Privatize `UserRanks` and expose a similar `CountryRank` field instead 2021-02-18 15:37:52 +03:00
Salman Ahmed a845e96b7a Replace `Ranks.Global` completely with a `GlobalRank` property 2021-02-17 08:52:04 +03:00
Salman Ahmed 0e7f52b5cc Always use JSON property `global_rank` for global ranks instead 2021-02-16 07:33:16 +03:00
Salman Ahmed 5b4999e8af Update user statistics retrieval with API changes 2021-02-16 07:33:13 +03:00
Salman Ahmed d15ffff9a5 Simplifiy user statistics retrieval to one-time on deserialization 2021-02-16 04:48:36 +03:00
Salman Ahmed 62514f23b5 Remove unnecessary json settings override 2021-02-16 04:48:36 +03:00
Salman Ahmed 1466f36649 Improve documentation on `Statistics` 2021-02-16 04:48:36 +03:00
Salman Ahmed a1496cd8f3 Remove necessity of using `CurrentModeRank` as a fallback 2021-02-16 04:48:36 +03:00
Salman Ahmed cca1bac67d Pass empty user statistics for consistency
Realized `Statistics` was never giving null user statistics, so decided to pass an empty one here as well.
2021-02-08 22:00:52 +03:00
Salman Ahmed d101add159 Display user global rank for selected ruleset in participants panel 2021-02-08 21:25:50 +03:00
Salman Ahmed bebff61a9d Add method for retrieving condensed user statistics 2021-02-08 21:25:50 +03:00
Andrei Zavatski 966440f109 Add MappingFollowerCount field to User 2021-01-21 22:02:19 +03:00
Bartłomiej Dach 8ec7970b6a Move load-complete fade specification inside 2020-12-26 14:35:14 +01:00
Bartłomiej Dach e8f96b2401 Bring back DrawableAvatar as a simple sprite 2020-12-26 14:35:14 +01:00
Bartłomiej Dach 0b42b4b955 Rename {Drawable -> Clickable}Avatar 2020-12-26 14:35:11 +01:00