Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Add close tab settings #6553

Closed
bbondy opened this issue Jan 6, 2017 · 8 comments
Closed

Add close tab settings #6553

bbondy opened this issue Jan 6, 2017 · 8 comments

Comments

@bbondy
Copy link
Member

bbondy commented Jan 6, 2017

It would be nice to provide options for what to do when a tab is closed. Currently we will return to the parent tab first, and if no parent go to the next.

Cross posting from community.brave.com:

Normally these are the possibilities when we close an active tab.

1.Activate the last active tab
The default setting returns focus to the most recently used tab
2.Activate the next tab
This setting returns focus to the next tab on the tab bar
3.Activate first tab 
But I don't see a preference setting like these in the "Tab Setting" section. This would be a nice addition.

Reference:
https://community.brave.com/t/tab-focus-when-an-active-tab-is-closed-if-there-are-multiple-tabs-open/540

@NejcZdovc
Copy link
Contributor

@bbondy can I tackle this issue?

NejcZdovc added a commit to NejcZdovc/browser-laptop that referenced this issue Jan 7, 2017
Resolves brave#6553

Auditors: @bbondy @bsclifton

Test Plan:
- Go to Preferences and set desired action
- Close tab
- New active tab should opened as defined in preferences
@NejcZdovc NejcZdovc mentioned this issue Jan 7, 2017
4 tasks
@luixxiul
Copy link
Contributor

luixxiul commented Jan 8, 2017

There are other options to be added later: #2137

@NejcZdovc
Copy link
Contributor

NejcZdovc commented Jan 8, 2017

 @luixxiul Do you think that they should be part of this PR? I can add them is separate PR's. Or are you talking about close tab options directly, I didn't find anything related to them?

@luixxiul
Copy link
Contributor

luixxiul commented Jan 8, 2017

@NejcZdovc No I don't think so, I just related them for references ;-)

@luixxiul
Copy link
Contributor

luixxiul commented Jan 8, 2017

Oh, this PR (#6573) implements the setting of closing tabs, while in #2137 the setting of opening new tabs is suggested. If this function can be implemented in a similar way, I think you're the proper person to implement it 👍 if you don't mind. @NejcZdovc

If you will add it, I could help designing the tab settings panel to close #2137 before 1.0 :D

@NejcZdovc
Copy link
Contributor

Sure will implement after this closing tab PR.

NejcZdovc added a commit to NejcZdovc/browser-laptop that referenced this issue Jan 8, 2017
Resolves brave#6553

Auditors: @bbondy @bsclifton

Test Plan:
- Go to Preferences and set desired action
- Close tab
- New active tab should opened as defined in preferences
@NejcZdovc NejcZdovc self-assigned this Jan 9, 2017
bsclifton pushed a commit to NejcZdovc/browser-laptop that referenced this issue Jan 23, 2017
Resolves brave#6553

Auditors: @bbondy @bsclifton

Test Plan:
- Go to Preferences and set desired action
- Close tab
- New active tab should opened as defined in preferences
@bsclifton bsclifton added this to the 0.13.1 milestone Jan 23, 2017
NejcZdovc added a commit to NejcZdovc/browser-laptop that referenced this issue Jan 23, 2017
Resolves brave#6553

Auditors: @bbondy @bsclifton

Test Plan:
- Go to Preferences and set desired action
- Close tab
- New active tab should opened as defined in preferences
NejcZdovc added a commit to NejcZdovc/browser-laptop that referenced this issue Jan 23, 2017
Resolves brave#6553

Auditors: @bbondy @bsclifton

Test Plan:
- Go to Preferences and set desired action
- Close tab
- New active tab should opened as defined in preferences
NejcZdovc added a commit to NejcZdovc/browser-laptop that referenced this issue Jan 23, 2017
Resolves brave#6553

Auditors: @bbondy @bsclifton

Test Plan:
- Go to Preferences and set desired action
- Close tab
- New active tab should opened as defined in preferences
bsclifton added a commit that referenced this issue Jan 23, 2017
@luixxiul
Copy link
Contributor

#6573 was merged into 0.13.1-branch.

bsclifton pushed a commit that referenced this issue Jan 23, 2017
Resolves #6553

Auditors: @bbondy @bsclifton

Test Plan:
- Go to Preferences and set desired action
- Close tab
- New active tab should opened as defined in preferences
bsclifton pushed a commit that referenced this issue Jan 24, 2017
Resolves #6553

Auditors: @bbondy @bsclifton

Test Plan:
- Go to Preferences and set desired action
- Close tab
- New active tab should opened as defined in preferences
ayumi pushed a commit that referenced this issue Jan 24, 2017
Resolves #6553

Auditors: @bbondy @bsclifton

Test Plan:
- Go to Preferences and set desired action
- Close tab
- New active tab should opened as defined in preferences
ayumi pushed a commit that referenced this issue Jan 24, 2017
Resolves #6553

Auditors: @bbondy @bsclifton

Test Plan:
- Go to Preferences and set desired action
- Close tab
- New active tab should opened as defined in preferences
bsclifton pushed a commit that referenced this issue Jan 25, 2017
Resolves #6553

Auditors: @bbondy @bsclifton

Test Plan:
- Go to Preferences and set desired action
- Close tab
- New active tab should opened as defined in preferences
bsclifton pushed a commit that referenced this issue Jan 25, 2017
Resolves #6553

Auditors: @bbondy @bsclifton

Test Plan:
- Go to Preferences and set desired action
- Close tab
- New active tab should opened as defined in preferences
ayumi pushed a commit that referenced this issue Jan 25, 2017
Resolves #6553

Auditors: @bbondy @bsclifton

Test Plan:
- Go to Preferences and set desired action
- Close tab
- New active tab should opened as defined in preferences
ayumi pushed a commit that referenced this issue Jan 25, 2017
Resolves #6553

Auditors: @bbondy @bsclifton

Test Plan:
- Go to Preferences and set desired action
- Close tab
- New active tab should opened as defined in preferences
bsclifton pushed a commit that referenced this issue Jan 26, 2017
Resolves #6553

Auditors: @bbondy @bsclifton

Test Plan:
- Go to Preferences and set desired action
- Close tab
- New active tab should opened as defined in preferences
@luixxiul
Copy link
Contributor

luixxiul commented Feb 4, 2017

It works perfectly! I like it :-D

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.