Note this will automatically inline the items (no div tags).
--John Abbe.....Fri Feb 25 23:02:44 -0800 2011
when done, apply to first two inclusions on http://en.dwagn.org/wagn/*community+*right+*content
--John Abbe.....Fri Feb 25 23:11:23 -0800 2011
a tags can take background color and padding, but with all this bareness can we come up with a selector that will exclude everything else?
--John Abbe.....Sat Feb 26 16:07:17 -0800 2011
yes, you've been way over-selecting. just need ".SETCLASS-key a" (assuming item:link)
--Ethan McCutchen.....Mon Feb 28 11:48:49 -0800 2011
In the DI use case in +example, "card in me" returns items in view name. If the planned implementation overrides that with bare, this is still not going to solve the problem.
What I need is, given a Pointer with one item in it, to get back just the name of that card, without brackets or HTML.
--John Abbe.....Mon Feb 28 11:53:11 -0800 2011
Maybe the name bare_items is confusing you?
Nobody is overriding any item views. The bareness is getting rid of the collection's item wrapping, not the item's view wrapping. Item:name already has no wrapping. bare_items won't impact that -- it will still be item:name if you specify item:name. we're only talking about changing the default item view (which we don't really have to do, we can leave it as closed -- might be less complicated).
The only html wrapping now is coming from the collection view, and that's what we're getting rid of.
if this is difficult to visualize maybe let's just wait until it's implemented.
--Ethan McCutchen.....Mon Feb 28 12:11:57 -0800 2011
Gah, sorry I"ve struggled with this so much. I've updated the solution to match my understanding. I've been wanting to nail it down to satisfy for myself that this will in fact work.
--John Abbe.....Mon Feb 28 12:44:40 -0800 2011