Provide ability to show multiple sidebar contents parallelly
Categories
(Firefox :: General, defect, P5)
Tracking
()
People
(Reporter: yuki, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: ux needed, sidebar, triaged)
Comment 1•8 years ago
|
||
Comment 2•8 years ago
|
||
Updated•8 years ago
|
Updated•8 years ago
|
Comment 5•8 years ago
|
||
Comment 6•8 years ago
|
||
Updated•8 years ago
|
Comment 8•8 years ago
|
||
Comment 9•7 years ago
|
||
Comment 10•7 years ago
|
||
Comment 11•7 years ago
|
||
Comment 13•7 years ago
|
||
Comment 14•7 years ago
|
||
Comment 15•7 years ago
|
||
Comment 16•7 years ago
|
||
Comment 18•7 years ago
|
||
Comment 19•7 years ago
|
||
Comment 20•7 years ago
|
||
Comment 21•7 years ago
|
||
Comment hidden (advocacy) |
Comment 24•7 years ago
|
||
Reporter | ||
Comment 25•7 years ago
|
||
Comment 26•7 years ago
|
||
Reporter | ||
Comment 27•7 years ago
|
||
Comment 28•7 years ago
|
||
Comment 29•7 years ago
|
||
Comment 30•7 years ago
|
||
Comment 31•7 years ago
|
||
Comment 32•7 years ago
|
||
Comment 33•7 years ago
|
||
Comment 34•7 years ago
|
||
Reporter | ||
Comment 35•6 years ago
|
||
For Tree Style Tab addon users, I've added an ability to embed arbitrary page by other helper addons, as a workaround for this bug. Here is the API document:
https://github.com/piroor/treestyletab/wiki/SubPanel-API
As a reference implementation, I've cloned the Bookmarks sidebar panel. You can try it with Tree Style Tab 3.1.0 and later.
https://addons.mozilla.org/firefox/addon/tst-bookmarks-subpanel/
But I saw various problems on its development due to restrictions from sandboxed iframe, and I still think that this should be supported by Firefox itself natively.
Reporter | ||
Comment 36•6 years ago
|
||
Here is another example implementation of a subpanel for TST: a modified version of the Side View addon. It loads arbitrary webpage below TST's tabs.
https://github.com/piroor/side-view/tree/tst-subpanel
But I've realized that major Web services (like Twitter) blocks loading of their resources into any <iframe>
. So I think browser-level support for ability to show multiple sidebar panels is still needed.
Comment 37•5 years ago
|
||
As workaround, maybe we can reuse developer sidebar (frame with browser console), attached to right side of browser window, like secondary sidebar? So implement extension, that adds tab "Custom webpage" to it. Example of custom tab for developer sidebar we can lookup in https://addons.mozilla.org/ru/firefox/addon/graphql-developer-tools/ extension.
Comment 38•5 years ago
|
||
(In reply to Murz from comment #37)
As workaround, maybe we can reuse developer sidebar (frame with browser console), attached to right side of browser window, like secondary sidebar? So implement extension, that adds tab "Custom webpage" to it. Example of custom tab for developer sidebar we can lookup in https://addons.mozilla.org/ru/firefox/addon/graphql-developer-tools/ extension.
That is a good idea! Can someone create an extension that adds something like a history sidebar using this method?
Reporter | ||
Comment 39•5 years ago
|
||
A developer sidebar looks not suitable for a regular sidebar like Bookmarks and History, because the developer tool is bound to a tab. It disappears when you focus to other tabs, and you will see the default console instead of the custom developer sidebar panel if you show the developer tools again.
Reporter | ||
Comment 40•5 years ago
•
|
||
For addon authors: follow-up to the Comment #36. Recently I've tried to find workarounds to bypass restrictions about <iframe>
. Finally I've successfully transferred drag data between the host addon and the client addon (in the iframe), and overridden the context of the context menu. I've documented technical details I've realized around the experiment:
https://github.com/piroor/treestyletab/wiki/SubPanel-API#drag-and-drop-between-your-subpanel-and-tst
https://github.com/piroor/treestyletab/wiki/SubPanel-API#how-to-provide-custom-context-menu-on-your-subpanel
But I've realized that these workarounds are unstable, especially about overriding the context. There are strong limitations about efforts on addon-side, and I still think multiple sidebar panels need to be supported natively.
Comment 41•5 years ago
|
||
Hello, I second that demand, several of my users (Bookmark Search Plus 2 add-on) are asking that they can have both TST and BSP2 at the same time in the sidebar, and this is not possible currently.
I considered, and experimented a bit, using the API developed by @piro in TST to integrate both, but:
- this is creating a second code base, it is very defficult and complex to keep one code for running both inside TST iframe and as standalone
- there are variations on behavior of events, drag & drops and other peculiarities of FF implementation I worked around, due to the scaffolding
I believe a workaround could be possible if an iframe created by a hosting add-on, such as TST, could get the complete browser.xxx API set, and not be considered as a content script limited to https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Content_scripts#WebExtension_APIs,
however, this still poses the problem that there is no associated manifest or specific add-on context to an iframe, and so the embedded add-on would inherit permissions, commands .. etc .. of the hosting add-on, still creating limitations or problems, and dual code base.
Therefore, it clearly looks to me that only a genuine split provided by FF is a solution. Or at least a way to open a second sidebar.
Thanks, aaFn.
Updated•3 years ago
|
Comment 42•3 years ago
|
||
The severity field for this bug is relatively low, S3. However, the bug has 34 votes and 52 CCs.
:mossop, could you consider increasing the bug severity?
For more information, please visit auto_nag documentation.
Comment 43•3 years ago
|
||
The last needinfo from me was triggered in error by recent activity on the bug. I'm clearing the needinfo since this is a very old bug and I don't know if it's still relevant.
Comment hidden (advocacy) |
Comment hidden (me-too) |
Comment hidden (me-too) |
Description
•