Screenshot for more info :)
| Comment | File | Size | Author |
|---|---|---|---|
| #32 | filtertips_2.patch | 1.34 KB | Jeff Burnz |
| #29 | filtertips.patch | 1.27 KB | yoroy |
| #26 | without-styling.png | 7.66 KB | BarisW |
| #26 | with-styling.png | 7.66 KB | BarisW |
| #20 | 889764_input_filter_tips_3.patch | 1.84 KB | BarisW |
Comments
Comment #1
glipay commentedit looks like the javascript was broken when someone changed the <label> syntax to the <h3> syntax.
Comment #2
glipay commentedComment #3
aspilicious commentedIt works, but we need to add some styling to make it look like it did in alpha 6.
1) font-size is to small
2) list-style-type: disc; (or something similar, didn't look up) is missing
Comment #4
aspilicious commentedHas to be done for at least seven.
Marking this needs work.
Comment #5
BarisW commentedAlllright!
I've added another patch that tackles the styling issues as well.
Comment #6
reglogge commentedworks for me...
Comment #7
reglogge commentedoops, too early. Bot isn't finished testing yet.
Comment #8
Jeff Burnz commentedbadness all round, do not use .hide(), use .addClass() and .element-invisible. There is no point in even having a heading if no one can read or hear it.
Powered by Dreditor.
Comment #9
cwgordon7 commented@Jeff Burnz, that would be a new feature, and not necessarily a desirable one. The patch by BarisW in #5 retains the previous behavior (before the bug was introduced. The point of the headings is in case JavaScript is disabled, one can still tell which filter tips are for which formats. In other cases, it is superfluous because the setting of the select element already tells you which format it's for. Not sure why the labels show up in the screenshots, they shouldn't be there unless JavaScript is disabled, and they don't show up for me with JavaScript enabled. Besides that, to me this is rtbc.
Comment #10
BarisW commentedHow stupid of me. The reason that the heading is not hiding had something to do with another issue I'm working on (changing the H3 to H2 on a node/add form), #890212: text format help text uses wrong headings.
I changed the jQuery selector from being heading-specific (H2) to being a heading-selector (:heading). Makes more sense. This patch hides the heading completely ;)
Comment #11
BarisW commentedComment #13
Jeff Burnz commented@cwgordon7, ar Ok, very good explanation. Thank-you. Indeed this looks good.
Comment #14
BarisW commented#10: 889764_input_filter_tips_2.patch queued for re-testing.
Comment #15
BarisW commentedAllright, anyone wanting to test this?
It took some time, but now testbot returns green!
Comment #16
BarisW commented@kostask tested it (in the code sprint) and found a bug. Fixed and repatched!
Comment #17
reglogge commentedCall me stupid, but the patch in #10 doesn't solve the initial issue, namely help-texts shown for all input formats all the time. Is this intended? The help-texts for input formats that are not selected are still there.
Comment #18
BarisW commented@reglogge: You're not stupid. I used the wrong jQuery selector
$(':heading')instead of$(':header').Would you be so kind to te-test with the new patch?
Comment #19
reglogge commentedCross-post. Now it works.
Comment #20
BarisW commentedSigh. I forgot to include the small change in seven/style.css. Added it back to v3.
Should be done now!
Comment #21
kostask commentedI tested the patch at #20 and everything seems to be working fine.
Comment #22
cwgordon7 commentedLooks good to me as well.
Comment #23
BarisW commentedThanks for testing!
Comment #24
BarisW commentedLets remove the tag, as it is cleared it #13.
Comment #25
sunUnder no circumstances we will implement module or field specific styles into filter.css or elsewhere.
This seems to be the actual fix, so what are all the other changes for?
Powered by Dreditor.
Comment #26
BarisW commentedThe point is that style.css in Seven resets the padding of .filter-guidelines., which makes the guidelines touches the dropdown (ugly).
Is it better to change the padding in style.css?
See screenshots
Comment #27
sunIf Seven resets the styles, then it also has to set them.
Comment #28
aspilicious commentedI roll a patch with the changes only in seven, sun is correct about this.
EDIT: srry no time left for the next couple of days, can someone please fix this
Comment #29
yoroy commentedSounds like something even I can handle. Attached patch should result in this:
Comment #30
Jeff Burnz commentedWhy use the child selector here - we can easily support IE6 as well. The padding can be short handed.
Otherwise looking good to go.
Powered by Dreditor.
Comment #31
yoroy commentedNo idea about the child selector, was already in there. Can indeed be shorthanded. I'm not working on this the next couple hours… :-)
Comment #32
Jeff Burnz commentedSure, I can whack this out easy enough :)
Comment #33
giorgosk#32 patch works as expected in latest opera, Firefox, Chrome, IE8 in windows
Do we mark this as RTBC ?
Comment #34
BarisW commentedPlease check the guidelines display on the comment form as well. I recall I made some changes in my first patch for this case as well. I'm going on a vacation in an hour, so I don't have anymore time to do this.
Comment #35
yoroy commentedTips on the comment form would mean Seven being used as the front end theme. Unlikely scenario but looking fine: http://skitch.com/yoroy/dsjjc/sdfsdfsdf-d7
Rtbc indeed.
Comment #36
dries commentedChecked with sun and he was on board. Committed to CVS HEAD. Thanks all.