Needs work
Project:
Drupal core
Version:
main
Component:
Claro theme
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
1 Jan 2019 at 19:48 UTC
Updated:
12 Aug 2024 at 12:58 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
saschaeggiThis is not yet ready from a design side
Comment #3
ckrinaRemoving old Figma links.
Comment #4
ckrinaComment #5
ckrinaComment #6
huzookaComment #7
ckrinaUploading the designs.
Comment #8
ckrinaUpdating issue summary.
Comment #9
Devipriya Rajamanickam commentedComment #10
Devipriya Rajamanickam commentedThis patch implements proposed resolution.
Comment #11
Devipriya Rajamanickam commentedIn contextual_links_style-3023322-10.patch, I have missed the background color of the pencil icon and this patch implements the proposed resolution.
Comment #12
Percy101 commentedIgnore this
Comment #13
Percy101 commentedIgnore this
Comment #14
Percy101 commentedThis is the interdiff for the patches in comment #10 and #11
Comment #15
ant1@Devipriya Rajamanickam: Drupal Core now supports PostCSS. Claro uses this to compile its files. Check Frontend Developer tools for Drupal core for how to use this.
Comment #16
finnsky commentedComment #17
kostyashupenkoComment #18
kostyashupenkoGonna update everything.
1 hour.
Comment #19
kostyashupenkoComment #20
ckrinaThis looks great, thanks for working on this!
Reviewing the patch I've noticed the element moves depending on the state, and it shouldn't happen: the link should stay on the same position regardless its state. Here's a video showing it:
So moving it back to Needs work to fix this.
Also, adding Needs Accessibility review because I think there's already enough code to review it.
Comment #21
ckrinaComment #22
kostyashupenkoRe #20 :
Honestly i can't reproduce this issue, is it "/node" page ? And tell me please which browser and which version on your side?
But better re-test it, since some code was reworked)
Comment #24
micnap commentedFor the requested accessibility review, I tested it with keyboard-only navigation on Safari and Chrome on a Mac and then with Safari with the VoiceOver screen reader. Here's a video of it: https://www.youtube.com/watch?v=CgQNJ49L5r4
The list items are not getting the blue background on keyboard focus. They're getting a green border instead.
Comment #25
kostyashupenkoRe #24:
Figma is not really clear for me in that case. Well, green border - it is just default state for any focusable elements of claro, so on hover links becomes with blue background, but just on focus - green border, no? And in case if hover + focus = blue background + green border around.
Please provide more information about how it should looks. Thanks!
Comment #26
kostyashupenkoComment #27
finnsky commentedComment #28
finnsky commentedI added new patch since i started to work on it earlier and with another approach.
So what is done:
1) Added common component `Icon Link` https://www.figma.com/file/OqWgzAluHtsOd5uwm1lubFeH/Drupal-Design-system... as separated entity, not strictly related to contextual links.
To check its styles/variations create new node with basic html content from https://gist.github.com/iberdinsky-skilld/74326099e87a1078d1540bac3d113c1c
2) Updated styles for contextual region and menu. I reused styles from dropdowns https://www.figma.com/file/OqWgzAluHtsOd5uwm1lubFeH/Drupal-Design-system...
3) Added `core/themes/claro/css/theme/contextual.icons.theme.css` with icons to keep toolbar styles fine.
4) Added js theming function for this icon. But core isn't fine with it, since `AuralView` of contextual module force rewrites content of button. https://git.drupalcode.org/project/drupal/-/blob/8.8.x/core/modules/cont...
So i had to change contextual module js a bit just for example. Maybe we need to make followup issue in contextual module because currently Drupal.theme.contextualTrigger function is useless https://git.drupalcode.org/project/drupal/-/blob/8.8.x/core/modules/cont...
5) Tested changes in ChromeVox. Seems still fine.
Comment #29
finnsky commentedin addition to #28 : 4
we can add rewrite of AuralView inside theme as well to avoid contextual module changes.
Comment #31
ckrinaThanks @finnsky for adding Action link component and reusing the dropdown styles! Your strategy to keep components isolated is a really good approach. I would move the work here based on this approach.
Comment #32
andrewmacpherson commented@ckrina asked for an accessibility review in #20.
You don't need to wait for code to do an accessibility review :-)
I don't understand all the designs. The last 2 scenarios don't have labels or explanations, so I'll call them pic-6 and pic-7.
Comments #24 - 25 also query this...
That's desirable, and we should keep it. The green border is the focus indicator, and we're aiming for a consistent focus indicator throughout the theme. (The intention is to avoid the Seven theme's problem of wildly inconsistent focus styles; those are confusing to follow because you don't know what the focus style actually is for a given element.)
I don't know what the blue background in the designs represents. Note that in pic-7 the focus appears to be on the button, so whatever the blue background on the edit link represents, it isn't focus.
Re. #28 - 29:
The patch doesn't apply today, so I haven't manually tested it yet.
Forking the AuralView in Claro will increase the maintenance burden in the long term. The small changes to the module's JS in #28 look OK to me:
text-indentmethod of hiding text (which sometimes doesn't play very well with focus styles in user stylesheets.)It will be worth getting the front-end framework manager's view on this.
(Aside: "AuralView" is a poor name, but that's for another issue.)
Leave the "needs accessibility review" in place please.
Comment #33
finnsky commented1) added small fix in aural view.
2) Fixed SettingsTrayBlockFormTest. It had
- `span` selector inside block
- `seven` theme disabled for checking. But claro has blocks contextual disabled aswell https://git.drupalcode.org/project/drupal/-/blob/8.8.x/core/themes/claro...
3) Fixed patch after stable removing
4) Added small nightwatch test for contextuals. Not sure about its location and tag. Please review.
Comment #34
KondratievaS commentedTested patch from #33 and result is NOT OK:
1. icon should be round
2. pencil should be white
Comment #35
KondratievaS commentedComment #36
finnsky commentedi think it is related to simplytest environment.
dev review still needed.
Comment #37
ckrinaThanks for the review, @andrewmacpherson! Based on your comments I've updated the Claro guide with the focus state so it's easier to point to it in the future with some examples: https://www.drupal.org/docs/8/core/themes/claro-theme/design#s-focus-state.
And also sorry for the screenshot hiding the description/title for each state. I didn't even realized! Here's a new one updating it (replaced it on the summary).
Comment #38
bnjmnmDid a quick review and spotted a few things:
This test is failing on DrupalCI, although it is running fine for me locally. It's not really in the scope of this issue (doesn't even test Claro) so it may be easier to just remove. If there's significant interest in having this, the fastest way is probably adding this to an existing FunctionalJavascript test. That can spare Nightwatch environment headaches.
It looks like this comment is no longer relevant as the selectors aren't heavy like they are in core. It sounds like there may have been a good reason for having them be more specific, so it would be worth seeing if it's better to remove the comment or bring back the longer selectors.
Comment #39
hog commentedI removed Nightwatch as recommended in the #39 comment.
@KondratievaS Can you check this comment as well. I think we can move the test to the `FunctionalJavascript test`.
Comment #40
KondratievaS commentedTested patch from #39 and got same result as on #34
Comment #41
bnjmnmRe #40 @KondratievaS , the issues you've posted screenshots for there and in #34 can probably most easily be explained due you your Tugboat (and I'm guessing Simpletest) instance running 8.9. This patch was being done on 9.0 (which I'm actually now changing to 9.1 since this isn't a change that can get in post-beta).
Regarding #39 It shouldn't be necessary to add any tests. The Nightwatch test that was previously there only covered functionality that already has coverage in
\Drupal\Tests\contextual\FunctionalJavascript\ContextualLinksTest. Contextual links already have strong test coverage. This patch only impacts styling, so my feeling is there are no functional differences that would require test coverage. I'll wait a few days to see if anyone feels otherwise, but if I don't see anyone advocating for the specific changes in this patch to get test coverage, I'll continue reviewing this with the assumption it does not.Comment #42
komalk commentedCreate patch for the issue. Refer the screen shot.
Comment #43
bnjmnm@kostyashupenko it does not look like you are building from the previous patch as there are only a few changed lines. Perhaps that is your interdiff? It is also not clear what you patch is intending to address - the issues reported in #34 and #40 were due to them applying the patch to an incorrect branch, which was pointed out in #41. The next patch should build from #39.
Comment #45
hog commentedComment #46
hog commentedComment #48
bnjmnm@HOG could you explain what you changed in #45 and #46,? it's not clear what exactlywas changed. Part of this is due to the interdiff not being what we'd expect.
I'm not sure how you're currently generating the interdiff, but to generate an interdiff that will work best on this issue: While on the branch with the most recent changes
git diff (branch with the previous changes) > interdiff_(before)-(after).txt.Thanks for continuing to work on this issue!
Comment #49
komalk commentedComment #50
finnsky commented@komalkolekar seems you accidentally removed part of previous work on AuralView fixes and tests
Comment #51
komalk commented@finnsky please review the new patch.
Comment #52
komalk commentedComment #53
finnsky commented@komalkolekar hi! Thanks for patching this. But actually I'm not sure why you added that background images. #39 and previous patches adding inline svgs approach, which seems more modern and flexible. Imo background image is a step back.
Patch from #46 still valid and should be reviewed.
Comment #54
boulaffasae commentedI think inlining image is already in progress at
Update: sorry for misunderstanding, about the
background-image: url(../../images/core/bebebe/pencil.svg);i think it need to be removed.Comment #55
boulaffasae commentedHi komalkolekar, #51 have some issues:
remove newline at the end of files:
contextual.jsAuralView.jsUpdate: You added
background-image: url(../../images/core/bebebe/pencil.svg);, pencil icon is inlined in the button DOM elementcore/themes/claro/js/contextual.es6.js.Comment #56
boulaffasae commentedTested patch from #46 for desktop resolutions in Chrome, FF, Safari and IE browsers. Result is OK
IE 11:
Safari 13:
Comment #57
bnjmnmI think #46 is the best patch to work from going forward. There's no details on what #49 and #51 intended to do but I see they undo fixes that were added in earlier patches.
. The background image url approach is preferable, although I still acknowledge that the current approach has its benefits. The precedent was set for Claro in #3036732: Action link component and #3083657: Devise strategy to address several SVG loading+usage issues (where the pros and cons of many SVG approaches were considered). A postcss build tool for inlining on build will be added in #3085245: Un-inline SVGs in pcss.css files, add build tool to inline them when compiled. Also worth mentioning that providing an SVG in a theme function would likely require several additional maintainer/managers to approve as it introduces a new pattern and seems like something that could get some pushback.
Since icon-link is abstracted into something that is applicable to more than contextual links, that asset should become its own library that contextual-trigger depends on.
There's no need to create icons that already exist in core. This was a temporary workaround when Claro was contrib and it couldn't be reliably counted on to be in a specific path. These can be removed and the background: urls can reference the icons in core/misc. Any new icons can be added to a new images/icons dir that similarly sorts by color.
Comment #58
boulaffasae commentedComment #59
boulaffasae commentedaddress #57.
core/miscComment #60
bnjmnmNice quick turnaround on the feedback in #57 @boulaffasae! One thing I noticed is that the system tray changes are still there. Those can be reverted as well as they were only necessary because of the changes in the contextual module.
Comment #61
boulaffasae commentedComment #62
vacho commentedThe mouse over effect doesn't get the mockup effect (blue re-salted)
Comment #63
bnjmnmUnless I'm misunderstanding what is being pointed out in #62, the hover behavior in the attached .gif appears to match the designs. Hovering over the icon or list items changes the background to a pale blue. If I'm missing something, perhaps you can detail exactly where a problem was found.
Here's some additional things I found on review:
These are the only rules in the file that impact elements that exist in Claro. Everything else is hypothetical and unrelated to Contextual links. The styles that are not applicable to contextual should be removed from the patch and dealt with in its own issue where every style variation can be reviewed and approved.
This commented bit should be removed
For BEM,
.icon-link--size--smallshould be changed to.icon-link--size-small, in the CSS and the JS that adds this classThese styles should be removed, they are in the scope of a different issue: #3020422: Toolbar style update
It is best to avoid using
!important, but if it's necessary it should have a comment explaining why it is needed. I removed the!importanton my local and did not have a problem, but perhaps there's a specific use case this is needed for? If there is, that's what should be documented. If not, then remove the!importantThe right: and left: rules here aren't needed because the position is relative and not changed in other styles, so it's just declaring a style that is already present. Avoiding float: would also be nice, which can be done be replacing float: left; with margin-right: auto; (and vice versa for RTL)
This would require some manual testing, but it doesn't look like it's necessary to use float:, right:, left: or clear: here. This could potentially be needed if the contents of .contextual-links were narrower than the trigger icon, but that would not happen as the padding alone makes it wider.
s/Constucts/Constructs
Comment #64
finnsky commented#63
@bnjmnm
--size--small is a valid BEM "--mod-name--mod-val"
https://en.bem.info/methodology/naming-convention/#two-dashes-style
Comment #65
hog commented@bnjmnm
I fixed your feedbacks in #63
About icon-link component: It's part of contextual component, why not to add this component in these tasks?
Comment #66
hog commentedComment #67
bnjmnmGood point, this doesn't deviate from BEM. It does, however, deviate from Drupal's conventions. I think this should still change so it's consistent with the similar CSS in Drupal core, such as buttons. The only place that style is used in core (based on a grep of css for
\..*--.*--is layouts.There are 14 CSS rules in that file. There is no way to review/test most of those rules because the selectors do not seem to be targeting anything that currently exists in Drupal core (happy to be proven wrong). Either those rules need to be removed, or there needs to be some means of testing them. There are currently no primary or large icon-links, and selectors like
.icon-link--primary .icon-link__iconmay not even reflect how icon links will be structured.The rules in icon-link.pcss.css that target something that exists in Claro can definitely stay. The rest can either be removed or we'd need examples of how to find them in use so they can be reviewed.
Comment #68
lauriiiDiscussed this on the admin UI weekly meeting today with @ckrina, @bnjmnm, @nod_, @saschaeggi and Gábor Hojtsy. On the call we agreed that we should implement the contextual links tray based on the dropbutton tray implementation for consistency. We should also open a follow-up for discussing whether we should use the Absolute Zero blue in future for some of the states in the tray for both, contextual links and dropbuttons.
Comment #69
andypostGuess follow-up exists
Comment #70
bnjmnmThis patch changes the links styling to match the dropbutton tray, as mentioned in #68
Also, per #67, a classname was changed to match Drupal core's BEM conventions, and several CSS rules were removed as no elements exist for them to style and wouldn't be testable/reviewable as a result.
Comment #71
lauriiiOverall this looks great. Just a few points.
Maybe we could add a new
contetual__triggerclass to clean up this?Comment #72
bnjmnmNice, #71.1 made it possible to reduce the specificity of several rules!
Regarding #2, unlike Toolbar, I'm not entirely convinced this would need to wait on #3070493: Introduce a mechanism to provide an alternate Claro design for the toolbar in the future, because:
I can still understand if the above doesn't supersede consistency concerns, but figured I'd mention it.
Comment #73
lauriiiI agree that the consistency aspect isn't as critical here as it is on #3070493: Introduce a mechanism to provide an alternate Claro design for the toolbar in the future. I think we need at least a follow-up for implementing the contextual links designs in the contextual links module. The reason I'm not sure whether we should do it here or not is that since contextual links are not used in the admin UI that often, it might not make sense to implement the contextual links in Claro without also implementing them in the contextual links modules.
Comment #74
bnjmnmPostponed on #3070493: Introduce a mechanism to provide an alternate Claro design for the toolbar in the future. Any further steps require knowing how these styles will be applied on front end themes, which that issue will decide.
Comment #75
dyannenovaWhile we're working on an update to contextual links, we should ensure that the icons have correct contrast in Windows High Contrast mode. In the current patch link and toolbar icons can't be seen in IE11, and don't meet contrast requirements in Windows High Contrast mode.
Comment #76
bnjmnmImplements the default theme styling based on the pattern from #3070493: Introduce a mechanism to provide an alternate Claro design for the toolbar in the future and adds test coverage for it.
Added support for icons in high contrast mode. This required overriding AuralView's render method. This can be simplified to just a theme function override once #3172956: Add theme function to process contextual trigger text. lands.

