Salman Ahmed
4968859e69
Rename placeholder display flag property to make sense
2022-07-16 06:07:53 +03:00
Salman Ahmed
08f1280aa8
Add UsedImplicitly
specification to silence unused member inspection
...
Also applied to `Language` while at it.
2022-07-16 05:04:24 +03:00
Salman Ahmed
e62049f4a9
Update various usages of Country
inline with new enum
2022-07-16 05:04:24 +03:00
Salman Ahmed
1b2b42bb8a
Update CountryStatistics
to use code
for country enum
2022-07-16 05:04:24 +03:00
Salman Ahmed
4ea8fd75cc
Replace Country
class with enumeration
2022-07-16 04:41:30 +03:00
Dan Balasescu
f8830c6850
Automated #nullable processing
2022-06-17 16:37:17 +09:00
Bartłomiej Dach
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
Jamie Taylor
365819865e
Remove 'submit' sample usages
2022-06-03 22:31:35 +09:00
Joseph Madamba
5e5c8e78a6
Use existing web localisation for most hardcoded strings
2022-04-20 16:31:11 -07:00
Dean Herbert
dc7dc7f65a
Update UserProfileOverlay
and ClickableAvatar
to treat system users more correctly
2022-03-28 22:57:16 +09:00
Dan Balasescu
ad0ca5673a
Fix avatar not clickable after watching replay
2022-03-09 14:39:02 +09:00
Dan Balasescu
48ed9c6144
Enable high chat polling rate
2022-02-25 16:03:56 +09:00
Susko3
529610ee2e
Call the UserPanel Action
when clicking on the flag
2022-01-21 14:01:49 +01:00
Bartłomiej Dach
03e4ec4214
Merge branch 'master' into realm-integration/score-and-beatmaps
2022-01-15 14:45:42 +01:00
Susko3
19467e58c1
Remove unused params from BDL methods
2022-01-15 01:06:39 +01:00
Dean Herbert
51d6db1bca
Add equatable support to IUser
and RealmUser
...
Not sure this will stick, but let's add it for now to make testing
detach support work nicely.
2022-01-12 17:49:11 +09:00
Bartłomiej Dach
097402677d
Add test for ranked/unranked user display
2021-12-19 13:40:22 +01:00
Dean Herbert
e75e209053
Cache and consume IRulesetStore
where feasible
2021-12-03 18:16:01 +09:00
Dean Herbert
7c2e79f911
Update all simple cases of switching to IWorkingBeatmap
2021-11-17 20:56:57 +09:00
Dean Herbert
dede0e56ce
Merge branch 'master' into user-lookup-by-username-cleanup
2021-11-08 13:38:26 +09:00
Salman Ahmed
608958b186
Remove unused setter in interface type
2021-11-05 12:10:05 +03:00
Dean Herbert
b1f1cc0bf3
Perform all user profile displays using an IUser
interface
2021-11-05 13:55:34 +09:00
Dean Herbert
f2700b0a6d
Expose bot state via interface
2021-11-05 13:40:44 +09:00
Dean Herbert
ead64282dd
Split out a couple more nested classes
2021-11-05 13:40:44 +09:00
Dean Herbert
b9983add15
Rename User
to APIUser
and move to correct namespace
2021-11-04 18:21:31 +09:00
Dean Herbert
25b0bccfd5
Remove unused team class
2021-11-04 17:39:42 +09:00
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
Dean Herbert
5d4b73baa5
RealtimeMultiplayer -> Multiplayer
2020-12-25 14:10:59 +09:00
Andrei Zavatski
f753f138c6
Add counter to most played beatmaps section in user overlay
2020-11-12 03:11:29 +03:00
Dean Herbert
85d641c630
Merge pull request #10740 from Game4all/add-multi-statuses
2020-11-10 14:23:26 +09:00
kamp
4303a24a6f
Replace rankHistory in JsonProperty with rank_history
2020-11-10 00:53:24 +01:00
Lucas A
48fce8c4b9
Add user activities to multi subscreens.
2020-11-08 13:21:21 +01:00
Dean Herbert
1e1569eb53
Use int instead of long for user_id fields for now
2020-11-06 12:59:46 +09:00
Dean Herbert
c1d9a0c92c
Move click action out of user panel
2020-11-02 21:09:47 +09:00
Dean Herbert
84d854e231
Avoid having the user profile show when clicking a spectator panel
2020-10-28 19:02:38 +09:00
Dean Herbert
703f58bb2f
Remove last.fm support
...
Has been broken for ages, and their service isn't really something
people use these days.
2020-10-16 11:54:11 +09:00
Ganendra Afrasya
ca9f5b447e
Fix UserListPanel background position
2020-10-01 02:02:27 +07:00
smoogipoo
42e88c53d7
Embed behaviour into UserCoverBackground
2020-07-28 20:50:55 +09:00
Andrei Zavatski
2025e5418c
Minor visual adjustments
2020-07-19 04:10:35 +03:00
Andrei Zavatski
753b1f3401
Make ctor protected
2020-07-18 20:26:15 +03:00
Andrei Zavatski
81d95f8584
Implement UserBrickPanel component
2020-07-18 20:24:38 +03:00
smoogipoo
f3b5149648
Move some suggestions to warnings, resolve issues
2020-06-03 16:48:44 +09:00
Dean Herbert
c18248c827
Fix crash caused by user json order changing
2020-04-02 18:46:09 +09:00
Andrei Zavatski
454e402e88
Fix last seen message has been visible when it shouldn't
2020-03-25 21:02:45 +03:00
Andrei Zavatski
1e025b7c31
Add tests to cover the issue
2020-03-25 20:58:51 +03:00
Andrei Zavatski
f8169e9712
Merge remote-tracking branch 'refs/remotes/ppy/master' into friends-layout-split
2020-03-21 20:31:38 +03:00
OctopuSSX
157f05c3e5
Update osu.Game/Users/Drawables/DrawableAvatar.cs
...
Co-Authored-By: Dean Herbert <pe@ppy.sh>
2020-03-20 14:35:27 +03:00
OctopuSSX
b813c0aff1
Don't open profile if it's Autoplay
2020-03-20 14:26:26 +03:00
Andrei Zavatski
4ac740b12b
Remove APIFriend
2020-03-17 08:51:54 +03:00
Andrei Zavatski
d9d812a8fe
Fix status icon flash on first status change
2020-03-17 02:10:20 +03:00
smoogipoo
58fc947be3
Privatise some setters
2020-03-16 14:06:42 +09:00
Andrei Zavatski
e886c155e6
Adjust text size values
2020-03-07 04:05:17 +03:00
Andrei Zavatski
66f40f7f6e
Merge remote-tracking branch 'refs/remotes/ppy/master' into user-cards-update
2020-03-07 04:01:36 +03:00
Dean Herbert
8ff3370273
Add a short load delay for avatars to avoid unnecessary fetching
2020-03-06 16:27:38 +09:00
Andrei Zavatski
6b44021f4d
Change username text size back to 20
2020-03-05 03:33:14 +03:00
Andrei Zavatski
6b1fdcf9a2
Minor adjustments
2020-03-05 02:38:30 +03:00
Andrei Zavatski
13752ffe9d
Revisit UserGridPanel layout
2020-03-05 02:31:19 +03:00
Andrei Zavatski
2e996eeb7e
Refactor displayStatus function and add comments
2020-03-05 02:10:38 +03:00
Andrei Zavatski
22d43c26aa
Adjust some text values
2020-03-05 02:00:46 +03:00
Andrei Zavatski
06b2c70a04
Simplify alignment setting for status message
2020-03-05 01:45:49 +03:00
Andrei Zavatski
d297bf6957
Adjust background presentation
2020-03-05 01:41:55 +03:00
Andrei Zavatski
0b98bcc856
Fix incorrect click action
2020-03-04 15:22:08 +03:00
Andrei Zavatski
6631b07442
Refactor to replace existing panels
2020-03-04 14:58:15 +03:00
smoogipoo
ffa8a50c6b
Make User IEquatable
2020-02-27 19:21:59 +09:00
smoogipoo
bce9c8f3f3
Make room participants into a bindable list
2020-02-13 18:59:15 +09:00
Andrei Zavatski
2d1afb66fb
Add history counts to user api
2020-02-07 16:21:47 +03:00
Andrei Zavatski
a9cfade2f4
Adjust null handling
2020-02-04 21:02:10 +03:00
Andrei Zavatski
f889f2435b
Add test step to TestSceneRankingsTable
2020-02-04 16:20:15 +03:00
recapitalverb
2bbd12e39a
Fix code formatting
2020-02-04 11:36:22 +07:00
recapitalverb
a8ce50fadd
Add FormatUtils.FormatAccuracy and usages
2020-02-04 11:17:23 +07:00
recapitalverb
ddf9317bec
Replace :P2
with :0.00%
2020-02-04 08:25:01 +07:00
recapitalverb
257b4052e8
Add {ScoreInfo,UserStatistics}.Accuracy
2020-02-03 22:09:07 +07:00
Revel
443dedfd07
undo menu item capitalization
2020-01-14 14:54:06 -05:00
Revel
a86fb2113e
fix tooltip capitalization
2020-01-14 14:26:54 -05:00
Albie Spriddell
d4888c39de
cleanup
2020-01-03 15:22:33 +00:00
Albie Spriddell
71a3db7cd6
remove from rulesetinfo
2020-01-03 13:08:01 +00:00
Albie Spriddell
3a903339d6
add playingverb and database migrations
2020-01-03 11:39:15 +00:00
Dean Herbert
f53fd6e4bc
Fix status capitalisation
2019-12-18 14:07:21 +09:00
Dean Herbert
2f5b27e97c
Make user bindables readonly
2019-12-18 14:07:12 +09:00
Dan Balasescu
3d13fe485d
Merge pull request #7238 from huoyaoyuan/fxcop
...
Apply FxCop at game side
2019-12-17 21:29:52 +09:00
Andrei Zavatski
023892738a
Integration into overlay
2019-12-17 12:36:44 +03:00
Huo Yaoyuan
d5994ed484
CA2208: create exceptions correctly.
2019-12-17 13:00:10 +08:00
Andrei Zavatski
62daea195c
Fix possible null
2019-12-01 04:09:45 +03:00
Andrei Zavatski
f375db368f
Remove useless null check
2019-12-01 03:56:03 +03:00
Andrei Zavatski
0ac4675546
Implement IEquatable<Country>
2019-12-01 03:52:41 +03:00
Andrei Zavatski
c451542915
Rankings overlay basic implementation
2019-11-30 03:01:07 +03:00
Dean Herbert
7efbf9f38f
Merge remote-tracking branch 'upstream/master' into rankings-tables
2019-11-29 15:37:08 +09:00
Dean Herbert
f4f54bc46b
Fix social browser calling game-wide load stalls
2019-11-29 13:03:17 +09:00
Andrei Zavatski
c546df8a80
Refactor API logic
2019-11-27 21:56:22 +03:00
Dean Herbert
4221a0126c
Merge branch 'master' into rankings-tables
2019-11-27 23:26:54 +09:00
Huo Yaoyuan
c0fe91a84c
Merge branch 'master' into sharpen
2019-11-26 18:21:50 +08:00
Dean Herbert
c2e85a2057
Apply CornerExponent fixes
2019-11-22 19:49:20 +09:00
Huo Yaoyuan
ca52d09e81
Enforce expression body for typical simple ones.
2019-11-12 19:56:37 +08:00
Dean Herbert
a83c3523ae
Merge branch 'master' into rankings-tables
2019-11-12 18:59:43 +09:00
Huo Yaoyuan
ccc8aa6fa4
Apply brace style.
2019-11-11 20:13:13 +08:00
Dean Herbert
ddd58ea3da
Use LongRunningLoad on network load components
2019-11-01 19:40:45 +09:00
Andrei Zavatski
5b09daef1a
Merge remote-tracking branch 'refs/remotes/ppy/master' into rankings-tables
2019-10-01 13:54:15 +03:00
Andrei Zavatski
2a395956aa
Merge dependencies
2019-09-27 19:00:17 +03:00
Andrei Zavatski
94eacbca5d
Fix Bot users have all the profile sections in ProfileOverlay
2019-09-27 09:22:25 +03:00
Andrei Zavatski
96453d8197
Remove redundant string interpolation
2019-09-15 02:46:28 +03:00
Andrei Zavatski
babd34470e
Fix DrawableFlag returns empty texture if there's no flag avaliable for needed country
2019-09-15 02:33:21 +03:00