Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Keyboard navigation for conversations list #14764

Merged
merged 4 commits into from
Apr 13, 2023

Conversation

przemvs
Copy link
Contributor

@przemvs przemvs commented Mar 1, 2023

Fix for switching conversation list when we get out from conversation list.
Prev: If we select context menu and click outside or use tab || shift + tab we going back to previous selected conversation.
Now: If we select context menu and click outside or use tab || shift + tab we selecting first conversation ( on top )

@codecov
Copy link

codecov bot commented Mar 2, 2023

Codecov Report

Merging #14764 (6d8952c) into dev (bb2a116) will increase coverage by 0.00%.
The diff coverage is 46.66%.

@@           Coverage Diff           @@
##              dev   #14764   +/-   ##
=======================================
  Coverage   42.86%   42.86%           
=======================================
  Files         621      621           
  Lines       21210    21219    +9     
  Branches     4867     4869    +2     
=======================================
+ Hits         9091     9096    +5     
- Misses      10963    10966    +3     
- Partials     1156     1157    +1     

@@ -55,6 +55,7 @@ export interface ConversationListCellProps {
showJoinButton: boolean;
handleArrowKeyDown: (e: React.KeyboardEvent) => void;
isFocused?: boolean;
setDefaultFocus: () => void;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you document what this function is supposed to do. It's not quite clear for the code itself

@przemvs przemvs requested a review from atomrc March 7, 2023 05:41
@przemvs przemvs merged commit 0844663 into dev Apr 13, 2023
@przemvs przemvs deleted the fix/keyboard-navigation-for-conversation-list branch April 13, 2023 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants