Skip to content
This repository has been archived by the owner on Sep 5, 2020. It is now read-only.

[UX] Adds shortcuts to select tabs: Cmd + [1-9] #1454

Merged
merged 7 commits into from
Nov 28, 2016

Conversation

evertonfraga
Copy link
Member

Simple like that. The absence of those shortcuts was sort of bugging me.

@mention-bot
Copy link

@evertonfraga, thanks for your PR! By analyzing the history of the files in this pull request, we identified @frozeman, @luclu and @hiddentao to be potential reviewers.

@evertonfraga evertonfraga self-assigned this Nov 23, 2016
@evertonfraga evertonfraga mentioned this pull request Nov 23, 2016
15 tasks
@evertonfraga evertonfraga changed the title Adds shortcuts to select tabs: Cmd + [1-9] [UI] Adds shortcuts to select tabs: Cmd + [1-9] Nov 24, 2016
@evertonfraga evertonfraga changed the title [UI] Adds shortcuts to select tabs: Cmd + [1-9] [UX] Adds shortcuts to select tabs: Cmd + [1-9] Nov 24, 2016
@frozeman
Copy link
Contributor

I think this code is better part of the sideBar.js Can you please move it over?

@evertonfraga
Copy link
Member Author

@frozeman yes, great suggestion. I've moved to sidebar and extracted the two methods to Helpers.

@alexvandesande
Copy link
Collaborator

It's not working for me. Actually, it's not even invoking the 'document keydown' event, I tested and it won't even do a console.log

Also, why is command+9 a shortcut to the last tab? And while you're at it, make ctrl+tab (on mac) the "go to next tab" button as it is currently on both safari and chrome

@frozeman
Copy link
Contributor

So on mac super+number is the tab number, and ctrl + tab is next tab.

@evertonfraga can you please check why its not working for alex and also add the next tab ctrl + tab ?

@evertonfraga
Copy link
Member Author

Sure, checking out.

@evertonfraga
Copy link
Member Author

Oh, I get why it isn't working now. As I was refactoring, using auto-reload, it kept all the key bindings from previous delegations, when they were on mistUI. It's not working indeed @alexvandesande.

@alexvandesande alexvandesande merged commit f53b95c into develop Nov 28, 2016
@evertonfraga evertonfraga modified the milestone: 0.8.8 Dec 5, 2016
@frozeman frozeman deleted the ev_ux_tab_shortcuts branch December 6, 2016 15:05
@lock
Copy link

lock bot commented Mar 31, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked and limited conversation to collaborators Mar 31, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants