1
0
mirror of https://github.com/ppy/osu.git synced 2024-10-01 07:57:40 +08:00
Commit Graph

268 Commits

Author SHA1 Message Date
Salman Ahmed
f013a1e37f Move CreateContent() to BDL 2021-11-05 10:13:42 +03:00
Salman Ahmed
3a3ec1436b Re-enable possible null refernece exception inspections and move code 2021-11-05 09:14:50 +03:00
Salman Ahmed
4245af28e1 Disable other false-positive null inspections with comment 2021-11-05 04:50:58 +03:00
Dean Herbert
6944151486 Apply batch fixing of built-in types using var 2021-10-27 13:04:41 +09:00
Dean Herbert
a5f6c287ea Split out pinned comment content to only be constructed when required 2021-08-24 14:43:28 +09:00
Gagah Pangeran Rosfatiputra
9233f396aa
centered thumbtack icon and text 2021-08-14 00:22:01 +07:00
Gagah Pangeran Rosfatiputra
a710bbf6ae
remove background colour for no comment placeholder 2021-08-14 00:03:05 +07:00
Gagah Pangeran Rosfatiputra
6d726bf046
Change spacing
Co-authored-by: Salman Ahmed <frenzibyte@gmail.com>
2021-08-13 22:54:41 +07:00
Gagah Pangeran Rosfatiputra
cf0e9a1eec
add pinned content section 2021-08-13 19:40:37 +07:00
Gagah Pangeran Rosfatiputra
1859e651b6
add pinned mark in drawable comment 2021-08-13 12:57:30 +07:00
smoogipoo
2850f6ce95 Privatise counter again 2021-08-13 13:24:05 +09:00
smoogipoo
ee034874bb Merge branch 'master' into remove-comments-page 2021-08-13 13:17:13 +09:00
Dean Herbert
9b9dacf3fe Update usages of Drawable.Click() 2021-08-04 17:30:33 +09:00
Gagah Pangeran Rosfatiputra
6631f0de19
add CommentMarkdownHeading 2021-07-26 21:07:35 +07:00
Gagah Pangeran Rosfatiputra
2a6aeb5310
use CommentMarkdownContainer in DrawableContainer 2021-07-26 18:18:55 +07:00
Gagah Pangeran Rosfatiputra
43100c5288
initial CommentMarkdownContainer 2021-07-26 18:18:33 +07:00
Bartłomiej Dach
50c27d2635 Update usages of IHasTooltip in line with framework localisation changes 2021-06-25 19:10:04 +02:00
Jamie Taylor
953683044f
fix checkbox sounds not being used for certain checkboxes 2021-06-18 21:00:08 +09:00
Joehu
16b3f22caf Fix incorrect trash icon being used on deleted comments counter 2021-03-22 19:32:17 -07:00
Dean Herbert
1fd76ea3fb Apply changes to UI components overriding functions with changing signatures 2021-02-22 19:01:42 +09:00
Joehu
e838a5d9f0 Fix comment edited at date not showing tooltip 2021-02-15 19:04:23 -08:00
Andrei Zavatski
e9d10bb6e7 Revert "Minor refactoring"
This reverts commit 3d42cc1f91.
2021-01-22 22:49:49 +03:00
Andrei Zavatski
3d42cc1f91 Minor refactoring 2021-01-22 22:27:26 +03:00
Andrei Zavatski
20161aea6a Show LoginOverlay if not logged-in when clicking on a pill 2021-01-22 21:47:53 +03:00
Andrei Zavatski
6379381f95 Make VotePill background transparent for own comments 2021-01-22 20:46:20 +03:00
Dean Herbert
206bf3713e Make IAPIProvider read-only bindables into IBindables 2020-12-18 15:16:36 +09:00
Dean Herbert
e5991d6e14 Change method structure for hover/unhover state setting (shouldn't be called "Fade") 2020-07-30 13:49:04 +09:00
Andrei Zavatski
45ddc7a2e9 Rename ShowMoreButton in comments namespace to ShowMoreRepliesButton 2020-07-30 05:02:01 +03:00
Andrei Zavatski
d4496eb982 Update ShowMoreButton in line with web 2020-07-30 04:51:09 +03:00
Andrei Zavatski
929b10036e Merge remote-tracking branch 'refs/remotes/ppy/master' into remove-comments-page 2020-07-30 00:39:32 +03:00
Andrei Zavatski
d7fab98af0 Update comments container footer in line with web 2020-07-29 06:39:23 +03:00
Andrei Zavatski
2d502cebda Update DrawableComment layout 2020-07-28 02:36:25 +03:00
Andrei Zavatski
6737c57e33 Adjust colour of edit info 2020-07-28 01:10:13 +03:00
Andrei Zavatski
69691b3739 Use DrawableDate to represent creation date 2020-07-28 00:53:51 +03:00
Andrei Zavatski
46d1de7fa7 ShowMoreButton rework 2020-07-28 00:43:06 +03:00
Andrei Zavatski
1b5a23311e Update ChevronButton position/colour 2020-07-28 00:29:17 +03:00
Andrei Zavatski
85c8757572 Return true on click 2020-07-14 21:18:46 +03:00
Andrei Zavatski
28006ac33f Remove unnecessary action from ShowRepliesButton 2020-07-14 15:12:18 +03:00
Andrei Zavatski
4c2294f0cd Refactor LoadRepliesButton to inherit LoadingButton 2020-07-14 15:02:29 +03:00
Andrei Zavatski
7c71cc6b61 Remove unneeded class from DrawableComment 2020-07-14 03:06:51 +03:00
Andrei Zavatski
56349e65f3 Rename arrow direction method 2020-07-14 03:01:14 +03:00
Andrei Zavatski
f6e4ecd960 Merge remote-tracking branch 'refs/remotes/ppy/master' into comments-buttons 2020-07-14 02:46:29 +03:00
Dean Herbert
3f113640a1
Merge branch 'master' into remove-comments-page 2020-07-14 07:59:53 +09:00
Andrei Zavatski
6eec2f9429 Implement RankingsSortTabControl component 2020-07-13 01:22:05 +03:00
Andrei Zavatski
be36a4b768 Make ctor protected 2020-07-12 12:39:48 +03:00
Andrei Zavatski
c3524cbe57 Make icon private but expose a protected method 2020-07-12 12:32:26 +03:00
Andrei Zavatski
da40f29b44 Make button text a property 2020-07-12 12:27:26 +03:00
Andrei Zavatski
0e5b375c9a Merge master with conflicts resolved 2020-07-12 02:20:54 +03:00
Andrei Zavatski
024ccc75ee Adjust margins/paddings 2020-07-11 09:03:03 +03:00
Andrei Zavatski
84392d0d13 Add loading spinner 2020-07-11 08:50:35 +03:00
Andrei Zavatski
b1b2e961bc Update arrow colour on hover 2020-07-11 08:13:11 +03:00
Andrei Zavatski
42d3288f17 Update old buttons usage 2020-07-11 08:01:11 +03:00
Andrei Zavatski
0861ee0c8e Make Icon rotate when clicking ShowRepliesButton 2020-07-11 07:54:37 +03:00
Andrei Zavatski
da249abd19 Implement CommentRepliesButton 2020-07-11 07:47:17 +03:00
Andrei Zavatski
789c921af1 Move replies button to a new line 2020-07-11 06:47:52 +03:00
Bartłomiej Dach
aab606b237 Cancel scheduled asynchronous load of comments 2020-06-13 13:00:05 +02:00
Dean Herbert
cbcd915ec8 Fix crash on switching comments page at an inopportune time 2020-04-24 18:18:10 +09:00
Joehu
3903423a37 Fix textbox characters not animating when typing/backspacing 2020-03-08 19:43:53 -07:00
Andrei Zavatski
e2c495e8c2 Move drawables loading to AppendComments() 2020-02-27 20:00:41 +03:00
Andrei Zavatski
62b4fa602f Merge remote-tracking branch 'refs/remotes/ppy/master' into remove-comments-page 2020-02-27 19:30:48 +03:00
Andrei Zavatski
32dc4501c1 Fix incorrect RepliesButton presentation 2020-02-27 14:16:35 +03:00
Andrei Zavatski
ddb494efb3 Add back regression test 2020-02-27 01:38:21 +03:00
Andrei Zavatski
54d83eff94 Use OverlayColourProfider for VotePill component 2020-02-26 19:35:20 +03:00
Andrei Zavatski
638d060145 Fix incorrect character on RepliesButton 2020-02-26 18:55:43 +03:00
Andrei Zavatski
1166d3d696 CI fixes 2020-02-26 18:52:58 +03:00
Andrei Zavatski
de10e50278 Add test scene to test local comment bundles 2020-02-26 18:31:01 +03:00
Andrei Zavatski
ae4f5cdf37 Add async loading support 2020-02-26 18:00:48 +03:00
Andrei Zavatski
56c41a614a Remove CommentsPage component 2020-02-26 17:38:50 +03:00
Dan Balasescu
37e9c2a683
Merge branch 'master' into user-list-toolbar 2020-02-26 10:11:21 +09:00
Andrei Zavatski
c1455be855 Add tests 2020-02-25 10:29:03 +03:00
Andrei Zavatski
d8413c558b Use fully qualified name for enum item description in CommentsHeader 2020-02-24 23:41:34 +03:00
Bartłomiej Dach
4cbb2a2f59 Move comment to more pertinent place 2020-02-24 21:30:27 +01:00
Andrei Zavatski
fe1f2858c1 Refactor to avoid duplicated code 2020-02-24 23:10:37 +03:00
Andrei Zavatski
b0b52146ea Fix crash when clicking on ShowMore button 2020-02-24 05:53:33 +03:00
Andrei Zavatski
0cfe1ac823 Implement UserSortTabControl component 2020-02-24 05:47:21 +03:00
smoogipoo
7fd71d9b6c Adjust conditional 2020-02-21 19:50:16 +09:00
smoogipoo
4c083e0e7e Add back orphaning as a fail-safe 2020-02-21 19:41:25 +09:00
smoogipoo
05ff4de944 Remove the concept of orphaning and refactor 2020-02-21 19:30:51 +09:00
smoogipoo
4c3468f40e Reorder file 2020-02-21 19:30:45 +09:00
smoogipoo
4fd420e61d Rename method 2020-02-21 19:30:39 +09:00
smoogipoo
a7b5117d88 Fix attempting to add parent comments twice 2020-02-21 19:30:33 +09:00
smoogipoo
1cd84754c8 Add back parent-child linking 2020-02-21 19:27:32 +09:00
smoogipoo
db78b95228 Remove duplicated api request 2020-02-21 19:27:25 +09:00
smoogipoo
41c6d2f2e7 Merge remote-tracking branch 'origin/master' into subcomments-alter-new 2020-02-21 17:02:58 +09:00
smoogipoo
37e295e4be Refactor orphaning to better follow osu-web specification 2020-02-21 17:02:48 +09:00
smoogipoo
5acaf9b371 Privatise setter 2020-02-21 12:33:49 +09:00
smoogipoo
2cb218c9c4 Merge remote-tracking branch 'origin/master' into comment-editor 2020-02-21 12:27:34 +09:00
Andrei Zavatski
c7d64d0015 Update BindableList usage in DrawableComment 2020-02-18 13:37:59 +03:00
Andrei Zavatski
3bf3becdd6 Merge remote-tracking branch 'refs/remotes/ppy/master' into subcomments-alter-new 2020-02-18 13:27:08 +03:00
Andrei Zavatski
a9f366fda3 Implement OverlaySortTabControl component 2020-02-17 02:20:53 +03:00
Bartłomiej Dach
0f25864fae Textbox -> TextBox rename pass 2020-02-13 21:04:53 +01:00
Andrei Zavatski
b1b2e4a041 Simplify parent comment assignment 2020-02-13 04:50:04 +03:00
Andrei Zavatski
c391a464a5 Add tests 2020-02-13 04:06:34 +03:00
Andrei Zavatski
483bbac6fd Simplify CommentsPage.onCommentRepliesReceived 2020-02-13 03:13:56 +03:00
Andrei Zavatski
b0db155565 Make replies addition more consistent 2020-02-13 02:47:13 +03:00
Andrei Zavatski
c6f8e157fd Make loadedReplies dictionary private 2020-02-13 02:37:41 +03:00
Andrei Zavatski
5201c1c87b Use new algorithm for comments tree creation 2020-02-13 02:21:13 +03:00
Andrei Zavatski
e2b3494352 Remove dependency on load state for DrawableComment.AddReplies 2020-02-13 00:19:21 +03:00
Andrei Zavatski
62051c036b Small CommitButton improvements 2020-02-12 13:43:56 +03:00
Andrei Zavatski
ab7adb3a97 Adjust button colours 2020-02-12 13:28:49 +03:00