Also cleans up several unnecessary rules.
Note that the interdiff is based on a reroll of #72 that reflects the addition of #3171366: Comments from variables.pcss.css create nonuseful noise in compiled css, so the patch/interdiff sizes may not appear to line up, but they actually do.
Comment #77
lauriiiComment #78
bnjmnmComment #79
bnjmnmThe previous reroll had problems. Here is a different reroll.
Comment #80
lauriiiI assume that the icon-link is not supposed to look like this when contextual link is focused without hovering the region.
The contextual links tray could be rendered on top of other elements such as images. For example in this case it seems like the focus effect is difficult to distinguish from the background.
Some Bartik and Umami styles override contextual links styles. We will have to decide how to handle these.
Comment #82
lauriiiMoving to needs work since #3070493: Introduce a mechanism to provide an alternate Claro design for the toolbar in the future was committed. Removing needs frontend framework manager review tag because the approach was already reviewed in that issue.
Comment #83
anmolgoyal74 commentedRe-Rolled #79.
Comment #84
bnjmnmThe reroll in #83 had two instances of a function being declared twice. A quick manual test after rerolling usually surfaces these if they somehow get past git.
Reroll based on #78, which appears to address #80 (I suspect those issues were part of a flawed reroll in #79)
Comment #85
bnjmnmArgh
Comment #86
boulaffasae commentedUpdated:
padding-leftfor<ul>We have a probleme with the focus
Comment #87
boulaffasae commentedToo many files 🥶
Comment #88
bnjmnmComment #89
sulfikar_s commentedHello,
I've applied the patch in #88 and it applied cleanly. But found some issues with those. Attaching the screenshots below,
After the patch,
I think it needs work!
Comment #90
bnjmnmThanks @sulfikar_s! This takes care of the padding, but I'm not able to reproduce the focus issue, this is how focus appears with or without hovering:

