Let the user select multiple terms from the reading pane and set their statuses in bulk. (This is something I wanted ... :-) Hopefully it's a good add for others.)
When I'm working on a new big page, I usually like to get rid of a bunch of things right off of the top, such as ignoring names, or flagging things that I don't know. Then I can set the rest to known, and come back to the items I've marked. With this PR, I can mark a whole bunch of things at once, instead of one-by-one, which gets tedious.
Demo
A new text with all unknowns:
I can hold Shift and click on multiple words (clicking the same word then un-highlights it):
These are all names, so I can ignore them all at once by clicking the "set highlighted status" button:
When I click a status, all of the terms are set with the right status:
And you can click on new terms and non-new terms and set them all as well:
Limitations
This only supports single-word-click, you can't click-and-drag to include multi-word terms. That felt a bit crazy for the first pass.
Unknowns
I've only tested this on Chrome, though it should work for other browsers for the Shift key event, according to what I've read.
I have no idea if/how this would work for languages like Japanese ... but according to the existing code, it should.
Description
Let the user select multiple terms from the reading pane and set their statuses in bulk. (This is something I wanted ... :-) Hopefully it's a good add for others.)
When I'm working on a new big page, I usually like to get rid of a bunch of things right off of the top, such as ignoring names, or flagging things that I don't know. Then I can set the rest to known, and come back to the items I've marked. With this PR, I can mark a whole bunch of things at once, instead of one-by-one, which gets tedious.
Demo
A new text with all unknowns:
I can hold Shift and click on multiple words (clicking the same word then un-highlights it):
These are all names, so I can ignore them all at once by clicking the "set highlighted status" button:
When I click a status, all of the terms are set with the right status:
And you can click on new terms and non-new terms and set them all as well:
Limitations
This only supports single-word-click, you can't click-and-drag to include multi-word terms. That felt a bit crazy for the first pass.
Unknowns