Needs work
Project:
Layout Builder Backgrounds
Version:
8.x-1.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Dec 2024 at 02:39 UTC
Updated:
17 Dec 2024 at 21:06 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
siramsay commentedPlease use the patch below.
Comment #3
siramsay commentedComment #4
siramsay commentedAdding a patch or use checkout the issue branch.
Comment #5
sourabhsisodia_ commentedComment #6
siramsay commentedCode on branch works https://git.drupalcode.org/issue/layout_builder_backgrounds-3493451/-/tr...,
And so does patch.
Adding needs reviews.
Comment #7
siramsay commentedComment #9
sourabhsisodia_ commented@siramsay I have reviewed the changes and the changes looks good. Although I have fixed some code formatting issue in your commit and after pushing code to a branch we need to create a MR into the branch we need to implement these changes . So raised a MR.
Attaching screenshot for reference . RTBC ++.
Comment #10
sourabhsisodia_ commentedComment #11
siramsay commented@sourabhsisodia_ Thanks for fixing the coding standards, my IDE put those curly brackets on the next line.
I am changing this back to needs work. Please cancel MR. I can't do that for some reason.
Comment #12
siramsay commentedI am working on this.
Comment #13
siramsay commentedWith the default field length of 128 it was not possible to add long gradients such as the example below which is 210 char.
I have made the field max length 256 char.
I have added a help note below the field.
Comment #14
siramsay commentedNew patch for longer gradient strings.
Comment #15
siramsay commentedThis works but could be better. People could add strings longer than 256 char.
Comment #16
siramsay commented