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

fix(tabs): Make nested tabs work #1362

Closed

Conversation

chrisirhc
Copy link
Contributor

Add tests for nested tabs. Revert ability to set direction of tabs.

Reverts #659 and Closes #783

@bekos
Copy link
Contributor

bekos commented Dec 6, 2013

Sorry to bring this up here, but from my understanding the problem was introduced when orientation option was added. Since BS3 has dropped this functionality, is it probably better for us to just revert 220e7b6 and save ourselves from all these problems, since we will not be able to support two different code bases for bs2 and bs3?

@chrisirhc
Copy link
Contributor Author

I wasn't aware that it was dropped. I guess reverting that change and dropping the option is a good idea too. @pkozlowski-opensource mentioned that there could still be a maintenance branch for 0.7.0 for those sticking to BS2.
Either way, the current state of master is trouble as it doesn't support nested tabs.

@chrisirhc
Copy link
Contributor Author

Oh yes, if we decide that this option should be dropped, I still suggest that these tests should be added. I can rename the pull request to "chore(tabs): Add tests for nested tabs".

@pkozlowski-opensource
Copy link
Member

+1 for dropping support for directions and adding tests for nested tabs. I've got tests ready somewhere, need to dig them out...

@chrisirhc
Copy link
Contributor Author

I have included some tests in this pull request. I can reformat this request to contain only tests.

@bekos
Copy link
Contributor

bekos commented Dec 6, 2013

Agree that these tests are valuable.

This reverts commit 220e7b6.

Revert the capability to set the tab direction. This is no longer a
feature in Bootstrap 3 and breaks nested tabs.

Closes angular-ui#783
Relates to angular-ui#659
@chrisirhc
Copy link
Contributor Author

@pkozlowski-opensource this is ready for review/merge.

@bekos
Copy link
Contributor

bekos commented Dec 14, 2013

@chrisirhc LGTM
@pkozlowski-opensource's Any thoughts? Shall we merge this now, given that 0.7 was probably the last BS2 release, or wait?

@pkozlowski-opensource
Copy link
Member

@chrisirhc Awesome stuff! Your commits just landed in master. Thnx for the great work.

@chrisirhc chrisirhc deleted the feature/fix-nested-tabs branch December 23, 2013 11:22
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.

Dynamic list of tabsets in 0.5.0
3 participants