Ten years after #450 (I'm feeling old...) it's time to try again to finally bring feature to upstream: Double click on an entry's title to mark it as read (and double click again to mark it as unread; disabled on smartphones due to the different UI concept).
I believe that this should be the default behaviour, but since it must add a delay to distinguish between single and double clicks, some people might find it obstructive, thus I've deliberately added it as opt-in using the new double_click_mark_as_read option.
This was the first time I worked with React. So please check whether the code I've written (including the handleMultiClick function and its usage, I'm not sure whether useCallback still makes sense there) is like it's expected for React.
Ten years after #450 (I'm feeling old...) it's time to try again to finally bring feature to upstream: Double click on an entry's title to mark it as read (and double click again to mark it as unread; disabled on smartphones due to the different UI concept).
I believe that this should be the default behaviour, but since it must add a delay to distinguish between single and double clicks, some people might find it obstructive, thus I've deliberately added it as opt-in using the new
double_click_mark_as_read
option.This was the first time I worked with React. So please check whether the code I've written (including the
handleMultiClick
function and its usage, I'm not sure whetheruseCallback
still makes sense there) is like it's expected for React.