You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix Conversation Controls and Search Function (#2198)
* Fix 'Search in Conversation' for new design
* Fix conversation controls (archive, delete)
The search in conversation functionality requires the right sidebar to be open.
The method to select the search button is simplified to just the last button.
@@ -621,27 +602,53 @@ async function openMuteModal(): Promise<void> {
621
602
}
622
603
623
604
/*
624
-
This function assumes:
605
+
These functions assume:
625
606
- There is a selected conversation.
626
607
- That the conversation already has its conversation menu open.
627
608
628
609
In other words, you should only use this function within a callback that is provided to `withConversationMenu()`, because `withConversationMenu()` makes sure to have the conversation menu open before executing the callback and closes the conversation menu afterwards.
Copy file name to clipboardExpand all lines: source/browser/selectors.ts
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -8,15 +8,15 @@ export default {
8
8
conversationSidebarTextSelector: '[class="x1lliihq x193iq5w x6ikm8r x10wlt62 xlyipyv xuxw1ft"]',// Generic selector for the text contents of all conversations
9
9
conversationSidebarSelector: '[class="x9f619 x1n2onr6 x1ja2u2z x78zum5 x2lah0s x1qughib x6s0dn4 xozqiw3 x1q0g3np"]',// Selector for the top level element of a single conversation (children contain text content of the conversation and conversation image)
rightSidebarButtons: '.x9f619.x1ja2u2z.x78zum5.x2lah0s.x1n2onr6.xl56j7k.x1qjc9v5.xozqiw3.x1q0g3np.xn6708d.x1ye3gou.x1cnzs8.xdj266r.x11i5rnm.xat24cr.x1mh8g0r > div [role=button]',
0 commit comments