Something that could help: First, confirm the testing of this patch is happening on the Drupal 9.2 branch. This requires the changes in 9.2 to fully work correctly.
If this is definitely happening on 9.2, this would help narrow down the issue: Inspect a contextual link with this issue to identify the styles/css file causing the problem. Focus is either adding a bad style or removing a good one. If I know where that's happening on other users sites, I should be able to figure out why it's not happening on mine.
Comment #92
sulfikar_s commentedHello @bnjmnm, I've tested the last 2 patches of your's on Drupal 9.2.x-dev. I've applied your new patch and it applied cleanly even though it failed the testing!
I'm attaching a video where you can see the issue I mentioned in my previous comment
I've also addressed your suggestions in that video.
Comment #93
bnjmnmThe video in #92 provided exactly the info I needed, thanks!
This should take care of it, and the test failure in #90 looks to be an unrelated test, so I think things will be in good shape again(?)
Comment #94
boulaffasae commentedHi Everyone,
I found some issues:
Comment #95
boulaffasae commentedThe dropdown must shows up right to get enough space :

Comment #96
boulaffasae commentedComment #97
boulaffasae commentedHello,
I fixed issues found at #95
right if necessary to get enough space.
Comment #98
bnjmnmIt's great that you're approaching this with such attention to detail, but these particular changes are out of scope for this issue. Contextual links items flowing outside of the viewport is not unique to these Claro styles. It's something that happens in all of Drupal core. If this is a problem you feel is worth addressing, it should be in a separate issue that attempts to fix it for all of core.
If you want to try fixing this in another issue, Drupal core already has a great library for positioning:
core/popperjs, and that should be used instead of custom logic.Using !important should be avoided whenever possible, and I suspect there are other ways to get the same results differently , such as increasing specificity by doubling the .contextual-links selector. When a situation arises where !important appears to be the only option, it should be accompanied by a comment explaining why
Comment #99
boulaffasae commentedHi bnjmnm,
I combined
ul.contextual-linkswith thediv.contextualabove :And reverted the code that address the
Contextual links items flowing outside of the viewportissueComment #100
volkswagenchickAdding
NorthAmerica2021andEasy Out of the Boxtags for visibility.DrupalCon NA is April 12-16 with a focus on EOOTB on Wednesday, April 14.
Thanks
After DrupalCon, I'll remove the
Easy Out of the Box, thanks!Comment #101
vacho commentedAfter review, this issue looks good to me. Works and the code looks fine.
Comment #102
vacho commentedComment #103
ckrina@vacho thank you for taking the time to review this! In order to help the core committers (so they don't have to test&review the whole patch, or at least help them a bit) it would be great if you could:
Comment #107
paulocsRe-rolled the patch and opened a MR as @Cristina Chumillas mentioned in the easy-out-of-the-box meeting.
Comment #108
javi-er commentedHi! I tested this issue on Firefox, Chrome, Safari and Internet Explorer 11 and can say that it matches the Figma and the links are accessible both with the mouse and the keyboard. The only detail to mention is that the "pencil" icon can be triggered with the spacebar or enter key while the contextual links ("edit view" in this case) are triggered only by the enter key since it's a regular link and not a button. But maybe this is a separate issue.
Regarding Safari on Mac, I had to enable two settings, one at OS level and a Safari option as well for the tab key to focus on links, it's described in this article. If the contextual links were buttons instead, it would work no matter the settings I think.
Below are screenshots of the different browsers:
Chrome keyboard
Chrome mouse
Firefox keyboard
Safari keyboard without enabling OS / safari settings
Safari keyboard enabling OS / safari settings
Comment #109
vacho commentedPatch rerolled to 9.3.x version
Comment #110
bnjmnm@vacho, that rerolled patch was not necessary. Comment #106 has a merge request that applies against 9.3 without issue
Comment #111
ckrinaThanks everybody for all the work here! I've reviewed the MR and left a few CSS feedbacks.
This also still needs to solve @bnjmnm's feedback from #98 (point 2) where he asks to avoid using so many
!importantin the code (and suggests a way to avoid it).The MR/patch still has a lot of
!important, so it should be addressed too.I also think that several of the suggestions from #23 have been addressed. And because the code has changed so much from then, a new accessibility review might be good. Specially based on #108 comments.
Comment #113
imalabya@ckrina Reviewed the variables and updated the MR
Comment #114
volkswagenchickTagging for Design4Drupal 2021. Contributions are Friday, July 22
https://design4drupal.org/
Comment #115
volkswagenchickCorrecting tag Design4Drupal2021
Comment #116
andrewmacpherson commentedPlease don't specify any actual colours inside a high-contrast/forced colours media query.
Setting an explicit black/white icon and/or background is missing the point of a forced-colours mode. The colours are supposed to be the user's choice, not the author's. Users can devise any custom colour scheme they please; mine is a lovely yellow-on-maroon today. So unless black and white are essential to understanding what the button is for (they aren't), don't set these black and white colours.
Note that "Windows high contrast" is a misnomer. Some people use it to achieve a low contrast colour scheme. If a user needs sepia-on-beige because of photosensitivity, then forcing a bright white button background is a bit aggressive.
Use system colour keywords -
fill="ButtonText"for the icon in this case, since it's used on a<button>.Please add a
forced-colorsmedia query to do the same for modern browsers which follow W3C CSS. Betweenforced-colors:activeand-ms-high-contrast:activewe can reach all of our supported browsers on Windows. (Or at least we will when the next Firefox ESR comes out soon.)Remind me please, what are the different situations which these two selectors represent?
I don't think there's any need for swapping the colours around when the list is open. It's apparent from the fact that you can see the list contents.
Comment #117
m4oliveiThanks for that explanation. Very educational. In addition to the reasons noted, I also found that the styles present for
-ms-high-contrastmean that the pencil icon isn't visible in the active or open state for "High Contrast Black" theme (the default) in Windows:Of course, it could actually work well depending on the users color scheme choices.
Without any
-ms-high-contraststyles for the.contextual__triggerclass, you end up slightly better off at least for "High Contrast Black" theme in Windows:Ideally the icon would have color applied in the default styles via
filland/orstrokeCSS properties, and then get adjusted for state (:active, :focus, etc.). That would allow us to make any necessary adjustments in MS high contrast / forced-colors by adjustingfilland/orstrokeusing CSS system colors. However, the SVG use here is applied in CSS using a data URI which doesn't allow adjustment tofillorstrokeas far as I'm aware :/.I'll push a commit to remove the relevant
-ms-high-contraststyles for folks to look at. Beyond that, not sure how to resolve ^.The first is the active state of the pencil icon, eg. when a user presses their mouse button. The later is the open state of the contextual links, eg. after the user finishes their button press and the contextual links are visible. It remains in open state until the user removes focus.
Comment #118
m4oliveiComment #119
m4oliveiOn second though, I was inspired by #3171726: Claro Shortcuts star fails WCAG Use of Color and Non-text contrast to add the high contrast styles in a style tag inside the SVG files. This should do nicely for high contrast mode I think.
Chrome, Contextual links open:
Chrome, Contextual links open on hover:
Edge, Contextual links open:
Edge, Contextual links open, hover:
Comment #120
volkswagenchickAdding tag for DrupalCon
Europe2021. ThanksComment #122
andypostPatch won't apply
Comment #125
yogeshmpawarEither we need to change the base branch of https://git.drupalcode.org/project/drupal/-/merge_requests/829 or we need to review newly created MR - https://git.drupalcode.org/project/drupal/-/merge_requests/1960
Comment #129
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It either no longer applies to Drupal core, or fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.
Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.
Comment #133
gauravvvv commentedComment #134
finnsky commentedImo it should now definitely use floating UI lib. Which now in core.
Comment #135
smustgrave commentedMR has failures.
Did not review or test
Removing stable blocker because claro is marked stable
Removing NorthAmerica2021, Design4Drupal2021, Europe2021 as previous events this was worked on
#134 should be considered too or mentioned why not I think.
Comment #138
yash.rode commented#3023322-134: Contextual Links Style Update We cannot use floating UI lib, that is a functionality change and this is specifically for styling.
Comment #139
yash.rode commentedTests are passing now. Ready for review.
Comment #140
finnsky commentedAdded some comments. Take a look.
Also please. Why MR modifies core/misc/jquery.form.js ?
Comment #141
yash.rode commentedHi, I have addressed all the feedbacks but I am not sure about the style that was added to the SVG, I removed those for now and added stroke attribute, it is working same. So is that fine, or am I missing something here?
Comment #142
smustgrave commentedCan the issue summary be updated using the standard issue template please. As a UI fix would be super useful to have before/after screenshots as part of the summary.
Wonder if the "Needs followup" tag can be removed.
There's an open thread around the new function extend_library() which I believe was being used to deprecate a library but we have a mechanism for that now.
Thanks!
Comment #144
utkarsh_33 commentedComment #145
finnsky commentedI still see imported variables in
core/themes/claro/css/theme/contextual.icons.theme.css
core/themes/claro/css/theme/contextual.theme.css
and some unexpected changes in core/themes/claro/css/theme/media-library.css
Comment #146
utkarsh_33 commentedAddressed all the feedbacks in #145.
Regarding
the changes are made to make the pencil visible in high contrast setting of the browser.Before that it was styled using inline css.
For now I have removed the use of stroke and used fill.
Attaching the screenshots of the state when the stroke/fill is not used
Comment #147
utkarsh_33 commentedComment #148
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.
Comment #149
utkarsh_33 commentedComment #150
smustgrave commentedAs a UI change can the User section of the issue summary template be added back and screenshots be included.
Comment #151
shweta__sharma commentedAdded standard IS template.