Would it be possible to implement Shift+Click to select multiple topics in a topic list? If not, can we make it a feature request?
Select them like this?
If shift-click is implemented, it might break the standard browser shortcut for opening links in new windows.
It will not if you only handle âShiftâ when clicking on those checkboxes.
So, the confusion here is that thatâs exactly what Iâm talking about - I mean holding Shift while clicking on those checkboxes.
Sorry, I thought you meant âmultiple selectâ by clicking on the topics themselves. I see what you mean now.
This makes no sense. Once you expand the selector you can click all the checkboxes you like, there is no need to hold down shift.
In any OS, when multiple files are shown in a list, it somehow makes sense to allow Shift + click to select a range of files. Why doesnât it make sense in a list of topics?
It already works this way, without the need to press shift. The shift-click paradigm is usually for selecting things that are not checkboxes; checkboxes conventionally allow multiple selection without shift.
It doesnât. You are confusing Shift vs Command on MacOS (Shift vs Ctrl on Windows).
If you have 5 files:
A
B
C
D
E
Click on file A, then hold Shift, then click on file D - all 4 files from A to D will get selected.
And thatâs what the topic title says! Shift + Click
If you try the same with checkboxes in Discourse, it does not work this way.
ah, makes sense.
I see what you mean, but usually there is a âselect allâ button in web design, e.g.
So thereâs less need for a shift+click when you can Select All via the button⌠and heck now that Iâm testing it, actually shift+click works fine in this scenario for me?
Wait, there is quite a difference between âselect allâ and âshift-selectâ. âSelect allâ can select many more items than I need, while shift-select A-B only selects all items starting from A and up to and including B. Like, if Iâm trying to select 20 topics from A to B while 100+ are shown, âselect allâ will select 100 topics while I only need 20 topics to be selected.
Also, testing in Firefox for MacOS, Shift+Select does nothing for me.
Would you consider implementing Shift+Select? Whenever I select multiple topics, I feel like itâs lacking this functionality, and I keep forgetting it does not work this way in Discourse - because it works this way everywhere else, so the intuition is to use it whenever I want to select all items between A and B.
Just wanted to add a note that in Windows, even with checkboxes ON in the file list view, you can still select all files between A and B by clicking FileA+Shift+FileB. Same in MacOS. Itâs a UI convention everywhere.
I thought this was a good feature request when it was first raised, but didnât have time to try adding it. I had some time today, so I gave it a shot and came up with this draft PR:
Note that weâre very very close to a release, so this wonât be merged in core for at least another few weeks.
This topic was automatically closed after 2 days. New replies are no longer allowed.