I've started to implement the proposal of separating the node form to a Content and Meta part as well as putting the node edit buttons on the right top area of the screen in this patch. It is somewhat related but can be totally independently reviewed, applied and discussed to.
The attached patch creates a new #node-form-components-menu in #node-form. The original node form is capped in 80% width and 20% of the screen takes up this new right area. That area gets all the node buttons, which are as of now displayed below each other. Also, two new links are added: "Content" and "Meta". These are supposed to hide/show only related parts of the form. The meta elements are hidden by default, while the content elements are shown. This is easily done. However, once you switch to one or the other mode, we'd need to show/hide meta and non-meta elements.
To make adapting to this API easier, I've opted to only require a 'form-meta-element' class on meta element containers, so we can hide them. However, when showing elements, we need to know whether they were hidden because they are meta, or they were hidden anyway (eg. because they were conditional parts of a form). Solving that probably needs more thinking. I've tried just naively showing all elements and hiding the meta elements when the content item is clicked, but that showed up items like hidden (non-used) text format help, so what we need to do is not so simple.
Anyway, the patch clearly has this todo to implement those two buttons. Developers have full freedom to identify meta and non-meta elements. The mockup also shows buttons showed on the same line, but that quickly breaks down with more buttons required to be shown. I've opted for a fixed length button look for now. Let's discuss that too.
On the wireframe (image crosslinked from):
With this patch:
Also, on the todo is to make the links show active and inactive status depending on which type of elements we are seeing now.
|Failed: Failed to install HEAD.|
|Repository checkout: failed to checkout from [:pserver:anonymous:email@example.com:/cvs/drupal/drupal].|
|#39||ContentButtonsStyle.jpg||29.06 KB||Gábor Hojtsy|
|Passed: 11541 passes, 0 fails, 0 exceptions|