Commit Graph

320 Commits

Author SHA1 Message Date
660bf748d5 Fix GroupBadge crashing on null group colour 2023-01-14 02:23:08 +03: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
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
d7294ac3e6 Substitute APIUser for UserProfile in overlay 2023-01-02 17:21:09 +01:00
88e90d5fa0 Enable NRT in user profile overlay 2023-01-01 23:49:11 +01:00
7bc8908ca9 Partial everything 2022-11-27 00:00:27 +09:00
e11d44d14f Add url clicking support to profile badges 2022-11-03 18:12:32 -07:00
edd50dc05b Add profile url context menu to user container 2022-08-24 03:07:03 -04:00
100c53f9ef Country -> CountryCode 2022-07-18 08:40:34 +03:00
4968859e69 Rename placeholder display flag property to make sense 2022-07-16 06:07:53 +03:00
e62049f4a9 Update various usages of Country inline with new enum 2022-07-16 05:04:24 +03:00
f8830c6850 Automated #nullable processing 2022-06-17 16:37:17 +09:00
f88c568c8d Update flag sizes after switch to twemoji assets
The old flags used a size of 150x100, while the new assets based on
twemoji use a size of 150x108. Update existing usages to match this new
aspect ratio better.
2022-06-15 21:45:47 +02:00
2878bb592f Use more appropriate sounds for certain components 2022-06-03 22:32:12 +09:00
f65d2db77f Remove "V2" suffix from ChatOverlay components 2022-05-30 17:54:09 +09:00
58d39734d0 Integrate ChatOverlayV2 into main game 2022-05-23 21:02:47 +01:00
7cf4dabe29 Fix IDE0005 and IDE0034 2022-05-03 13:09:19 +08:00
c7ab9a8928 Add ruleset tab item tooltips 2022-04-30 15:37:44 +03:00
4016fe1e19 Adjust profile ruleset selector to new design
Looks weird with `AlwaysPresent`.
2022-04-29 12:19:55 +03:00
be2d616e34 Fix localisation use cases not falling back to default(LocalisableString)
Previously such use cases have been returning `null` values just fine since `GetLocalisableString` was returning `LocalisableFormattableString`, and these null values were wrapped in `LocalisableString`s implicitly, therefore not requiring an explicit fallback string and `null` doesn't break anything.
2022-04-28 11:21:00 +03:00
5e5c8e78a6 Use existing web localisation for most hardcoded strings 2022-04-20 16:31:11 -07:00
129c290ca0 Dispose cancellation token source on disposal 2022-03-04 10:01:07 +03:00
76c293b9e9 Fix cancellation token source recreated on every medal 2022-03-04 10:00:56 +03:00
3a37e6e8b1 Fix profile badges potentially showing on incorrect profile when switching users
Closes https://github.com/ppy/osu/issues/17081.
2022-03-04 12:01:00 +09:00
19467e58c1 Remove unused params from BDL methods 2022-01-15 01:06:39 +01:00
7de43e3aba Fix most open compound words in identifiers being closed 2021-12-27 20:26:28 -08:00
a6ccbafc77 Fix rank graph showing for unranked users 2021-12-19 13:40:22 +01:00
729f681938 Update cases where equality can be used instead of primary key equality 2021-11-24 12:49:57 +09:00
db4e4c982c Add hover effect to supporter button 2021-11-18 13:35:42 +09:00
cd5e379c48 Link osu!supporter icon to its web page 2021-11-17 14:43:34 -08:00
0ecf5f201c Rename User to APIUser and move to correct namespace 2021-11-07 11:26:01 +09:00
6944151486 Apply batch fixing of built-in types using var 2021-10-27 13:04:41 +09:00
8d1e43423e Update calls to use new variable name 2021-09-10 14:18:40 +09:00
3969350c9a Convert to readonly struct and replace with constructor temporarily 2021-08-31 20:45:32 +03:00
208f66cc76 Simplify user graph tooltips logic
The same tooltip can be used for the rank graph, the play history graph,
and the replay history graph.

The only difference between those three is the displayed label, which
has now been included as part of the `TooltipContent`, rather than
unnecessarily recreating tooltips just for different sprite texts.
2021-08-31 19:59:38 +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
b0b46eed40 Apply review suggestions.
Co-authored-by: Salman Ahmed <frenzibyte@gmail.com>
2021-07-24 21:32:26 +02:00
fa68caa892 Fix CI inspections. 2021-07-24 19:34:12 +02:00