Commit Graph

47 Commits

Author SHA1 Message Date
f8830c6850 Automated #nullable processing 2022-06-17 16:37:17 +09:00
365819865e Remove 'submit' sample usages 2022-06-03 22:31:35 +09:00
dc7dc7f65a Update UserProfileOverlay and ClickableAvatar to treat system users more correctly 2022-03-28 22:57:16 +09:00
ad0ca5673a Fix avatar not clickable after watching replay 2022-03-09 14:39:02 +09:00
529610ee2e Call the UserPanel Action when clicking on the flag 2022-01-21 14:01:49 +01:00
19467e58c1 Remove unused params from BDL methods 2022-01-15 01:06:39 +01:00
b1f1cc0bf3 Perform all user profile displays using an IUser interface 2021-11-05 13:55:34 +09:00
b9983add15 Rename User to APIUser and move to correct namespace 2021-11-04 18:21:31 +09:00
85b699182e Rename variable to be more descriptive 2021-09-10 13:01:54 +09:00
2838a3a961 Rewrite conditional to be more 'balanced' 2021-09-10 12:25:41 +09:00
b01cf5c937 Don't play hover/select sounds for UpdatableAvatar unless it's interactable 2021-09-09 15:33:47 +09:00
9b7bb37244 Add hover+select sounds to some components that are missing them 2021-07-30 21:35:28 +09:00
c1d8a7e2ad Add and use 'Submit' select sample variant for particular components 2021-07-30 21:35:28 +09:00
50c27d2635 Update usages of IHasTooltip in line with framework localisation changes 2021-06-25 19:10:04 +02:00
d9cc1c227b Allow UpdateableAvatar to handle displaying username as tooltip 2021-06-17 16:31:12 +09:00
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
0c1f624b56 Simply code under assuming that avatarUrl always non-null 2021-03-30 17:03:01 +09:00
dc3af1e0f7 Remove IAPIProvider since its not required at DrawableAvatar 2021-03-29 20:05:24 +09:00
b3d3c7ecac Revert relative url checking to AvatarUrl 2021-03-29 20:01:20 +09:00
32df02084d Extract variable to avoid redundant accesses 2021-03-27 20:02:52 +01:00
be08460bea Fix formatting issues 2021-03-27 19:59:33 +01:00
34429a02e7 Use avatar_url from user first instead of a.ppy.sh in DrawableAvatar 2021-03-28 03:13:05 +09:00
8ec7970b6a Move load-complete fade specification inside 2020-12-26 14:35:14 +01:00
e8f96b2401 Bring back DrawableAvatar as a simple sprite 2020-12-26 14:35:14 +01:00
0b42b4b955 Rename {Drawable -> Clickable}Avatar 2020-12-26 14:35:11 +01:00
f3b5149648 Move some suggestions to warnings, resolve issues 2020-06-03 16:48:44 +09:00
157f05c3e5 Update osu.Game/Users/Drawables/DrawableAvatar.cs
Co-Authored-By: Dean Herbert <pe@ppy.sh>
2020-03-20 14:35:27 +03:00
b813c0aff1 Don't open profile if it's Autoplay 2020-03-20 14:26:26 +03:00
8ff3370273 Add a short load delay for avatars to avoid unnecessary fetching 2020-03-06 16:27:38 +09:00
a86fb2113e fix tooltip capitalization 2020-01-14 14:26:54 -05:00
f375db368f Remove useless null check 2019-12-01 03:56:03 +03:00
c451542915 Rankings overlay basic implementation 2019-11-30 03:01:07 +03:00
c2e85a2057 Apply CornerExponent fixes 2019-11-22 19:49:20 +09:00
ddd58ea3da Use LongRunningLoad on network load components 2019-11-01 19:40:45 +09:00
96453d8197 Remove redundant string interpolation 2019-09-15 02:46:28 +03:00
babd34470e Fix DrawableFlag returns empty texture if there's no flag avaliable for needed country 2019-09-15 02:33:21 +03:00
83ffb1d542 Remove unnecessary transforms on top score user section 2019-07-15 14:15:03 -07:00
236d5a9abc Remove leftover TransformDuration overrides 2019-06-24 18:26:25 +02:00
739077ef4f Only hide UpdateableAvatar/Flag immediately 2019-06-24 18:24:31 +02:00
7734c4b41a Fix code style 2019-06-24 18:09:42 +02:00
aed83471f4 Replace Reset with overridden TransformImmediately/TransformDuration 2019-06-24 10:51:45 +02:00
fafec00667 Reset top score avatar before updating it 2019-06-21 16:47:19 +02:00
5f5441c692 Add ShowPlaceholderOnNull in updateable flag + do not show placeholders in some overlays 2019-06-19 20:17:02 +03:00
97dd34e26c Seperate updateable from drawable 2019-06-19 03:50:16 +03:00
d6a39b8a2a Fix CI issues + slight change 2019-06-17 22:33:27 +03:00
fec0db8fe1 Merge UpdateableAvatar.cs and Avatar.cs + Rename Avatar to DrawableAvatar 2019-06-17 21:55:07 +03:00
d665f1fe4b Seperate drawable and updateable flag from Country + Use UpdateableFlag 2019-06-17 20:57:57 +03:00