-
Notifications
You must be signed in to change notification settings - Fork 73
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
About porting to webExtension #535
Comments
There's already some things about that in #534, probably a good start for anyone who'd like to give it a shot. |
I'm seriously considering about taking up this project or restarting from scratch and using this as a reference. I only use Firefox for two reasons- Tab-Groups and the tabs-scrolling-than-bunching when there are a lot of 'em. You may not use it outside of coding but it's my bread and butter in how I use Firefox. I have over 60ish tabs and they need to be organized. XD I'm going to start looking into how feasible it is to do this. |
Don't know where to post this so i'll post it in both bugs: @Quicksaver Are you aware of: Extend WebExtensions with custom APIs so more legacy add-ons can be ported ? |
@Quicksaver @maverick74 @maximstewart @StyMaar Some Good documentations even a working (but buggy) addon exist for Chrome with Full Documentation: Original add-on in Alpha stage: https://github.com/arnaud/chrome-tab-sugar 2 Others Fork more advanced and less buggy so they are usable:
COMPLETE documentation about the internal of the addon: https://github.com/arnaud/chrome-tab-sugar/wiki/Interactions Discussion where the original author of the addon and the "forkers" discussed of the development of the addon: arnaud/chrome-tab-sugar#18 I hope it could help to revive the project ! 😺 Regards |
@mikhoul I have to install it on my own, right? The version at the google chrome store is not the current version? |
@Chris2011 Yes, the version in the store is the first Alpha Version which is "buggy" a little bit 🙄 If you want to try those addon in Chrome, you must build a CRX file (addon file) first to be able to install it and use it, but it's easy to do. 1- choose which one you wanna try between the 2 forks:
2- Go on the page where is the fork and Download the whole project, it is a zip file: http://i.imgur.com/jDGbNc4.png 3- Once you have the whole project on your computer just rename the Archive from MyAddon.zip to MyAddon.CRX and you have the addon. 😸 4- To install it in Chrome it's easy too, just follow those instructions: http://chrome-extension-downloader.com/#install That's it ! |
Thx, I will try. A release would be good anyway for all others and maybe a version 2 or so, to bring it into the chrome store. |
I hope the chrome versions can have some development activity. I switch between firefox and chrome frequently and I'm constantly disappointed at how all of the chrome tab managers are basically glorified bookmark organizers (mainly how if a tab isn't visible, it means the extension closed it and just saved the url). |
I don't know if I'm late or off topic (if that's the case, please don't mind) but has anyone seen the firefox container? https://testpilot.firefox.com/experiments/containers . Seem like the groups will come back. |
@Nerothos Not sure what you mean. I've already used Containers and I'm not sure its implementation helps at all with restoring functionality to Tab Groups. |
@Nerothos I agree with you that the concepts of Tab Grouping and Containers would fit quite well together at least in my use cases. @mechalynx Containers will not help at restoring Tab Groups per se, but they are yet another motivation for Tab Group not to die :) |
@klint Perhaps something can be built on top of containers? The only difference between containers and what I need for my use case is having one container "selected", causing all other tabs to be invisible (but still loaded in memory and running). It seems like containers already accomplishes much of the nitty gritty of tab groups by handling container membership and a bonus of isolation. If it's possible to manipulate containers with an extension, my vote would be to do it that way. I still have it in muscle memory to press ctrl + shift + e so I'd love to be able to be able to return to that workflow of pressing that shortcut and using arrows and enter to switch groups. |
I was just wondering if container could "replace" TabGroups. I didn't had time to test it so I don't know what features are missing. Sorry if my comment was not useful. |
@Nerothos Like in my previous comment, the only thing I think containers is missing is the ability to hide other tabs. I haven't tried containers recently, but last time I checked, it still showed all the tabs in the tab bar. I think it's really close though. |
@stephen304 I just tried Containers Experiment 2.0.0, and it's possible to show/hide all tabs from a container. |
See https://discourse.mozilla-community.org/c/test-pilot/containers to discuss Containers, especially this post: |
Which leads to mozilla/multi-account-containers#336 |
Time to send your 👍 and spread the word. |
New bug to follow closely |
Upvote this: mozilla/multi-account-containers#336 |
please if anyone starts a new repo to make tab groups with webextensions, link it here. |
Any new news about this? |
In the process of figuring out a different issue, I came across these bugs:
There is explicit mention of Tab Groups in the first one. It seems to be a different extension, but the second bug seems explicitly involved with creating tab groups under WebExtensions. Related comments:
I haven't read the full details on each of these - apologies if it's a false positive. |
Here.s a WebExt that can be used as replacement of TabsGroups, maybe I will fork it to Firefox and improve it at a later time but it is usable. https://chrome.google.com/webstore/detail/divider-tabs/mpbblhoepkmpgalgppdoahgeoknmjgpc/reviews |
Make it work on firefox and you're a hero ! |
Not bad. It doesn't look like it quite supports the same workflow, and leaves things cluttered still, but the alternative is far worse. Also, it would be ideal for any replacement to be able to import existing groups. |
@mikhoul Too bad, it doesn't work when divider tabs are pinned. |
Divider Tabs 2.0 (2014-10-07):
I can't imagine it as a successor to Tab Groups. Sorry. |
I have yet to find a Chrome tab manager that works anything like FF's Pandora/TabGroups functionality - even #535 (comment) doesn't really seem to do so. This extension really is the prime differentiator for Firefox. Sad to FF going this way, and enables really good tab management and workflows:
|
OK, as updates go, I have nothing too new. The big thing is I am getting very comfortable with creating plug-ins.I've created 3 or so minor things but each affects tabs and the way I use them. Anywho, one interesting thought came to mind. That is the idea that one need not hide tabs to get a working groups system. While having the bar filled with tabs is unsightly, there can be a system that is separate from that by way of the browser_action window. One would just need to get used to using that and ignore for the time being the tabs bar. At this point, I have that minor example in the previous post. With the knowledge I have gained through creating the other plug-ins, I think I am ready to start tackling the task of generating something actually useful and working. I must once more re-iterate that I do not guarantee progress but I have been lucky so far in the amount of time I have had to consider this. The next post will either be one of progress or admittance of defeat. Wish me luck. =] |
@Drive4ik Not really. I'm going for the approximate grid style as the original tab groups. A list doesn't give me the info I need since I'm more top down and visual grid oriented kinda person. The option you showed is great but not what I want and need. I'm so glad I know how to code because I'da really lost my Sh** if I couldn't. This situation sucks but I can fix it to meet my needs given time. |
@maximstewart personally, I like the list for quickly switching, but I also like the expanded UI for managing the groups. |
TbaHide recently landed in nightly: https://bugzilla.mozilla.org/show_bug.cgi?id=1423725 |
TabHide has landed in 59 beta: https://blog.mozilla.org/addons/2018/01/26/extensions-firefox-59/ Hidden behind |
Hi all! Please, read Thanks. |
Thank you :)
I will test and let you know
Cheers
2018-03-06 17:21 GMT+01:00 Drive4ik <notifications@github.com>:
… Hi all!
I make [EXPERIMENTAL] Simple Tab Groups with support Hide Tabs API:
https://addons.mozilla.org/firefox/addon/experimental-simple-tab-groups/
It work on latest FF Nightly and Beta.
To make it works, visit about:config and set extensions.webextensions.
tabhide.enabled to true.
Please, read
Drive4ik/simple-tab-groups#2
<Drive4ik/simple-tab-groups#2>
Please tell me - what difficulties / bugs do you experience with this
addon.
Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#535 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AANXW4cGHqxhBQJ5oIpvPRvThms9B77kks5tbrd1gaJpZM4Lw8ed>
.
|
@Drive4ik Great work! I've installed it as I'm anxious to get away from tree style tabs (doesn't work well for my workflow). I hope you don't mind all the issues I'm opening - I have a lot of feedback! |
@stephen304 Hi! Thanks for feedback. I will try to make it even better) |
OK, it's update time. I've not got grouping yet but I do have a solid base to work from. Presently, the big thing is I can search through my tabs and since I'm only ever dealing with a small subset it isn't near as hard to recall what I'm searching for. While the plugin's main functionality is searching, it's made better by way of the grid representation and the icon features such as closing, creating new tabs, and re-ordering through drag-n-drop actions. These features will be used when I implement grouping which is why I did all this before the grouping. Now, it's worth mentioning that I had grouping working but it was too complex and so I scratched it to start from a solid base and branch out. This is why I have the current plugin the way it is. I am using dragula.min.js to do the heavy lifting as is and I intend to expand upon it for the grouping now that many of the features that I need are present. So here is the thing, the browser_action window is pretty tiny and it makes it harder to create groups and manage/move them around. In addition, since it's through that, saving the "session" has to happen every time the window closes and needs to load it back in each time the window opens. This is pretty inefficient or poses issues at the least when there is a lot of data to load/unload. I'm thinking about how to handle this but there are no clear answers that make it lightweight and resource efferent. [ My current idea for the data is as follows ] One selects the window or loads a default one and it loads the group ids into their respective HTML containers. The containers then populate with their URLs, ICOs, etc. Here is where I'm thinking I can make it more efficient. Rather than load all containers, again, a default container loads. When you want to load another container or create one, then the container loads and the other unloads unless one is moving stuff around. This means that not all the data has to load/unload at once. Anywho, that's where I'm at at this point. Defeat has yet to claim me but it is slow going. @Drive4ik By the way, I'm sorry if my reply was terse as I didn't mean for it to seem like that. I think your plugin is very cool but it just isn't what I'm looking for. I didn't intend for it to sound like I was poopooing on you efforts. =P I'm sorry if it came across that way as when I looked back it seemed clipped. |
@maximstewart if the popup space is a constraint, you can just open a new tab and programmatically create the html code for it (just as you do with the browser-action-popup) ... Regarding data size: if you save it as json, the size should be no problem. You probably want to save the data for every tab-create and tab-close event instead of only window-close ... just in case the browser crashes. If you want to avoid the hassle of implementing the state of grouping, you can rely on conextualIdentities aka containers so Firefox handles all the state for you -- however: people will criticize you a lot for it as some have the opinion, that containers should not be used for grouping but for isolation only (which is an opinion you might disagree with as well). Happy hacking |
Recently I began using Tip Tab with PopUp (and Conex, and legacy Tab Groups): – the Tip Tab tab is popped up to a window, which I maximise on the display to the right of my notebook. @kesselborn this is comparable to the use case that I envisaged in a bundled web page for Conex · Issue #52 · kesselborn/conex. |
"...if the popup space is a constraint, you can just open a new tab and programmatically create the html code for it (just as you do with the browser-action-popup) ...browser.runtime.onConnect is your friend here." Hey, that would work! The only thing that makes me hesitant is that this makes me think it affects new tabs. Is this the case? If not, then would you send me some pointers about how you'd set it up "Regarding data size: if you save it as json, the size should be no problem." I was thinking much the same and it might be easier to insert/remove tab instances. "You probably want to save the data for every tab-create and tab-close event instead of only window-close ... just in case the browser crashes." When I said window I was more referencing the pop-up window for browser_action. XD So, if it closes which is after focus is lost then it writes the new data. "If you want to avoid the hassle of implementing the state of grouping, you can rely on conextualIdentities aka containers so Firefox handles all the state for you -- however: people will criticize you a lot for it as some have the opinion, that containers should not be used for grouping but for isolation only (which is an opinion you might disagree with as well)." I'm in your camp of thinking and my early thoughts were around this method. But, it then does undermine the idea of using identities as a means of one being work, home, other such that cookies and session data follows the instance. XD In addition, working with data like this is a good exercise for a noob like me so I'm forging this option. =] |
Catching up here … there seems to be no groups API. Am I missing something? From WebExtensions API for groups (for tab groups) - Add-ons - Mozilla Discourse
Thoughts? TIA |
Multiple windowsRe: https://discourse.mozilla.org/t/-/28533/6?u=grahamperrin I'll want some groups to span multiple windows. (To a degree this probably comes naturally to Conex, which is a great extension, but groups should complement containers). Possible? InteroperabilityI'll need any group that is created by (say) Panorama View to be also manageable by (say) Tiled Tab Groups; and vice versa. Extensions should work with each other, without requiring a per-extension set of groups. Possible? TIA |
From denschub/firefox-tabgroups#60
@ScottRFrost it's an excellent extension, however I'm not sure about the word integrating with containers. There's unavoidable contention between some of the goals of the technologies. |
So has is there a general consensus on a good replacement yet?I don't have a system I'm willing to try out upgrading Firefox and playing with extensions on - don't want to lose my existing tab groups. But I haven't seen anything striking yet in the comments, and Chrome is starting to drive me nuts with its resource consumption for the number of tabs I end-up keeping open. |
@BenjamenMeyer I've been using Simple Tab Groups for a couple months now, and while not on the same level as the original, it does its job. It has search, pinned tabs stay always visible, and the UI is quite similar. I can't comment on the container or multiple window handling, since I'm using neither. The drawbacks so far are:
Not to discredit any other alternatives - this just happens to be the only extension I've tried so far. I'd be interested in hearing how the rest of the alternatives are progressing. |
The Experimental version of Simple Tab Groups now hide tabs instead of unloading them. |
@BenjamenMeyer You can easily migrate/import your existing groups without losing anything in Sync-Tab-Group in Chromium you can also The Great Discarder to lower your memory usage. Right now in my active group I have more than 150 tabs with no problem at all. 😄 Regards |
@Pab0 thanks for the info; seems like if they solve the unloading issue it may be doable so may be next release (re @klint 's statement about the experimental, assuming everything goes to release)? @mikhoul Chromium isn't quite an option unfortunately so it's Chrome and Firefox and Firefox has long been my primary choice in many respects because of the Pandora/TabGroups functionality. Chrome/Chromium doesn't have anything that competes - I've tried to find something, it's just not there. So really looking forward to having a new Firefox tool to do the same thing as Pandora/TabGroups. |
As an update, I've decided to just stick with what I've created and offload my groups into other things like bookmarks and/or notes/databases. IE, i've gone through my stuff and determined if its worth keeping and if so moved it to bookmarks or one of my databases for future reference. The plugin I created is Tab Search & Manage: https://addons.mozilla.org/en-US/firefox/addon/tab-search-and-manage/ I can search through tab titles, hide them, create new ones, and other stuff. It meets my current needs but has no grouping. |
It seems these days there are several tab grouping addons popping up. At a glance, the one that's peaking my attention is Panorama Tab Groups. The interface seems to be very similar to what this has previously offered, not to mention the development is active (many addons haven't been updated in many months). I haven't spent much time looking at it, but it's one I'm excited to test out. |
@CubeTheThird: That's the one I've been using, and so far it seems the best replacement. |
I've been using Simple Tab Groups for months now, and the released version is quite stable and efficient. It has a lot of additional features compared to the original Panorama View (and of course, it does include a panorama view). |
I've been using Simple Tab Groups too, but it's not stable at all! It loses
tabs, urls and messes with Tab session manager. So I sometimes have to
restore tab backups with sometimes some tabs losses since the tab session
backups dosn't always included the latest of them. But I still keep using
it because there is nothing better out there for the moment. As you said it
has important features that none others offer.
And yeah, I could make a bug report, but I've been doing that on so many
addons, software, etc. I use, I'm just tired of it and have my own addons
to debug and worry about. Sorry...At least some people are warned here
now.. :-/
Cheers,
[image: Ruby Contact Card]
<http://www.e-motiv.net/Ruben%20Goethals%20-%20e-motiv.vcf> Ruben
<Ruben@e-motiv.net> @ e-motiv <http://www.e-motiv.net>
[image: Ruby] <http://www.e-motiv.net>
+32 (0) 484 / 23 78 78
…On Tue, 8 Jan 2019 at 09:55, klint ***@***.***> wrote:
I've been using Simple Tab Groups
<https://addons.mozilla.org/en-US/firefox/addon/simple-tab-groups> for
months now, and the released version is quite stable and efficient. It has
a lot of additional features compared to the original Panorama View (and of
coursen it does include a panorama view).
Number of users is larger than other addons, and reviews are excellent.
You definitely should give it a try.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#535 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACEdTP_VVt_-TIkCEZb2sJr3BTEyzZBMks5vBGsJgaJpZM4Lw8ed>
.
|
In your farewell post, @Quicksaver said the following :
Can you tell us more about this ? I fully understand that you don't want or can't port this addon to work with newer Firefox APIs but since many of us are in love with Tab Groups, some may like to give a try on porting this (at least partially) to WebExtension.
Can you give us a quick overview of what would be impossible in the ported version ? And what would needed on Firefox's side to make it work ?
The text was updated successfully, but these errors were encountered: