Commit Graph

471 Commits

Author SHA1 Message Date
fca6b15d2f Fix local echo messages remaining permanently dimmed when chatting via multiplayer 2021-01-22 16:05:45 +09:00
0b42b4b955 Rename {Drawable -> Clickable}Avatar 2020-12-26 14:35:11 +01:00
d096f2f8f6 Fix potential cross-thread operation during chat channel load
The callbacks are scheduled to the API thread, but hooked up in BDL
load. This causes a potential case of cross-thread collection
enumeration.

I've tested and it seems like the schedule logic should be fine for
short term. Longer term, we probably want to re-think how this works so
background operations aren't performed on the `DrawableChannel` in the
first place (chat shouldn't have an overhead like this when not
visible).

Closes #11231.
2020-12-21 16:39:50 +09:00
4c1e75f101 Small whitespace fix 2020-12-12 18:02:08 -06:00
3dd6589d6e Fixed style changes and cleaned up ctrl + t implementation 2020-12-12 15:53:08 -08:00
2ad7e6ca88 Fix hovered channel tabs color when unselected 2020-09-17 19:10:58 -07:00
942276d88f Remove outdated SearchableList classes 2020-09-03 16:34:58 +09:00
96724bde32 Fix chat name backgrounds not dimming 2020-07-16 15:05:01 +09:00
c79d8a4251 Update ChannelTabControl in line with TabControl changes 2020-06-16 00:18:09 +09:00
f3b5149648 Move some suggestions to warnings, resolve issues 2020-06-03 16:48:44 +09:00
c73d45bc01 Reduce initial channel load overhead by only loading history on active channel 2020-04-29 15:23:28 +09:00
1b6342438f Hide scrollbars in tournament chat display 2020-03-23 12:05:16 +09:00
acd280c855 Add System channel type and use it for the ChannelSelectorTab 2020-03-15 22:13:26 +01:00
8991e88039 Fix active tab closing behaviour 2020-03-13 18:34:51 +01:00
097bd37e37 Fix SelectorTab crashing tests after a reload
For some reason, the default channel type (Public) caused the channel manager to attempt to connect to an API, which was null at that time, after hot reloading the test environment (via dynamic compilation). Changing the channel type seems to fix that.
2020-03-13 18:34:51 +01:00
ed837d3115 Use framework extension method for FromHex 2020-03-11 10:18:41 +09:00
2fb640f57f Change to until step + fix CI error 2020-01-30 15:00:39 +09:00
ce36e5458f Fix possible crash with no channel topic 2020-01-30 14:35:03 +09:00
d2a032ca8d Move reverse-order comparer to ChannelTabControl 2020-01-25 22:16:21 +01:00
bfb056c612 Apply input method signature refactorings 2020-01-20 18:17:21 +09:00
1681e16738 Rework ChannelTabControl's AddChannel method to not auto select and let ChatOverlay handle this 2020-01-19 18:20:42 +01:00
5f96940b7d Remove unused injection 2020-01-19 17:56:01 +01:00
32c2023517 Remove refactor in DrawableChannel 2020-01-19 17:20:54 +01:00
8a9c90c5e6 Resolve CA errors #2 2020-01-18 16:18:17 +01:00
8ddd36596e Revert useless changes varying from properties, naming changes etc. 2020-01-18 15:40:55 +01:00
bc6f71fe97 Preserve current channel if ChatOverlay is being loaded in 2020-01-18 15:27:55 +01:00
1b53c0ff74 Remove populated property, and other changes 2020-01-16 23:15:30 +01:00
d01cc37968 Fix channel tab control test scene 2020-01-16 18:36:27 +09:00
0d812bce9f WIP changes for code review 2019-12-26 03:32:40 +01:00
02f9fc89f6 Merge branch 'master' into chat-mention 2019-12-17 06:59:49 +01:00
b6c31e7764 Remove ignore list, move code to MessageNotifier and add it to DI
This also adds countable private message notifications.
2019-12-17 06:59:27 +01:00
1a1253a4aa Add null check to ScrollToAndHighlightMessage 2019-12-16 03:27:19 +01:00
997b51b1f8 Make messageRemoved use helper method 2019-12-16 03:26:30 +01:00
0225372e83 Rename method to ScrollToAndHighlightMessage 2019-12-16 03:24:07 +01:00
eb3f851ce2 Split Notification class into three separate ones 2019-12-16 03:22:55 +01:00
8b14090c95 Remove unused field 2019-12-16 02:13:26 +01:00
20670730b9 Resolve code formatting 2019-12-16 01:57:07 +01:00
15c25c571d Merge remote-tracking branch 'upstream/master' into chat-mention 2019-12-16 00:59:06 +01:00
8dfc8929f1 Add chat and notification logic to DrawableChannel
with alongside multiple helper methods
2019-12-16 00:48:22 +01:00
5af363c920 Use default placeholder text on chat channel search box 2019-12-14 12:58:13 -08:00
c0fe91a84c Merge branch 'master' into sharpen 2019-11-26 18:21:50 +08:00
45514ff660 Apply fixes 2019-11-25 11:30:55 +09:00
818553027b Merge branch 'master' into sharpen 2019-11-21 23:42:46 +08:00
6cab517b2d .NET Standard 2.1 implements Math.Clamp , use it instead of MathHelper.Clamp from osuTK. 2019-11-20 13:37:47 +01:00
42a98c5d87 Use constants. 2019-11-12 20:07:01 +08:00
bbeab6fa76 Use auto property. 2019-11-12 19:53:25 +08:00
54befb6f8f Remove adjacent day separators 2019-10-29 15:45:41 +09:00
b06e70e546 Add failing test showing issue with day separator logic 2019-10-29 15:27:08 +09:00
09a6d1184a Tidy up order of scroll changes 2019-10-29 14:33:05 +09:00
d1c6e3f620 Add test for scroll to end when max history is exceeded 2019-10-29 14:32:52 +09:00