Re: [Django] #32647: Select multiple action checkboxes with shift+mouseclick in django admin

2021-04-21 Thread Django
#32647: Select multiple action checkboxes with shift+mouseclick in django admin
-+-
 Reporter:  varicocelehealing|Owner:  Carlton
 |  Gibson
 Type:  Bug  |   Status:  closed
Component:  contrib.admin|  Version:  3.2
 Severity:  Release blocker  |   Resolution:  fixed
 Keywords:  Admin, Changelist,   | Triage Stage:  Ready for
  Shift Click|  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Carlton Gibson ):

 In [changeset:"54d5bfa9c5eb3e2936a0e382724869867059fad3" 54d5bfa9]:
 {{{
 #!CommitTicketReference repository=""
 revision="54d5bfa9c5eb3e2936a0e382724869867059fad3"
 [3.2.x] Fixed #32647 -- Restored multi-row select with shift-modifier in
 admin changelist.

 Regression in 30e59705fc3e3e9e8370b965af794ad6173bf92b.

 Backport of 5c73fbb6a93ee214678f02ba4027f18dff49337b from main
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/075.03f2f296d5fb62d12eb3cc00a1322a06%40djangoproject.com.


Re: [Django] #32647: Select multiple action checkboxes with shift+mouseclick in django admin

2021-04-21 Thread Django
#32647: Select multiple action checkboxes with shift+mouseclick in django admin
-+-
 Reporter:  varicocelehealing|Owner:  Carlton
 |  Gibson
 Type:  Bug  |   Status:  closed
Component:  contrib.admin|  Version:  3.2
 Severity:  Release blocker  |   Resolution:  fixed
 Keywords:  Admin, Changelist,   | Triage Stage:  Ready for
  Shift Click|  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Carlton Gibson ):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"5c73fbb6a93ee214678f02ba4027f18dff49337b" 5c73fbb]:
 {{{
 #!CommitTicketReference repository=""
 revision="5c73fbb6a93ee214678f02ba4027f18dff49337b"
 Fixed #32647 -- Restored multi-row select with shift-modifier in admin
 changelist.

 Regression in 30e59705fc3e3e9e8370b965af794ad6173bf92b.
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/075.8d9cfa610a2ff1a392a54b9a2f360060%40djangoproject.com.


Re: [Django] #32647: Select multiple action checkboxes with shift+mouseclick in django admin

2021-04-21 Thread Django
#32647: Select multiple action checkboxes with shift+mouseclick in django admin
-+-
 Reporter:  varicocelehealing|Owner:  Carlton
 |  Gibson
 Type:  Bug  |   Status:  assigned
Component:  contrib.admin|  Version:  3.2
 Severity:  Release blocker  |   Resolution:
 Keywords:  Admin, Changelist,   | Triage Stage:  Ready for
  Shift Click|  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Mariusz Felisiak):

 * stage:  Accepted => Ready for checkin


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/075.864f8d086ed0fcee7d5eb31707eccce0%40djangoproject.com.


Re: [Django] #32647: Select multiple action checkboxes with shift+mouseclick in django admin

2021-04-20 Thread Django
#32647: Select multiple action checkboxes with shift+mouseclick in django admin
-+-
 Reporter:  varicocelehealing|Owner:  Carlton
 |  Gibson
 Type:  Bug  |   Status:  assigned
Component:  contrib.admin|  Version:  3.2
 Severity:  Release blocker  |   Resolution:
 Keywords:  Admin, Changelist,   | Triage Stage:  Accepted
  Shift Click|
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Carlton Gibson):

 * has_patch:  0 => 1


Comment:

 
[https://github.com/django/django/pull/14288https://github.com/django/django/pull/14288
 PR]

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/075.ef00aff10349b4e17cd6f6df7971fbbf%40djangoproject.com.


Re: [Django] #32647: Select multiple action checkboxes with shift+mouseclick in django admin

2021-04-18 Thread Django
#32647: Select multiple action checkboxes with shift+mouseclick in django admin
-+-
 Reporter:  varicocelehealing|Owner:  Carlton
 |  Gibson
 Type:  Bug  |   Status:  assigned
Component:  contrib.admin|  Version:  3.2
 Severity:  Release blocker  |   Resolution:
 Keywords:  Admin, Changelist,   | Triage Stage:  Accepted
  Shift Click|
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Carlton Gibson):

 * owner:  nobody => Carlton Gibson
 * status:  new => assigned


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/075.beaf3b07109e112b704b925ec05a1c05%40djangoproject.com.


Re: [Django] #32647: Select multiple action checkboxes with shift+mouseclick in django admin

2021-04-15 Thread Django
#32647: Select multiple action checkboxes with shift+mouseclick in django admin
-+-
 Reporter:  varicocelehealing|Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  contrib.admin|  Version:  3.2
 Severity:  Release blocker  |   Resolution:
 Keywords:  Admin, Changelist,   | Triage Stage:  Accepted
  Shift Click|
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Carlton Gibson):

 This diff to the tests covers what should be the correct behaviour:

 {{{
 diff --git a/js_tests/admin/actions.test.js
 b/js_tests/admin/actions.test.js
 index 0077dd6ff3..302254d1ab 100644
 --- a/js_tests/admin/actions.test.js
 +++ b/js_tests/admin/actions.test.js
 @@ -15,9 +15,24 @@ QUnit.module('admin.actions', {
  }
  });

 -QUnit.test('check', function(assert) {
 +QUnit.test('check toggle all', function(assert) {
  const $ = django.jQuery;
  assert.notOk($('.action-select').is(':checked'));
  $('#action-toggle').click();
  assert.ok($('.action-select').is(':checked'));
  });
 +
 +QUnit.test('check shift-toggle', function(assert) {
 +const checkboxes = document.querySelectorAll('tr input.action-
 select');
 +checkboxes.forEach( c => assert.notOk(c.checked) );
 +
 +// Check first and last checkbox, using shift to select those in-
 between.
 +checkboxes[0].dispatchEvent(
 +new MouseEvent("click")
 +);
 +checkboxes[checkboxes.length - 1].dispatchEvent(
 +new MouseEvent("click", {shiftKey: true})
 +);
 +
 +checkboxes.forEach( c => assert.ok(c.checked) );
 +});
 diff --git a/js_tests/tests.html b/js_tests/tests.html
 index 61bc4ac102..b77599c4fa 100644
 --- a/js_tests/tests.html
 +++ b/js_tests/tests.html
 @@ -22,7 +22,17 @@
  
  
  
 -
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
  
  
  
 }}}


 We have three checkboxes, check the first and last (using shift), and
 expect them all to be checked.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/075.f84dbd27a8feaa45887a9d7199850f72%40djangoproject.com.


Re: [Django] #32647: Select multiple action checkboxes with shift+mouseclick in django admin

2021-04-15 Thread Django
#32647: Select multiple action checkboxes with shift+mouseclick in django admin
-+-
 Reporter:  varicocelehealing|Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  contrib.admin|  Version:  3.2
 Severity:  Release blocker  |   Resolution:
 Keywords:  Admin, Changelist,   | Triage Stage:  Accepted
  Shift Click|
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Carlton Gibson):

 
[https://github.com/django/django/commit/30e59705fc3e3e9e8370b965af794ad6173bf92b
 #diff-
 6748af738cf7486771562b9dd0c67a328ec6a5c090052a77703574e52d371cedL99-L107
 Looks like this (removed) block was responsible for the old behaviour.]

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/075.f98b51bb18ea6245aab879b97c853eb6%40djangoproject.com.


Re: [Django] #32647: Select multiple action checkboxes with shift+mouseclick in django admin

2021-04-15 Thread Django
#32647: Select multiple action checkboxes with shift+mouseclick in django admin
-+-
 Reporter:  varicocelehealing|Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  contrib.admin|  Version:  3.2
 Severity:  Release blocker  |   Resolution:
 Keywords:  Admin, Changelist,   | Triage Stage:  Accepted
  Shift Click|
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Carlton Gibson):

 * cc: Jon Dufresne (added)
 * severity:  Normal => Release blocker
 * stage:  Unreviewed => Accepted


