hagabaka / chatzilla-plugins

This URL has Read+Write access

hagabaka (author)
Wed Jul 16 14:52:35 -0700 2008
commit  bb18e071eae5fc810eed95d75635255c662994d8
tree    1c59704d65dc9f1c7ade5942c9deba4347123c62
parent  9702bf95d7aaf47f407bcacf507cb83e4457889a
chatzilla-plugins / channel-tree
channel-tree/README
channel-tree.js: chatzilla plugin to list tabs in a treeview

The plugin displays open "tabs" in a treeview, which can replace the tab bar.
you can click on the tree items to switch the current view, and if you use the
tab bar to switch view, the selected item in the tree is updated. You can right
click tree cells to access the same context menu as tab context menu. Tree labels
can change color to indicate the view status, customizable through CSS.

Check the github repository for updates:
http://github.com/hagabaka/chatzilla-plugins/tree/master
git://github.com/hagabaka/chatzilla-plugins.git

PREFERENCES

- showIcons: if "true" (default), icons are shown before labels in the tree to
  indicate the type of view (network, channel, user etc).

TODO

- Add menu entry to hide/show the tree, or adjust its location
- Use tree-utils instead of DOM tree
- Sort tree items by view type
- Allow tree items for hidden views be styled

BUGS

- The tree item properties are set to "normal" after a while even though they have
  activity in tabs
- If the plugin is manually loaded after some views are open, styles on treecells
  are not applied except when they are hovered, or when the view state gets changed
  again. This situation disappears if the tree is redrawn such as when the window
  is resized to make the tree smaller
- Moving the userlist with the plugin enabled does not work as intended. ChatZilla
  might become unusable or the move does not happen
- Width of treeview is not persisted
- Treeitems at top level are displayed as having children even if they don't

AUTHOR

Yaohan Chen "hagabaka" <yaohan.chen@gmail.com>

CREDITS

- Many thanks to Silver, ReadMe, worms, mzz and others on moznet for debug,
  javascript and XUL help
- Included icons are taken from the following projects:
  - channel.png: Crystal SVG icons (actions/irc_channel.png)
  - network.png: Crystal project theme (actions/network.png)
  - client.png: Chatzilla (chatzilla-window16.xpm)
  - user.png: Tango icon library (apps/user-info.png)
  - dcc-chat.png: Tango icon library (internet-group-chat.png)
  - dcc-file-transfer.png: Tango icon library (actions/mail-send-receive.png)