Closed Bug 478608 Opened 16 years ago Closed 16 years ago

newfile and rm should be available from dashboard

Categories

(Skywriter Graveyard :: General, enhancement)

x86
macOS
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: jonathanmcdougall, Unassigned)

Details

Attachments

(2 files)

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.6) Gecko/2009011912 Firefox/3.0.6 Build Identifier: 0.1.1 Commands that are dealing with files should be available from the dashboard, as long as a project as been selected. Reproducible: Always
- added js/commonbootstrap.js which should contain objects used by both the editor and the dashboard. Currently it has _currentProject and _files. - _editSession.project was removed. The global _currentProject object is used throughout the js files now. - _currentProject is set when 1) a project is clicked on the dashboard; and 2) a file is loaded in the editor (like before) - two commands were added to the dashboard: newfile and rm. If no project is selected, a cmdline:showinfo is fired with a warning. - newfile: from the dashboard, the editor is simply started with the given filename. However, because the file doesn't exist yet, no information is displayed about the file on the header. This is, by the way, the same behavior as in the editor, but it's not as visible because the old information is just left there. - rm: from the dashboard, the only problem is to update the file list. Right now, because I couldn't find any other easy way, the list is just repopulated with the root, losing your cwd. - typo (I think): 'dashboard' command now reads "navigate to the file browser".
Attached file commonbootstrap.js
This is a new file that should go in frontend/js/commonbootstrap.js
Status: UNCONFIRMED → NEW
Ever confirmed: true
This is a mass migration from Mozilla Labs :: Bespin to Bespin :: General. This bug likely still needs to be triaged and categorized.
Component: Bespin → General
Product: Mozilla Labs → Bespin
QA Contact: bespin → general
Target Milestone: -- → ---
no more dashboard
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: