Convert ChatZilla to a WebExtension
Categories
(Other Applications :: ChatZilla, defect)
Tracking
(Not tracked)
People
(Reporter: botond, Assigned: rginda)
References
(Depends on 3 open bugs)
Details
Attachments
(4 files, 3 obsolete files)
In order to continue working in Firefox 57 and beyond [1], ChatZilla would need to be converted to a WebExtension. Is it possible to do this? [1] https://blog.mozilla.org/addons/2016/11/23/add-ons-in-2017/
Comment 1•8 years ago
|
||
It will need a few APIs that aren't implemented yet. In particular, sockets, and we'll need to think about our UI story. WebExtensions don't allow showing arbitrary XUL UI as a new window (and I think it's unlikely that functionality would be added, because it would break the security sandbox). We could show HTML UI in a tab, I expect, though that wouldn't be privileged in and of itself, so we would need to make it communicate with the privileged socket code, etc. It's a significant project.
Comment 2•7 years ago
|
||
A simplified framestuff for chatzilla in html. (not complete, just a draft) Here I'm using css-grid which one requires firefox 52+ or enable the grid in the about:config. The spltters are grabbable, css-grid works pretty well, you can't oversize the elements :) For the future usage I would suggest using channel-tree instead of tabbing, because tabs looks ugly in small screens, but using tabs is easily possible with css-flex. The channel-tree on mobile can be a modal popup and always visible on big screens. What is the concept with the right clicking methods? Convert them to simple click method?
Comment 3•7 years ago
|
||
I just added a switch panel option, and a sort bugfix based on Bug 1316029
Comment 4•7 years ago
|
||
Just added grippy in to the splitter
Comment 5•7 years ago
|
||
I just figured, we don't need DOM manipulation for reordering the op-s in the userlist, we can do that easy via css only with order levels. So I deleted some javascript. And I added <details><summary> objects to the channel tree. Now looks pretty inside the new possibilities :) The stuff is ready to thing ahead :)
Comment 6•7 years ago
|
||
The RESPONSIVE chatzilla :) Some basic responsiveness added for the frame and I attached a content also to the views-iframe(s)
Updated•7 years ago
|
Comment 7•7 years ago
|
||
A basic menu symbols: a triangle, a cicrcle and a check-mark. We just noticed using these unicode symbols with different fonts and on different platforms everything is different, so this variability was annoyed, so sorted that out with an own font named cZ.woff :) Now everywhere same as same :) We can improve this font-collection in the future :)
Comment 8•7 years ago
|
||
This is a basic implementation of a new possible menu-system. I just noticed <menuitem> is useless, thats too "experimental technology" because does nothing :( So I sorted out this problem with this study. This is basically a <ul><li><a> based menu tree. I used the current menumanager for ideas, how to make it similar than the xul stuff does now. I implemented 1 recursive function for the menu blocks. Also implemented checkbox, radio and command type menuitems, and of course a popup menu and mainmenu type. these are using cZ.woff font for the symbols. I optimised out some stuffs from the menumanager-label system. Perhaps we can't define in the label the type of the menuitem, that got an own object-property named type. so the formal syntax changed from: menuSpecs[">popup:my-name"] = {} to: menuSpecs["my-name"] = {type: "popup"} I was thinking of responsiveness as well, whilst there is no "hover" event on touchscreens and not enough space as well for showing the submenus next to each. Some thing is missing: the context menus, coz there is no right-click method on touchscreens. We need think this behavior as well. This stuff is now ready for discuss and think ahead.
Comment 9•7 years ago
|
||
FWIW, I just switched from Nightly to Release because ChatZilla was broken by the latest Nightly update.
Comment 10•7 years ago
|
||
For bug 1246236 comment 87, I think they are all replaceable with IndexedDB. Write a built-in manager for managing and modifying them.
Updated•7 years ago
|
Comment 11•7 years ago
|
||
However I sugested to use css-grid instead of table at the messages because of responviveness, but now display: contents; introduced in the spec and mozilla. This one should disable the table like behavior on table, tbody and tr, so we currently make responsive "lines" without grid on small screens e.g. mobilephone. Sample: table, td { display: block; } tbody, tr { display: contents; } this rule sets the messages as "vertical" on mobilephones. worths to think forward. the new webextension - of course - still should work with grid, as I did set up a in the testcase.
Comment 12•7 years ago
|
||
I use Chatzilla nearly weekly and would very much appreciate this.
Comment hidden (spam) |
Comment 14•5 years ago
|
||
You might be interested to know that InspIRCd 3+ and UnrealIRCd 4.0.10+ have support for WebSockets. This would probably be useful for you if you can't do normal sockets as a WebExtension.
Comment 15•5 years ago
|
||
Is there any progress being made on this? Can someone give me any insite? (E.g. "if we had $30,000, it would be done in four months")
Comment 16•4 years ago
|
||
Is anyone working on this? Or any other IRC alternative? It looks like the asignee is a disabled account.
Reporter | ||
Comment 17•4 years ago
|
||
I'm not aware of anyone working on this. It's worth noting that some of the APIs it would need, such as bug 1247628, remain to be implemented.
I myself have moved on to use Konversation as my IRC client since filing this bug. (And more recently, the Mozilla project has switched from IRC to Matrix as the messaging platform for its developers and community.)
Comment 18•4 years ago
|
||
Thanks for the quick turnaround. Sorry if requesting info was inappropriate.
Comment 19•4 years ago
|
||
Anyone that wants to implement ChatZilla as a web extension is welcome of course, but https://github.com/Ascrod/ambassador exists as a maintained fork of ChatZilla that works outside of the browser.
Comment 20•3 years ago
|
||
I assume this is now surpassed by bug 1707459, right?
Comment 21•3 years ago
|
||
I assume this is now surpassed by bug 1707459, right?
Only for SeaMonkey. ChatZilla can not be used in Firefox right now and I doubt it will be integrated there so would need to become a WebExtension.
Description
•