vue-aui icon indicating copy to clipboard operation
vue-aui copied to clipboard

Improvements and bugs fixed in Tabs component

Open guvial opened this issue 7 years ago • 7 comments

Hi, Thanks again for your great work on this lib. I have used the Tabs component in my project and I faced many issues and limitations using it (mostly reactivity issues). I wanted to share with the community my improvements / bugs fixed. I hope that you will like it. Thanks in advance for your code review. Cheers, Guillaume

guvial avatar Dec 09 '18 12:12 guvial

I'm happy it helps you :)

Nice work, I'll add my comments in the review itself...

damienix avatar Dec 12 '18 22:12 damienix

Thanks a lot for your review, very useful. I have tried to fix all issues in my last commit. Let me know if everything is now ok for merging. I am also relatively new to github forking and pull requests. I hope that I have done things the right way. Have a nice day and I wish you a very good 2019 year! ;-) Cheers, Guillaume

guvial avatar Dec 27 '18 15:12 guvial

Hi Damien, I hope that I find you well. Could you find some time to review my updated pull request? Thanks in advance for your feedbacks, Cheers, Guillaume

guvial avatar Jan 30 '19 16:01 guvial

Hi, sorry for the silence. I didn't have too much spare time recently, but still keeping this PR on my todo list. I'll do my best to review this during this weekend.

damienix avatar Feb 01 '19 22:02 damienix

Hi @guvial. To speed things up I've added my changes on top or yours. In summary:

  • I reverted dist files that you have removed - they need to be in the repo, they are just commited on a release
  • I've reworked tab selection to work based on the reactive syncable property rather than imperative function call
  • I've reworked internals to "be more reactive"
  • Fixed a bug when tab selection wouldn't update properly when the same amount were added and removed at the same time

Please let me know if I this version works properly for your case - I did a lot of changes so I might have introduced some new bugs. I've pushed the code here https://github.com/spartez/vue-aui/tree/pr-38-tabs-fixes.

damienix avatar Feb 03 '19 17:02 damienix

Hi, any chance to get this merged?

Mihailoff avatar Aug 21 '19 20:08 Mihailoff

I'm sorry but I'm no longer with the company nor have access to the repository. You need to find another maintainer from Spartez :(

damienix avatar Aug 21 '19 20:08 damienix