[Plone-UI] Fwd: Re: UI request - integrating p.a.theming editor and file manager

Nathan Van Gheem vangheem at gmail.com
Mon Sep 12 05:13:18 UTC 2011


Sorry everyone, forgot to reply all. Trying to use apple mail app and its
killing me that cmd+r doesn't auto reply all!

---------- Forwarded message ----------
From: "Nathan Van Gheem" <vangheem at gmail.com>
Date: Sep 11, 2011 11:09 PM
Subject: Re: [Plone-UI] UI request - integrating p.a.theming editor and file
manager
To: "Martin Aspeli" <optilude+lists at gmail.com>

> Currently, these two views are separate. When you edit an in-ZODB theme in
the p.a.theming control panel on the "Manage themes" tab, you have two
options: "Edit" and "Manage files".
>
> I think it would be more natural if these two were part of the same
screen, but I'm struggling to understand exactly how that would work
visually. I'd like to retain the idea that you can work on multiple files
and that you can save all files at once or revert your changes before
saving.
Yah, this is a little odd. I think we just have a "manage files" button.
Then, we just need edit buttons on the manage files screen that open an
overlay with the ACE editor in it. Also, leave the quick file switching
functionality available in the ACE editor.

Is the use case of simply managing top-level plone resources something we
want to pursue at all? Seems like this functionality should be exposed even
if you don't want to put the resource in a theme.

Great work as always Martin. These are killer features.


-Nathan

On Sep 11, 2011, at 4:58 PM, Martin Aspeli wrote:

> Hi UI folks,
>
> As previously discussed, I've been working on improving the p.a.theming
experience through in-Plone tools for editing theme HTML, CSS and rules.xml
files.
>
> Most of the back end and JavaScript is now working, but I'm struggling to
decide how to integrate two aspects of the UI:
>
> 1) A file manager
>
> This is the newest component. It looks like this. The file manager works
as you'd expect, and you can upload files, create new ones, delete, rename
and so on (though there's no copy/paste/move support at this stage).
>
> <Screen Shot 2011-09-11 at 22.45.36.png>
>
> 2) An editor based on the Cloud9 ACE editor.
>
> <Screen Shot 2011-09-11 at 22.46.29.png>
>
> In the editor, you can choose a file to edit and it is loaded from the
server when first requested. Changes are mirrored to a hidden <textarea />
per file, all of which are submitted and saved when you click "Save".
>
> Currently, these two views are separate. When you edit an in-ZODB theme in
the p.a.theming control panel on the "Manage themes" tab, you have two
options: "Edit" and "Manage files".
>
> I think it would be more natural if these two were part of the same
screen, but I'm struggling to understand exactly how that would work
visually. I'd like to retain the idea that you can work on multiple files
and that you can save all files at once or revert your changes before
saving.
>
> Is anyone able to suggest / mock up a way to do this?
>
> If you want to test it, simply check out this branch and build (if you
have an existing checkout, be sure to update extras/plone.resource as well
as the src/ directory):
>
> https://svn.plone.org/svn/plone/plone.app.theming/branches/optilude-ace
>
> Cheers,
> Martin
> _______________________________________________
> UI mailing list
> UI at lists.plone.org
> https://lists.plone.org/mailman/listinfo/plone-ui
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plone.org/pipermail/plone-ui/attachments/20110912/c25a4ea7/attachment.html>


More information about the UI mailing list