Personal website
I’m finally reasonably satisfied with the status bar. It might change again before the release, and there are probably bugs left, but it’s merged now and I need to move on.
This is not the “final major feature” I mentioned in the original status bar post. That will come right after this. (Of the two features, this one is probably more important, but I still want both before releasing 0.3.) After these two features, there should only be bugfixes before the actual release. (And fixing the documentation. Everything has changed since Froggum 0.2 was almost published four years ago, and all of the documentation is out of date.)
Many things could go wrong when loading an image. For example, you could try opening something that isn’t an SVG file. Right now, Froggum doesn’t notice, and will happily autosave a default 16x16 icon over the incorrect file, without informing the user that anything is wrong.
This requires an integrated system to properly handle errors.
When an error is detected, an info bar will display a message at the top of the edit window. It will also disable autosave while the error message is shown. Error messages will include buttons with suggested actions to take, such as “Overwrite” (marked as destructive) and “Create new”. This error bar will be red or otherwise clearly shown to be an error.
For issues that might result in problems, but still allow loading, such as “This file uses one of the many unsupported SVG elements”, autosave will still be disabled while the error is present, but the error bar will be yellow or otherwise show a “warning” status.
Detect errors when loading icons.
Errors detected include:
If this goes quickly, Froggum 0.3 could be out in a month or two.