Add hover styles to channels matching the current selection
Fix chat desync from moving / linking channels
This commit is contained in:
parent
d5f0ce0e20
commit
ac65e7590c
8 changed files with 284 additions and 94 deletions
|
@ -86,7 +86,7 @@ impl RandomizedTest for RandomChannelBufferTest {
|
|||
match rng.gen_range(0..100_u32) {
|
||||
0..=29 => {
|
||||
let channel_name = client.channel_store().read_with(cx, |store, cx| {
|
||||
store.channels().find_map(|(_, channel)| {
|
||||
store.channel_dag_entries().find_map(|(_, channel)| {
|
||||
if store.has_open_channel_buffer(channel.id, cx) {
|
||||
None
|
||||
} else {
|
||||
|
@ -133,7 +133,7 @@ impl RandomizedTest for RandomChannelBufferTest {
|
|||
ChannelBufferOperation::JoinChannelNotes { channel_name } => {
|
||||
let buffer = client.channel_store().update(cx, |store, cx| {
|
||||
let channel_id = store
|
||||
.channels()
|
||||
.channel_dag_entries()
|
||||
.find(|(_, c)| c.name == channel_name)
|
||||
.unwrap()
|
||||
.1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue