Closed Bug 488742 Opened 16 years ago Closed 16 years ago

Visually identify that an edit session hasn't been saved

Categories

(Skywriter Graveyard :: Editor, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED
Future

People

(Reporter: dion, Assigned: dion)

Details

You don't know if your current file has been saved to disk or not. Partially, this is because we like the idea of autosave, but in practice it is very unnerving when you don't know or not. Create an identifier that lets the user know if a file has been saved.
I implemented a first version of this. A "●" character will be placed next to the file name when it is stale. As soon as you save the file, it will go away. It has the following problems though: - Some users may not work it out right away (at least need a :hover to say "this denotes that your file has not been saved) - If you go back to the original state of the file (e.g. you type "f" and then hit the backspace, it still considers the file to be dirty, even though the representation is the same. To fix this, could hash the file and compare.
Assignee: nobody → dion
Status: NEW → RESOLVED
Closed: 16 years ago
Priority: -- → P3
Resolution: --- → FIXED
Whiteboard: editor
As a side note, also added some events: - editor:clean - editor:dirty that will fire to let you know when this indeed happens. I use these to then change the UI to reflect.
This is a mass migration from Mozilla Labs :: Bespin to Bespin :: Editor.
Component: Bespin → Editor
Product: Mozilla Labs → Bespin
QA Contact: bespin → editor
Whiteboard: editor
You need to log in before you can comment on or make changes to this bug.