Dean Herbert
e0fdcaf523
Merge pull request #30848 from Joehuu/dicord-fix-beatmap-button-visibility
...
Fix discord "view beatmap" button being shown when editing and hide identifiable information is set
2024-11-28 13:29:09 +09:00
Salman Alshamrani
24c0799680
Move beatmap ID lookup to UesrActivity
2024-11-27 16:54:51 -05:00
Dean Herbert
573aaf6637
Merge pull request #27128 from frenzibyte/user-statistics-provider
...
Introduce `UserStatisticsProvider` component and add support for respecting selected ruleset
2024-11-27 13:13:47 +09:00
Dean Herbert
6fba6de4dc
Merge branch 'master' into multiplayer-remove-cmc-and-composite
2024-11-20 17:24:55 +09:00
Salman Alshamrani
74daf85e48
Replace bindable with an event
2024-11-18 06:47:22 -05:00
Salman Alshamrani
1847b679db
Only update user rank panel display when ruleset matches
...
Nothing behaviourally different, just reduce number of redundant calls.
2024-11-17 18:45:07 -05:00
Salman Alshamrani
07609b6267
Fix UserRankPanel
not updating on ruleset change
2024-11-17 18:32:17 -05:00
Salman Alshamrani
4a628287e2
Decouple game-wide ruleset bindable and refactor LocalUserStatisticsProvider
...
This also throws away the logic of updating
`API.LocalUser.Value.Statistics`. Components should rely on
`LocalUserStatisticsProvider` instead for proper behaviour and ability
to update on statistics updates.
2024-11-17 18:13:37 -05:00
Salman Alshamrani
6c8a900dcc
Merge branch 'master' into user-statistics-provider
2024-11-17 15:34:56 -05:00
Dan Balasescu
6160df1586
Make Room.Name
non-bindable
2024-11-15 14:29:15 +09:00
Dean Herbert
b82f420b52
Merge pull request #30433 from stanriders/fix-userpanel-overflow
...
Fix `UserRankPanel` rank overflowing on 6+ digits
2024-11-13 19:19:30 +09:00
Dan Balasescu
99762da7b8
Make RoomID non-bindable
...
Most important changes are to `RoomSubScreen` and `PlaylistsRoomSubScreen`, because those are the only two cases that now bind to the event instead.
2024-11-13 16:28:54 +09:00
Dean Herbert
0760451f3f
Merge branch 'master' into user-statistics-provider
2024-11-13 15:21:55 +09:00
Bartłomiej Dach
1dee041448
Add search textbox in friends display
...
Random user feature request that made sense to me because the same thing
is in currently online display.
Yes web doesn't have this, but web is in a browser where you can Ctrl-F.
You can't do that in the client.
Design taken out of posterior because I can't be bothered waiting for
design cycles for this.
2024-11-04 14:40:30 +01:00
StanR
86989aa5ce
Fix UserRankPanel
rank overflowing on 6+ digits
2024-10-27 13:40:29 +05:00
Salman Alshamrani
3a57b21c89
Move LocalUserStatisticsProvider
to non-base game class and make dependency optional
2024-10-25 02:38:41 -04:00
Salman Alshamrani
701fb565b1
Merge branch 'master' into user-statistics-provider
2024-10-25 01:35:24 -04:00
Dean Herbert
ea35ad4689
Fix nullability inspection
2024-05-10 23:26:43 +08:00
Dean Herbert
e887f93eca
Always show placeholder on unknown / missing country
2024-05-10 22:45:59 +08:00
Dean Herbert
b026309e36
Add setting to allow hiding all country flags
...
There have been enough requests for this at this point to implement it.
2024-05-10 20:32:21 +08:00
Salman Ahmed
30fd40efd1
Avoid disable/restore pairs
2024-05-01 21:18:56 +03:00
Salman Ahmed
02be275554
Disable naming inspections in country/language enums
2024-05-01 17:20:20 +03:00
Dean Herbert
b8a362fcb6
Simplify assignment by using an auto property
2024-03-09 20:17:27 +08:00
Andrei Zavatski
58b6acde10
Further simplify tooltip text creation
2024-03-09 14:10:32 +03:00
Andrei Zavatski
dd36942508
Reduce allocations in DrawableFlag tooltip
2024-03-09 13:58:05 +03:00
Dean Herbert
c6201ea5de
Remove unused ruleset parameter when testing beatmap in editor
2024-03-01 20:28:52 +08:00
Dean Herbert
963c0af814
Fix beatmap information still showing when testing a beatmap
2024-03-01 16:43:47 +08:00
Dean Herbert
00527da27d
When discord is set to privacy mode, don't show beatmap being edited
2024-03-01 11:42:35 +08:00
Salman Ahmed
de48c51715
Apply renaming in remaining usages
2024-02-29 01:11:08 +03:00
Joseph Madamba
2ff8667dd2
Revert "Centralise global rank display logic to new class"
...
Also don't show on `LoginOverlay` usage for now.
2024-02-19 12:11:12 -08:00
Joseph Madamba
a03835bf1c
Improve comments
2024-02-14 20:13:27 -08:00
Salman Ahmed
633d85431b
Update UserRankPanel
implementation to use new component
2024-02-11 08:22:31 +03:00
Joseph Madamba
ffd0d9bb39
Add highest rank tooltip to global rank display
2024-02-09 16:06:16 -08:00
Joseph Madamba
ae89b89928
Centralise global rank display logic to new class
2024-02-09 16:06:16 -08:00
Andrei Zavatski
66350fd148
Refactor UserRankPanel layout
2024-02-01 16:33:54 +03:00
Andrei Zavatski
2bd9dcf646
Rework UserGridPanel to reduce containers nesting
2024-02-01 16:22:07 +03:00
Dean Herbert
353df2f312
Fix one more incorrect bindable flow and simplify string setters
2024-01-17 17:00:56 +09:00
Dean Herbert
66c7a29e79
Add comment about messy methods
2024-01-17 16:57:22 +09:00
StanR
7262fef67f
Add comments
2024-01-03 17:39:48 +06:00
StanR
3df7430d2e
Bind UserRankPanel
values to Statistics
bindable in APIAccess
2024-01-03 14:32:32 +06:00
StanR
5eaf5fca2a
Add user card with global/country ranks for login overlay
2024-01-02 20:33:36 +06:00
Dean Herbert
2ec9343868
Add the ability to spectate a user by right clicking their user panel
2023-12-28 17:35:10 +09:00
Bartłomiej Dach
37049d41b4
Show user's status as tooltip on the extended user panel
2023-12-06 19:37:35 +01:00
Bartłomiej Dach
41c33f74f2
Extend metadata client with user presence-observing capabilities
2023-12-06 19:37:35 +01:00
Bartłomiej Dach
d66fa09320
Simplify UserStatus
to be an enumeration type
...
There were absolutely no gains from having it be a reference type /
class, only complications, especially when coming from the serialisation
angle.
2023-12-06 18:52:27 +01:00
Bartłomiej Dach
cb823f367f
Simplify UserActivity
for serialisability over the wire
...
Up until now, the `UserActivity` class hierarchy contained things like
beatmap info, room info, full replay info, etc. While this was
convenient, it is soon going to be less so, as the data is sent over the
wire to the spectator server so that the user's activity can be
broadcast to other clients.
To counteract this without creating a second separate and slimmed-down
class hierarchy, slim down the `UserActivity` structure to contain the
bare minimum amounts of data such that the structures aren't overly
large and complex to serialise, but also contain enough data that they
can be used by receiving clients directly without having to do beatmap
or score lookups.
2023-12-06 18:52:26 +01:00
Joshua Hegedus
deef8998f7
reverted the change
2023-11-15 17:22:36 +09:00
Joshua Hegedus
aa9deecafe
added missing comment, fixed incorrect visibility
2023-11-15 17:22:36 +09:00
Bartłomiej Dach
fbf94214a5
Fully delegate tooltip show/hide logic
2023-11-10 18:36:09 +09:00
Bartłomiej Dach
36d0bae42d
Restore mention of dependency on another ctor param
2023-11-10 17:57:16 +09:00