Closed Bug 385977 Opened 19 years ago Closed 7 years ago

Implement filesystem viewer

Categories

(Other Applications Graveyard :: XUL Explorer, enhancement)

x86
Windows XP
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: daniel, Assigned: daniel)

Details

Attachments

(4 files, 1 obsolete file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3 Build Identifier: Implement a filesystem viewer in the sidebar Reproducible: Always
Copy the zip content into the "content" folder. The filesystem binding isn't finished yet and the rdf implementation has a couple of limitations. The catalog category binding needs some polish.
The proposal also adds the catalog widget which might be used instead of a deck for the sidebar. This way, each view is always visible - at least by a clickable button. I'm not happy with the design, but if that's a way to go, I'm going to start Photoshop :-)
Screenshots?
Ah, I see. Good idea. I will provide some as soon as I'm back at home.
Attached image Screenshot
Screenshot of the current implementation. On the left you see "Snippets", "File Explorer" and "About". Clicking one of these will show the category and hide the previously shown one. Double clicking on a file, opens that in the editor. Currently no filter is defined nor definable. This might be a good enhancement.
Attached image Sidebar proposal
This is a proposal (Currently just a Photoshop snapshot). The sidebar and the views (Snippets, Files, DOM) might look like this.
Assignee: nobody → danielkirsch
Status: UNCONFIRMED → NEW
Ever confirmed: true
Here is an alternate implementation for the sidebar user interface. See discussion in mozilla.community.mozpad and specifically this message: http://groups.google.com/group/mozilla.community.mozpad/msg/95156662cdcc6f97
That patch is mainly an adaptation of the menudeck from xulwidgets.mozdev.org. Alternate user interfaces could be implemented to allow users to choose a preferred style, e.g. <sidebars type="catalog"> or <sidebars type="tabs">
Comment on attachment 271052 [details] [diff] [review] use XBL Binding for <sidebars/> and <sidebar> widgets >+ <binding id="sidebars_menudeck"> >+ <content> >+ <xul:box xbl:inherits="orient"> >+ <xul:hbox class="paneheader"> >+ <xul:menulist><xul:menupopup/></xul:menulist> >+ <children includes="sidebarheader"/> >+ </xul:hbox> >+ <xul:deck xbl:inherits="selectedIndex" flex="1"><children/></xul:deck> >+ </xul:box> >+ </content> <menulist> is not very attractive in the pane header, especially on windows. MS Office for example uses a control like <button type="menu"../> Also, there are some runtime JS errors in explorer.js
cleaned up a few problems. should be no more js errors and the appearance is slightly better. Note: the style for menulist is now hard-coded in the sidebars xbl binding, I have no excuse for doing it that way but I will come up with something better soon.
Attachment #271052 - Attachment is obsolete: true
I'm sorry, that last patch left out one new file: Index: trunk/app/chrome/skin/standard/bindings.css =================================================================== --- trunk/app/chrome/skin/standard/bindings.css (revision 0) +++ trunk/app/chrome/skin/standard/bindings.css (revision 0) @@ -0,0 +1,12 @@ +sidebars[type="deck"] { + -moz-binding: url("chrome://explorer/content/bindings/sidebars.xbl#sidebars_menudeck"); +} +sidebar { + -moz-binding: url("chrome://explorer/content/bindings/sidebars.xbl#sidebar_box"); +} +sidebar[src] { + -moz-binding: url("chrome://explorer/content/bindings/sidebars.xbl#sidebar_frame"); +} +sidebarheader { + -moz-binding: url("chrome://explorer/content/bindings/sidebars.xbl#sidebar_header"); +} \ No newline at end of file
ActiveState's OpenKomodo project (not yet available to the general public) already implements this capability. Maybe we could persuade them to donate code here.
XUL Explorer is a dead project. We are not going to fix these bugs.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Product: Other Applications → Other Applications Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: