Needs work
Project:
Drupal core
Version:
main
Component:
views_ui.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
24 Jul 2015 at 17:04 UTC
Updated:
26 Nov 2022 at 15:33 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
lewisnymanWIP - Have at it testbot
Comment #3
lewisnymanFixing tests
Comment #5
Aleksandar_P commentedComment #6
Aleksandar_P commentedCleaned unused css from views-ui.
However, I noticed that 'more' options tab in 'Configure filter criterion: Content: Type' is overlapping the floated elements above it. I tried using `clear: both` on that element and it solved that problem but have not included it in this patch. Is there any suggestion on fixing it some other way?
Comment #7
Aleksandar_P commentedComment #8
lewisnyman@Aleksandar_P Is the patch in #6 related to the patch in #3? I'm a little confused because the file size is different.
Comment #9
Aleksandar_P commented@LewisNyman I am not sure what do you mean by related. I did not use any of the patches since they failed the simple test. That's why I haven't created the interdiff.
Comment #10
lewisnyman@Aleksandar_P If you to build on top of previous patches and fix the tests you don't risk losing previous work.
Comment #11
Aleksandar_P commented@LewisNyman Was I supposed to work on the patch you previously uploaded?
Comment #12
mathieuspil commented@Aleksandar_P If a patch fails, we should look into how that patch fails and fix that.
Will start of from #3 and see what #6 brings to the table.
Comment #13
Aleksandar_P commented@MathieuSpil Oh, ok. I could not clearly understand and was not aware of that. I will be following this issue. Good luck.
Comment #14
mathieuspil commentedRecreated the patch from #3 so it applies again, won't be adding the interdiff, because that is very confusing :)
Next step: do the things I was going to do in #12
Comment #15
mathieuspil commentedSo in #6 I saw a couple of things
In views_ui.admin.theme.css:
=> @LewisNyman: can you point me to another location where the
.icon-class is being used inside views? (If it is only used once, this can be deleted indeed.)=> Floating right or the icon is needed for floating right in the rtl-language, so we shouldn't remove this code
@Aleksandar_P: I can still see the
.form-item-live-previewin inspector, but in #6 you removed this selector form css? This causes some visual regression for this itemI also see that you placed some code in comments:
=> You should consider a patch as a suggestion you make for the codebase, so you may just remove the code inside a patch instead of placing it in comments.
Extra: for me it is very confusing to combine 2 patches, especially because they are both very big.
Patch
Comment #16
mathieuspil commentedDrupalcon Internetz doesn't allow my patch-file :)
Comment #19
svendecabooterThis seems to fix the failing test
Comment #20
lewisnymanThe icon classes are used by the buttons, before they are converted into dropbuttons in Javascript. If you turn off Javascript then you can see them. I think we can remove them.
Comment #32
smustgrave commentedPatch or MR doesn't apply anymore
The last patch or MR doesn't apply to the target branch, please reroll the code so that it can be reviewed by the automated testbot.
Comment #33
ameymudras commentedRe rolled the patch #19 to D10.1.x
Comment #34
lendudeNice to see a lot of CSS removed, but before we move on this, I really feel that we need a visual regression test. I know we can't do one on the testbot but running one locally and uploading the results would be really good here. Using something like backstopJs for this shouldn't be too hard to do.