Bugzilla – Attachment 188102 Details for
Bug 39320
Create a 'landing page' for ERM
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
39320: (QA follow-up): Add a handler for drag and drop
39320-QA-follow-up-Add-a-handler-for-drag-and-drop.patch (text/plain), 2.54 KB, created by
Pedro Amorim
on 2025-10-17 15:16:28 UTC
(
hide
)
Description:
39320: (QA follow-up): Add a handler for drag and drop
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2025-10-17 15:16:28 UTC
Size:
2.54 KB
patch
obsolete
>From c636150a95ff2b3f23122f421b59c1aae9d2d483 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@openfifth.co.uk> >Date: Fri, 17 Oct 2025 15:16:13 +0000 >Subject: [PATCH] 39320: (QA follow-up): Add a handler for drag and drop > >--- > .../vue/components/ModuleDashboard/ModuleDashboard.vue | 2 ++ > .../ModuleDashboard/WidgetDashboardWrapper.vue | 9 ++++++++- > 2 files changed, 10 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ModuleDashboard/ModuleDashboard.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ModuleDashboard/ModuleDashboard.vue >index de7828dc660..8a0bc59f343 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ModuleDashboard/ModuleDashboard.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ModuleDashboard/ModuleDashboard.vue >@@ -17,6 +17,7 @@ > class="dragArea list-group w-full" > :list="selectedWidgetsLeft" > group="widgets" >+ handle=".widget-drag-handle" > > > <component > v-for="(widget, index) in selectedWidgetsLeft" >@@ -37,6 +38,7 @@ > class="dragArea list-group w-full" > :list="selectedWidgetsRight" > group="widgets" >+ handle=".widget-drag-handle" > > > <component > v-for="(widget, index) in selectedWidgetsRight" >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ModuleDashboard/WidgetDashboardWrapper.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ModuleDashboard/WidgetDashboardWrapper.vue >index 87a7e1ad76b..fa1b6b2660d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ModuleDashboard/WidgetDashboardWrapper.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ModuleDashboard/WidgetDashboardWrapper.vue >@@ -4,8 +4,11 @@ > <div class="row align-items-center"> > <div class="col-md-6"> > <h1 class="widget-title m-0"> >- <i v-if="icon" :icon="icon" :class="icon"></i> >+ <i class="fas fa-grip-vertical widget-drag-handle" >+ > </i >+ > > {{ name }} >+ <i v-if="icon" :icon="icon" :class="icon"></i> > </h1> > </div> > <div class="col-md-6 text-end"> >@@ -233,4 +236,8 @@ export default { > padding: 6px 12px; > margin-bottom: 6px; > } >+ >+.widget-drag-handle:hover { >+ cursor: grab; >+} > </style> >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 39320
:
187513
|
187514
|
187515
|
187516
|
187517
|
187518
|
187519
|
187520
|
187521
|
187522
|
187563
|
187568
|
187635
|
187636
|
187637
|
187638
|
187639
|
187640
|
187641
|
187642
|
187643
|
187644
|
187645
|
188094
|
188095
|
188096
|
188097
|
188098
|
188099
|
188100
|
188101
|
188102
|
188103
|
188104
|
188151
|
188279
|
188280
|
188281
|
188282
|
188283
|
188284
|
188285
|
188312
|
188315
|
188372
|
188375
|
188376
|
188637
|
188638
|
188639
|
188640
|
188641
|
188830
|
188831
|
188832
|
188833
|
188834
|
188835
|
188836
|
188837
|
188838
|
188839
|
188840
|
188841
|
188842
|
188843
|
188844
|
188845
|
188846
|
188847
|
188848
|
188849
|
188850
|
188851
|
188852
|
188853
|
188854
|
188855
|
188856
|
188857
|
188858
|
188859
|
188860
|
188861
|
188862
|
188863
|
188864