dfea42fd16
Add space after username mention
2023-01-17 14:13:50 -08:00
254c881ded
Also check null for bindable channel value
2023-01-17 14:12:48 -08:00
97bd76efc6
Add ability to easily mention users in chat by right clicking username
2023-01-17 10:01:07 -08:00
07dae7dc21
Merge branch 'master' into overlay-panels-context-menu
2023-01-09 19:04:56 +09:00
f6b1dfc7b0
Fix channel listing items overflowing at high ui scaling
2023-01-08 13:27:10 -08:00
c326745f96
Save / sync chat text box messages per channel
2022-12-28 16:09:40 -08:00
b9dfb8b602
Add localisation for context menu strings
2022-12-25 10:12:02 -08:00
2c2f347e25
Add context menus to overlay panels/cards
2022-12-25 09:57:42 -08:00
0f34d908c7
Use LocalisableString
s for date and time formats
2022-12-16 00:05:47 +01:00
15bd82add8
Fix DrawableUsername being affected
2022-12-12 18:24:49 +03:00
f7b7b58718
Adjust colour and tween to feel better
2022-11-30 16:20:01 +09:00
24ee363563
Only hover when hovering actual text
2022-11-30 16:18:36 +09:00
80b0e4a99d
Rename Colour
to avoid conflict with Drawable.Colour
2022-11-30 16:15:50 +09:00
7fca5ee28d
Move DrawableUsername
into own file
...
It's too large at this point to be a nested class.
2022-11-30 16:15:50 +09:00
8ec4dd046e
Fix InspectCode errors
2022-11-28 18:06:44 -08:00
0cb7c94c21
Merge branch 'master' of https://github.com/ppy/osu into chat-profile-highlight-v2
2022-11-28 17:59:15 -08:00
c2d8ffc225
Refactor ChatLine
username drawable creation
2022-11-28 17:50:12 -08:00
7bc8908ca9
Partial everything
2022-11-27 00:00:27 +09:00
2f67199b1c
Merge branch 'master' into fix-missing-day-separator
2022-11-23 18:40:44 +01:00
5467097387
Fix adjacent day separators potentially being left behind after pending message resolution
2022-11-23 18:49:51 +09:00
76bb529cfa
Add test for local echo adding day separator
2022-11-22 16:46:21 +01:00
a2b505f4c0
Use a direct Lighten
instead of >1f Color4 values
2022-11-22 00:31:22 -08:00
4084a2b066
Highlight ChatLine
username on hover
2022-11-21 18:57:59 -08:00
e53b4321ff
Ensure two day separators are not added in a row
2022-11-21 14:01:10 +09:00
fa7b45dfb1
Fix chat day separator not being added on pending message resolution
...
Closes #21316 .
2022-11-21 13:52:14 +09:00
3d4962e181
Added functioning tests.
2022-11-17 13:07:06 +01:00
6d83af01e2
Moved and renamed MessageHistoryTextBox.cs for better fit.
2022-11-17 13:07:06 +01:00
b9590320b7
Moved implementation to ChatRecentTextBox.cs and derived ChatTextBox.cs and StandAloneChatDisplay.cs from it.
2022-11-17 13:07:06 +01:00
a1af663682
Implemented previous messages lookup in the ChatTextBox.cs
2022-11-17 13:07:06 +01:00
76df61504f
Remove unnecessary timestamp update
...
Co-authored-by: Dean Herbert <pe@ppy.sh >
2022-11-06 19:45:59 -08:00
61ec0ba566
Make chat line timestamp adjust to 24-hour time setting
2022-11-06 19:28:01 -08:00
b977fc8181
Use autosize instead of max width on fixed width timestamps
2022-11-06 19:28:01 -08:00
a215d009fe
Update Remove
/RemoveRange
/RemoveAll
calls in line with framework changes
2022-08-29 15:57:40 +09:00
6a0d23cf96
Nest dialog class and apply NRT
2022-08-24 17:39:22 +09:00
9f9deef438
Reword slightly
2022-08-24 17:37:41 +09:00
9ee26c575d
Made button blue
2022-08-24 04:04:44 -04:00
b24513038c
Add popupdialog button to copy url
2022-08-24 03:35:19 -04:00
34ffc51c51
Avoid clearing chat overlay textbox when pressing "back" key binding
...
Generally this is expected behaviour for usages of focused text boxes
(ie. to clear search content), but not so much here.
Addresses https://github.com/ppy/osu/discussions/19403#discussioncomment-3230395 .
2022-08-02 13:56:03 +09:00
b33f8aa0fc
Fix "Start Chat" on multiplayer/playlist chat not opening overlay
2022-07-18 06:45:00 +03:00
26c5b59f6d
Replace usages of string.To{Lower,Upper}()
2022-06-24 11:57:45 +02:00
f8830c6850
Automated #nullable processing
2022-06-17 16:37:17 +09:00
c2ed41d097
Remove CanBeNull
specification from DI attributes
2022-06-08 15:10:19 +01:00
04b434b8ce
Update ChatLine
timestamp and message colours
2022-06-08 14:04:01 +01:00
dfa31df2af
Use #nullable enable
in ChatLine
2022-06-08 14:04:01 +01:00
2f635fa854
Refactor ChatLine
and fix DrawableChannel
flow padding
...
Refactors `ChatLine` component to use more sensible override properties
and layout using grid container. Moves creation of username component
into its own method to simplify BDL.
Updates padding of base `DrawableChannel` flow padding.
Removes usage of `ChatOverlayDrawableChannel` since it's overrides are
no longer needed.
Updates usage of `StandAloneChatDisplay` to use new override properties
of `DrawableChannel`.
2022-06-07 22:35:45 +01:00
c0aaeff2b3
Update DaySeparator
to use new design throughout
...
Moves `DaySeparator` chat component to it's own file and update it to
match new chat design. Makes use of several virtual attributes that can
be overridden to update spacing and layout in other usage contexts.
Remove redundant usage of `ChatOverlayDaySeparator`, since the new
design is now part of the base class.
Create `StandAloneDaySeparator` to use in `StandAloneChatDisplay` which
overrides attributes to match correct spacing and layout for its design.
Ensure that `DrawableChannel.CreateDaySeparator` returns type of
`DaySeparator` instead of `Drawable`.
2022-06-04 18:02:14 +01:00
2878bb592f
Use more appropriate sounds for certain components
2022-06-03 22:32:12 +09:00
9e678101cf
Merge pull request #18442 from jai-x/new-chat-announce-channel
...
Display Announce type channels separately in new chat overlay
2022-05-30 16:53:15 +09:00
8f596520f3
Remove old chat overlay components
2022-05-29 20:08:43 +01:00
e329c160b3
Simplify channel retrieval expression
2022-05-29 18:58:27 +02:00