- ๐ฉ๐ชGermany digitaldonkey
#6 for me.
Before Gin on /admin/people/permissions was unusable. Patch fixed it. - Status changed to Needs work
11 months ago 9:54pm 15 May 2024 - ๐บ๐ธUnited States mortona2k Seattle
The patch works for RC10, but needs to be rerolled for dev.
innoraftDebdeep โ made their first commit to this issueโs fork.
- Status changed to Closed: duplicate
10 months ago 5:51pm 6 June 2024 - ๐จ๐ญSwitzerland saschaeggi Zurich
Can somebody test this with the latest 8.x-3.x-dev? We did cleanup quite a bit of code for tables, just to check if this is now obsolete or if we still need to investigate this ๐
Thank you!
- ๐ฎ๐ณIndia Tirupati_Singh
@saschaeggi, I tried replicating the issue on the latest 8.x.3.x-dev version and the issue persists. On selecting the
Stack mode
onTablesaw mode
option using the responsive_tables_filter module, the table selectcheckbox
is converted intotoggle
mode and design is breaking for the toggle option. I've tested all the mode options available in theTablesaw mode
,Swipe mode
andColumn toggle
mode is working fine but theStack mode
is breaking the design and it turns thecheckbox
into atoggle
which is not being rendered properly. Attaching screenshots for the reference. - ๐ฎ๐ณIndia Tirupati_Singh
I tried applying the provided patches but the patching is not getting applied. Getting errors while applying the patch
- Applying patches for drupal/gin https://www.drupal.org/files/issues/2023-01-06/3330248_5.patch (Table column toggle) Testing ability to patch with git apply. This command may produce errors that can be safely ignored. git -C '/app/web/themes/contrib/gin' apply --check -v '-p1' '/tmp/667d0ef9da536.patch' Checking patch dist/css/base/gin.css... error: while searching for: background-color: var(--gin-border-color-form-element); } :not(.form-checkboxes):not(td):not(.media-library-item__click-to-select-checkbox):not(.field-content) > .form-type--checkbox input { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); overflow: hidden; error: patch failed: dist/css/base/gin.css:1913 error: dist/css/base/gin.css: patch does not apply Checking patch includes/form.theme... error: while searching for: if ($variables['element']['#type'] === 'checkbox') { // Way to identify if checkbox is in a checkboxes group // as Drupal doesn't provide one yet (see #2643012) if (!isset($variables['element']['#error_no_message'])) { $suggestions[] = 'input__checkbox__toggle'; } } } error: patch failed: includes/form.theme:115 error: includes/form.theme: patch does not apply Checking patch styles/base/_form.scss... error: while searching for: } // Single Checkbox: show as toggle :not(.form-checkboxes):not(td):not(.media-library-item__click-to-select-checkbox):not(.field-content) > .form-type--checkbox { position: relative; margin-left: 0; error: patch failed: styles/base/_form.scss:122 error: styles/base/_form.scss: patch does not apply Testing ability to patch with git apply. This command may produce errors that can be safely ignored. git -C '/app/web/themes/contrib/gin' apply --check -v '-p0' '/tmp/667d0ef9da536.patch' Checking patch a/dist/css/base/gin.css => b/dist/css/base/gin.css... error: a/dist/css/base/gin.css: No such file or directory Checking patch a/includes/form.theme => b/includes/form.theme... error: a/includes/form.theme: No such file or directory Checking patch a/styles/base/_form.scss => b/styles/base/_form.scss... error: a/styles/base/_form.scss: No such file or directory Testing ability to patch with git apply. This command may produce errors that can be safely ignored. git -C '/app/web/themes/contrib/gin' apply --check -v '-p2' '/tmp/667d0ef9da536.patch' Checking patch css/base/gin.css... error: css/base/gin.css: No such file or directory Checking patch form.theme... error: form.theme: No such file or directory Checking patch base/_form.scss... error: base/_form.scss: No such file or directory Testing ability to patch with git apply. This command may produce errors that can be safely ignored. git -C '/app/web/themes/contrib/gin' apply --check -v '-p4' '/tmp/667d0ef9da536.patch' error: git diff header lacks filename information when removing 4 leading pathname components (line 24) patch '-p1' --no-backup-if-mismatch -d '/app/web/themes/contrib/gin' < '/tmp/667d0ef9da536.patch' patching file dist/css/base/gin.css Hunk #1 FAILED at 1913. 1 out of 1 hunk FAILED -- saving rejects to file dist/css/base/gin.css.rej patching file includes/form.theme Hunk #1 FAILED at 115. 1 out of 1 hunk FAILED -- saving rejects to file includes/form.theme.rej patching file styles/base/_form.scss Hunk #1 FAILED at 122. 1 out of 1 hunk FAILED -- saving rejects to file styles/base/_form.scss.rej patch '-p0' --no-backup-if-mismatch -d '/app/web/themes/contrib/gin' < '/tmp/667d0ef9da536.patch' can't find file to patch at input line 11 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |commit 4b63a81 |Author: Karoly Negyesi <chx1975@gmail.com> |Date: Thu Jan 5 17:58:51 2023 -0800 | | 5 | |diff --git a/dist/css/base/gin.css b/dist/css/base/gin.css |index ca584bc..5ff1c12 100644 |--- a/dist/css/base/gin.css |+++ b/dist/css/base/gin.css -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 24 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/includes/form.theme b/includes/form.theme |index a9423c1..8c33970 100644 |--- a/includes/form.theme |+++ b/includes/form.theme -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 52 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/styles/base/_form.scss b/styles/base/_form.scss |index 4ac9404..4c71c34 100644 |--- a/styles/base/_form.scss |+++ b/styles/base/_form.scss -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored patch '-p2' --no-backup-if-mismatch -d '/app/web/themes/contrib/gin' < '/tmp/667d0ef9da536.patch' can't find file to patch at input line 11 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |commit 4b63a81 |Author: Karoly Negyesi <chx1975@gmail.com> |Date: Thu Jan 5 17:58:51 2023 -0800 | | 5 | |diff --git a/dist/css/base/gin.css b/dist/css/base/gin.css |index ca584bc..5ff1c12 100644 |--- a/dist/css/base/gin.css |+++ b/dist/css/base/gin.css -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 24 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/includes/form.theme b/includes/form.theme |index a9423c1..8c33970 100644 |--- a/includes/form.theme |+++ b/includes/form.theme -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 52 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/styles/base/_form.scss b/styles/base/_form.scss |index 4ac9404..4c71c34 100644 |--- a/styles/base/_form.scss |+++ b/styles/base/_form.scss -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored patch '-p4' --no-backup-if-mismatch -d '/app/web/themes/contrib/gin' < '/tmp/667d0ef9da536.patch' can't find file to patch at input line 11 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |commit 4b63a81 |Author: Karoly Negyesi <chx1975@gmail.com> |Date: Thu Jan 5 17:58:51 2023 -0800 | | 5 | |diff --git a/dist/css/base/gin.css b/dist/css/base/gin.css |index ca584bc..5ff1c12 100644 |--- a/dist/css/base/gin.css |+++ b/dist/css/base/gin.css -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 24 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/includes/form.theme b/includes/form.theme |index a9423c1..8c33970 100644 |--- a/includes/form.theme |+++ b/includes/form.theme -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 52 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/styles/base/_form.scss b/styles/base/_form.scss |index 4ac9404..4c71c34 100644 |--- a/styles/base/_form.scss |+++ b/styles/base/_form.scss -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2023-01-06/3330248_5.patch
- Assigned to Tirupati_Singh
- Status changed to Active
9 months ago 1:15pm 28 June 2024 - ๐ฎ๐ณIndia Tirupati_Singh
Changing issue to Active as the issue still persist.
- Merge request !445Issue #3330248: Fixed the tableselect checkbox toggle issue for responsive-tables-filter. โ (Merged) created by Tirupati_Singh
- Issue was unassigned.
- Status changed to Needs review
9 months ago 2:23pm 28 June 2024 - ๐ฎ๐ณIndia Tirupati_Singh
I've created MR for the issue. Please review the MR. Attaching before and after screenshots for reference.
- ๐จ๐ญSwitzerland saschaeggi Zurich
This needs a final review, please review MR !445 or https://git.drupalcode.org/project/gin/-/merge_requests/445/diffs.diff
-
saschaeggi โ
committed 04d97907 on 8.x-3.x authored by
Tirupati_Singh โ
Issue #3330248: Fixed the tableselect checkbox toggle issue for...
-
saschaeggi โ
committed 04d97907 on 8.x-3.x authored by
Tirupati_Singh โ
-
saschaeggi โ
committed 29b1760a on 4.0.x authored by
Tirupati_Singh โ
Issue #3330248: Fixed the tableselect checkbox toggle issue for...
-
saschaeggi โ
committed 29b1760a on 4.0.x authored by
Tirupati_Singh โ
- Status changed to Fixed
9 months ago 12:32pm 6 July 2024 Automatically closed - issue fixed for 2 weeks with no activity.