Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Bricolage: devel

Re: [8442] Restore the subelement hint, so that editors can get some idea

 

 

Bricolage devel RSS feed   Index | Next | Previous | View Threaded


david at kineticode

Mar 3, 2009, 11:01 PM

Post #1 of 3 (1026 views)
Permalink
Re: [8442] Restore the subelement hint, so that editors can get some idea

On Mar 3, 2009, at 10:57 PM, theory [at] bricolage wrote:

> Restore the subelement hint, so that editors can get some idea WTF
> each subelement is when it is not currently revealed.

I'm thinking it might make sense to also hide the "Add Element" and
"Bulk Edit" buttons when a subelement is toggled closed. Thoughts?

Best,

David


adrian at gossamer-threads

Mar 7, 2009, 12:06 AM

Post #2 of 3 (920 views)
Permalink
Re: [8442] Restore the subelement hint, so that editors can get some idea [In reply to]

On Tue, 3 Mar 2009 23:01:12 -0800
"David E. Wheeler" <david [at] kineticode> wrote:
> On Mar 3, 2009, at 10:57 PM, theory [at] bricolage wrote:
>
> > Restore the subelement hint, so that editors can get some idea WTF
> > each subelement is when it is not currently revealed.
>
> I'm thinking it might make sense to also hide the "Add Element" and
> "Bulk Edit" buttons when a subelement is toggled closed. Thoughts?

No thoughts on that aspect of the UI (since I'm not a "real" user), but one
suggestion is to hide the hint and only show it when the container is collapsed:


Index: comp/widgets/container_prof/container.mc
===================================================================
--- comp/widgets/container_prof/container.mc>---(revision 8465)
+++ comp/widgets/container_prof/container.mc>---(working copy)
@@ -7,7 +7,7 @@
</legend>
% }
% if ($hint_val) {
-<p class="hint"><strong><% $hint_name %>:</strong> <% $hint_val %></p>
+<p class="hint" id="element_<% $id %>_hint" style="display: none"><strong><%
$hint_name %>:</strong> <% $hint_val %></p>
% }
% if ($type->is_related_story) {
<div id="element_<% $id %>_rel_story">
Index: /var/home/worldhealth/trunk/comp/media/js/lib.js
===================================================================
--- /var/home/worldhealth/trunk/comp/media/js/lib.js>---(revision 8465)
+++ /var/home/worldhealth/trunk/comp/media/js/lib.js>---(working copy)
@@ -1543,6 +1543,7 @@
-
toggle: function( eid, anchor ) {
Effect.toggle('element_' + eid, 'blind', {duration: 0.3});
+ Effect.toggle('element_' + eid + '_hint', 'blind', {duration: 0.3});
var displayed = $('container_' + eid + '_displayed');
if ( displayed.value == '0' ) {
// Display it.


Adrian


david at kineticode

Mar 7, 2009, 5:03 PM

Post #3 of 3 (923 views)
Permalink
Re: [8442] Restore the subelement hint, so that editors can get some idea [In reply to]

On Mar 7, 2009, at 12:06 AM, Adrian Yee wrote:

> No thoughts on that aspect of the UI (since I'm not a "real" user),
> but one
> suggestion is to hide the hint and only show it when the container
> is collapsed:

Oh, yes, I was hoping to get that figured out, especially since I
noticed today that the hint is displayed for the top-level element,
which is just stupid.

So please do feel free to apply that patch and note it in
Bric::Changes once your commit access is figured out.

Thanks,

David

Bricolage devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.