Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Follow-up from #1938910: Convert image theme tables to table #type.
Comment | File | Size | Author |
---|---|---|---|
#18 | edit_style_test_style.jpg | 41.67 KB | meramo |
#15 | move_add_new_effect_out-2116663-15.patch | 14.55 KB | lammensj |
#9 | add_image_effect_button_vs_empty_text.png | 79.59 KB | thijsvdanker |
#7 | move_add_new_effect_out-2116663-7.patch | 13.45 KB | lammensj |
#3 | move_add_new_effect_out-2116663-3.patch | 9.17 KB | JeroenT |
Comments
Comment #1
mgiffordComment #2
JeroenTI will work on this @ DrupalCon Amsterdam.
Comment #3
JeroenTFirst try to move the new effect out of the effects table.
Patch attached.
Comment #5
lammensj CreditAttribution: lammensj commentedThe patch works on the latest release but the test failed (obviously). I'm going to figure out why.
Comment #6
lammensj CreditAttribution: lammensj commentedComment #7
lammensj CreditAttribution: lammensj commentedFixed some minor bugs, according to the tests. Also updated the tests so they reflect the changes that JeroenT made.
Comment #8
thijsvdanker CreditAttribution: thijsvdanker commentedI'm reviewing the patch.
Comment #9
thijsvdanker CreditAttribution: thijsvdanker commentedBefore adding effects the table says "There are currently no effects in this style. Add one by selecting an option below."
The button is at the top of the screen, this is confusing. So I think we should either update the text or change the location of the button.
The test is also giving me an error
I have to run now, so can't look into what's wrong there.
Comment #10
thijsvdanker CreditAttribution: thijsvdanker commentedComment #11
slv_ CreditAttribution: slv_ commentedIt seems to me this doesn't make sense anymore, since now this table has a dropdown and the 'add' button for the chosen effect in the last row, I guess as part of some issue to improve UX.
Comment #13
lammensj CreditAttribution: lammensj commentedI know how to fix this, just need to find some time. About the message, I suggest something like this: "There are currently no effects in this style". I think a reference to the button is not needed.
Comment #14
lammensj CreditAttribution: lammensj commentedFixing it now. Patch will soon be uploaded.
Comment #15
lammensj CreditAttribution: lammensj commentedPatch included fixes the tests and changes the placeholder to "There are currently no effects in this style.". Can someone confirm?
Comment #16
lammensj CreditAttribution: lammensj commentedChanging metadata of this issue.
Comment #17
mgiffordComment #18
meramo CreditAttribution: meramo commentedThe interface has changed drastically since the last issue update (screenshot attached), and the patch is no longer applies for obvious reasons. Closing.