1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 08:52:55 +08:00
Commit Graph

1268 Commits

Author SHA1 Message Date
Salman Alshamrani
74daf85e48 Replace bindable with an event 2024-11-18 06:47:22 -05:00
Salman Alshamrani
caf56afba6 Fix various test failures 2024-11-17 19:13:29 -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
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
Dean Herbert
0760451f3f
Merge branch 'master' into user-statistics-provider 2024-11-13 15:21:55 +09:00
cdwcgt
c576fd8448
add AddFriendResponse 2024-11-05 15:55:42 +08:00
cdwcgt
1a92e5ad19
remove CreateAPIRelationFromAPIUser 2024-11-01 19:24:58 +08:00
cdwcgt
21b1c799f3
rename FriendAddRequest to AddFriendRequest 2024-11-01 19:16:56 +08:00
cdwcgt
b682285f53
simpily test 2024-11-01 14:24:54 +08:00
cdwcgt
0b2f4facac
add test 2024-11-01 14:05:24 +08:00
StanR
86989aa5ce Fix UserRankPanel rank overflowing on 6+ digits 2024-10-27 13:40:29 +05:00
Salman Alshamrani
2fd495228c Fix post-merge errors 2024-10-25 02:38:01 -04:00
Salman Alshamrani
701fb565b1 Merge branch 'master' into user-statistics-provider 2024-10-25 01:35:24 -04:00
Bartłomiej Dach
54aeeaa529
Add test coverage 2024-10-22 12:29:34 +02:00
Bartłomiej Dach
59e9ed7bac
Add test coverage 2024-10-21 12:44:01 +02:00
Jonas Brandstötter
750e0b29ca
Use ChildrenOfType<> to get ScoreTable to test 2024-10-14 16:11:58 +02:00
Jonas Brandstötter
dcd3e5194e
Group HitResults with the same name into one column in beatmap ranking
Closes #29911
2024-10-12 22:53:08 +02:00
Bartłomiej Dach
7f814d3106
Fix incorrect tiers being used for tooltip total participation display
Compare: 95e4561a54
2024-09-08 14:26:50 +02:00
Bartłomiej Dach
8b04455c29
Fix chat overlay tests
Not entirely sure why they were failing previously, but the most likely
explanation is that by freak accident some mock requests would
previously execute immediately rather than be scheduled on the API
thread, which would change execution ordering and ensure that
`ChannelManager.CurrentChannel` would become the joined channel, rather
than remaining at the channel listing.
2024-08-30 14:57:15 +02:00
Joseph Madamba
f0b2176c30 Add failing pinned comment replies state test 2024-08-28 22:58:57 -07:00
Jonas Brandstötter
89a4025c01
Fix Daily Challenge play count using a different colour than osu-web 2024-08-24 11:21:28 +02:00
Salman Ahmed
7acc1772cb Add test coverage 2024-08-13 13:07:21 +03:00
Dean Herbert
c8a7727199
Make ID retrieval global to all tests and fix multiple other usages 2024-08-09 17:46:51 +09:00
Dean Herbert
18c80870d8
Update one more RNG usage in same tests 2024-08-09 17:40:48 +09:00
Dean Herbert
0a8e342830
Fix occasionally ChatOverlay test failures due to RNG usage
See https://github.com/ppy/osu/actions/runs/10302758137/job/28517150950.

Same ID gets chosen twice for PM channel.
2024-08-09 17:38:17 +09:00
Dean Herbert
1aea8e911c
Add test coverage of chat mentions 2024-08-07 01:33:56 +09:00
Dean Herbert
310def64f4
Merge branch 'master' into user-profile-daily-challenge-streak-display 2024-08-02 15:40:46 +09:00
Dean Herbert
816dee181a
Rename classes to remove "streak" terminology
Since the primary display isn't showing a streak.
2024-08-02 15:33:30 +09:00
Dean Herbert
71649005bf
Elongate usernames in DrawableChannel test 2024-07-30 17:52:55 +09:00
Salman Ahmed
91dfe4515b Fix daily challenge display showing incorrect statistic 2024-07-30 08:12:03 +03:00
Salman Ahmed
7c3d592a84 Fix user profile overlay test scene being broke 2024-07-30 07:06:59 +03:00
Dean Herbert
1daeb7ebd0
Rename typo in test naming 2024-07-29 22:19:38 +09:00
Dean Herbert
997b3eb498
Fix typos and visuals 2024-07-29 20:24:51 +09:00
normalid
e58bdbb8a9 Improve unit test 2024-07-28 15:08:36 +08:00
Salman Ahmed
82fbd5b045 Rename file 2024-07-28 06:40:16 +03:00
Salman Ahmed
e82c54a31c Integrate daily challenge streak display with user profile overlay 2024-07-28 05:58:30 +03:00
Salman Ahmed
17f5d58be2 Add daily challenge streak display and tooltip 2024-07-28 05:58:27 +03:00
normalid
4e44a6e7f8 Clean up code 2024-07-27 18:55:17 +08:00
normalid
73a98b45e9 FIx code quality 2024-07-27 18:48:45 +08:00
normalid
7f4bfb25a9 Implement unit test 2024-07-27 18:24:32 +08:00
Bartłomiej Dach
dd8be62d07
Merge pull request #28849 from frenzibyte/custom-profile-colour
Add custom hue support to user profile overlay
2024-07-22 09:41:32 +02:00
Dan Balasescu
3f4e56be3c
Fix TestPostAsOwner test failure
https://github.com/smoogipoo/osu/actions/runs/9990112749/job/27610257309

Comments are loaded asynchronously, both from the initial request and
the following message-post request. By sheer timing luck, these could be
out of order and the assertion on the posted message could fail.
2024-07-18 20:54:05 +09:00
Salman Ahmed
be1d3c0ea4 Add test coverage 2024-07-13 11:58:54 +03:00
Dean Herbert
c6201ea5de
Remove unused ruleset parameter when testing beatmap in editor 2024-03-01 20:28:52 +08:00
Salman Ahmed
8f97f0503f Move away from Solo namespace 2024-02-29 01:21:17 +03:00
Salman Ahmed
de48c51715 Apply renaming in remaining usages 2024-02-29 01:11:08 +03:00
Bartłomiej Dach
eac4c5f69d
Rename {Solo -> User}StatisticsWatcher et al.
The "solo" prefix is a bit unbecoming now. The updates are not only
for solo.
2024-02-22 20:36:24 +01:00
Bartłomiej Dach
57bb0b85a1
Merge pull request #27107 from Joehuu/rank-highest-tooltip
Add highest rank tooltip to global rank display
2024-02-22 09:08:22 +01:00
Salman Ahmed
414e55c90e Add visual test case 2024-02-18 01:38:51 +03:00