Comment:

 OK, yes, that does work on Django 3.1. (In all these years I never knew
 that. )

 Reproduced on stable/3.1.x at 6b0c7e6f5081a0dbe8acdbdcba9cfa6e5dff2792.
 Regression in 30e59705fc3e3e9e8370b965af794ad6173bf92b

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/075.e1f5067752e70c72868b69d679906e8e%40djangoproject.com.


Re: [Django] #32647: Select multiple action checkboxes with shift+mouseclick in django admin

2021-04-14 Thread Django
#32647: Select multiple action checkboxes with shift+mouseclick in django admin
-+-
 Reporter:  varicocelehealing|Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  contrib.admin|  Version:  3.2
 Severity:  Normal   |   Resolution:
 Keywords:  Admin, Changelist,   | Triage Stage:
  Shift Click|  Unreviewed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Carlton Gibson):

 * status:  closed => new
 * resolution:  needsinfo =>


Comment:

 OK, thanks for the follow up. Let me reopen to assess.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/075.9cbb2ef6f7fd3a5848e965cfed024e18%40djangoproject.com.


Re: [Django] #32647: Select multiple action checkboxes with shift+mouseclick in django admin

2021-04-14 Thread Django
#32647: Select multiple action checkboxes with shift+mouseclick in django admin
-+-
 Reporter:  varicocelehealing|Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  contrib.admin|  Version:  3.2
 Severity:  Normal   |   Resolution:  needsinfo
 Keywords:  Admin, Changelist,   | Triage Stage:
  Shift Click|  Unreviewed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by varicocelehealing):

 Hey Carlton,

 Thanks for the reply! So the bug was not clear on my end. In django 3.1.5,
 I was able to shift click the first selected checkbox and then another
 shift click on the second selected checkbox and all the check boxes in
 between would be auto selected(Seen in the image below). Not sure what the
 exact term for this particular feature is but it seems to be missing in
 django 3.2. I also cleared my cache and the issue still persists.

 My guess is that the js code enabling this feature was accidentally
 removed, I am new to django so this is just my opinion.

 [[Image(checkbox.png)]]

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/075.142d8adb6e6e26404fbe66480440a50a%40djangoproject.com.


