Friday, February 11, 2005
Editing progress
It's not quite ready for a 0.2.2 release, but here's what I've got done over the last couple days.
Editing text in the textboxes doesn't rename anything, it's really just adding titles to the .description files for each item, not changing the filenames. So quite often, the filename will be different from the title.
After the edit boxes are some new controls. Hovering over the file icon () shows what the name of the file is. Clicking on that icon sets the text in the field to be the filename.
Hovering over the undo arrow () shows what the textbox contained when the page was loaded (sans any HTML in the field). Clicking on it will restore that text to the textbox (including any HTML).
Here's some samples:
Hovering over the file icon, you can see that the filename is DSC00728.
On a directory:
The title is green because I've changed the value and haven't saved it yet. Hovering over the undo icon, you can see the original title. Clicking will restore that title (and make the background white again). Note that neither of those titles are the actual name of the folder.
The second textbox is the short description. See Monday's posts for a sample of how the title and short description are both rendered when not in edit mode. Also note that there isn't a file icon next to the short description... not much point in making the desc be the directory name, that's what the title field is for.