Hi guys!
Progress Made
This week things have really been coming together. I had my irc chat during which I received some valuable feedback which I have taken into account including ocean90’s suggestion to display only the basenames of the theme files as opposed to the full path. Additionally, I tagged version 0.1 of the plugin and have concentrated my efforts on refining the UI and implementing the ajax magic to make that possible.
Version 0.1
Earlier in the week, I tagged version 0.1, a stable version with the following features:
- Automatically commits all files upon save
- Revert theme files on a per-file basis, or revert all files to their state in a given revision
- Ability to make use of external VCS adapter plugins that register themselves in an activation hook with the theme_versioning_register_adapter($vcs_adapter) function.
- Settings section in which user can choose which of the registered VCS’s they would like to use
- Popup window revision viewer with admittedly ugly styling 🙂
Here is a screenshot of what version 0.1 looks like:
Screenshot of version 0.1 UI
Current Status
I updated the UI, so it is now a jQuery UI modal dialog.
In order to do this I had to implement more ajax functions to get the file contents and the
revision information.
Here is what it looks like right now:
The jQuery UI modal dialog based UI
*Note: I know that there is no “close” button in the dialog. That is because I haven’t entirely settled on using a dialog just yet, but I needed something better than a popup, and Daryl Koopersmith recommended this as a possible intermediate iteration.
Going Forward
Once I get the UI squared away, I intend to optimize the lazy loading of revisions via ajax and caching. I might even add some nice little progress bars or spinners.
I expect to change the UI to something sleeker and more native-feeling. Instead of the “Open Revision Viewer” button, I’m considering adding a link under the Editor submenu of the Appearance section of the admin dashboard.
Instead of the modal dialog for the viewer, I am considering changing it to a sliding panel that comes out from the side of the admin dashboard and covers the theme editor area. I’d really love any suggestions on the UI, or any input at all for that matter!
When I implement the new UI, I also plan on adding the “advanced mode” interface which consists of additional buttons that allow users to choose when they commit as opposed to automatically committing upon save. This will be a setting they can choose to enable on the general settings page.
scribu 9:00 pm on August 19, 2011 Permalink |
Regarding the UI:
David Julia 9:56 pm on August 19, 2011 Permalink |
I’ll play with the UI and see what I can come up with… thanks for your feedback!
Expect to see a new screenshot or two soon.
cassi 6:23 pm on October 18, 2011 Permalink |
Hello, I had been watching your progress on this over the summer because I think it would be useful to me. Is this project complete? I would love to try it out when it’s done.
Thanks 🙂
David Julia 6:49 pm on October 18, 2011 Permalink |
Yes, Cassi, the project is complete – thanks for your interest!
It’s available from the official plugins repo – you can either download it from inside of WordPress.
Just search for “Theme Versioning” on the add new plugin page.
Or get it directly at the url here:
http://wordpress.org/extend/plugins/theme-versioning/
I’m in the process of updating the readme for the plugin, but right now there’s lots of documentation on how to
use the plugin in the docs subfolder of the project.
Although I think/hope that it’s very easy to use, if you run into any issues,
there’s a screencast explaining the plugin here
If you have any questions, comments, or suggestions I’d LOVE to hear your feedback!
cassi 6:51 pm on October 18, 2011 Permalink |
Thanks!!