Re: [Django] #32647: Select multiple action checkboxes with shift+mouseclick in django admin

2021-04-14 Thread Django
#32647: Select multiple action checkboxes with shift+mouseclick in django admin
-+-
 Reporter:  varicocelehealing|Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  contrib.admin|  Version:  3.2
 Severity:  Normal   |   Resolution:  needsinfo
 Keywords:  Admin, Changelist,   | Triage Stage:
  Shift Click|  Unreviewed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by varicocelehealing):

 * Attachment "checkbox.png" added.


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/075.84590e26a60768f40aece8d7cd1e5f8b%40djangoproject.com.


Re: [Django] #32647: Select multiple action checkboxes with shift+mouseclick in django admin

2021-04-14 Thread Django
#32647: Select multiple action checkboxes with shift+mouseclick in django admin
-+-
 Reporter:  varicocelehealing|Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  contrib.admin|  Version:  3.2
 Severity:  Normal   |   Resolution:  needsinfo
 Keywords:  Admin, Changelist,   | Triage Stage:
  Shift Click|  Unreviewed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Carlton Gibson):

 * status:  new => closed
 * resolution:   => needsinfo


Comment:

 Hi — thanks for the report. I'm not able to reproduce.

 > I am not able to select multiple action checkboxes in the django admin
 changelist.

 Here's me doing that with the 3.2:

 [[Image(https://code.djangoproject.com/raw-attachment/ticket/32647
 /changelist-action-select.gif)]]

 Can you provide more details as to what you're seeing?

 The JavaScript for this was changed for 3.2 (in
 30e59705fc3e3e9e8370b965af794ad6173bf92b) — It might be a caching issue:
 can you make sure to clear your browser cache and try again?

 Other than that without more info I'm not sure what to say.
 Thanks again!

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/075.a3db85295012f13168aabde8a094ad4a%40djangoproject.com.


Re: [Django] #32647: Select multiple action checkboxes with shift+mouseclick in django admin

2021-04-14 Thread Django
#32647: Select multiple action checkboxes with shift+mouseclick in django admin
-+-
 Reporter:  varicocelehealing|Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  contrib.admin|  Version:  3.2
 Severity:  Normal   |   Resolution:
 Keywords:  Admin, Changelist,   | Triage Stage:
  Shift Click|  Unreviewed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Carlton Gibson):

 * Attachment "changelist-action-select.gif" added.

 Action select buttons working on 3.2

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/075.1d56bc036d00947cd4d1cc0d317121b5%40djangoproject.com.