-
Notifications
You must be signed in to change notification settings - Fork 165
Focus on pause #102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Focus on pause #102
Conversation
👋 @murezzda , thanks for this! |
Hi @pietrop, I will have a final look at the PR tomorrow and give you notice as soon as I've checked it again. |
I think you mentioned in
Which is something I might have noted elsewhere in the codebase, have you come across any alternatives? (otherwise we could roll with that for now) |
Hi @pietrop I have still the following points open, maybe you have an option/idea about it:
|
👋 @murezzda, thanks for the PR would you be able to add an option in settings to make this optional? I also check with @Laurian re-using |
Hi @pietrop, making this feature optional makes also sense to me. I will check out the options code and will contact you if there are any questions. If its not the problem of Thanks for the input! |
…or upon pause. Text selection upon pause works now for both hotkeys and video controls.
6118cfa
to
f9551e0
Compare
Hi @pietrop, I've added now the option of turning this feature off in the settings and I was also able to fix the issue with the lagging selection. The side-effect of fixing this is that the cursor will also be moved if the user pauses the video via the video-controls, but in my opinion this is anyway the sensible thing to do. |
Setting focus whenever a pause is triggered is not compatible with the pause-while-typing. If both are active, the cursor will move to the position of the video player whenever someone types during the video. This will prevent the user from correcting the word. |
ah, ok interesting, thanks for this, going to find some time have a look and running locally. |
Thanks @murezzda 1. Where to put cursor / whether to select word or not. I think this seems fine
We could also add a reminder in keyboard shortcuts that And that These are defaults behaviour, supported by draftJS. 2.Performance and word selection lag 4. cursor in selection in the gif below you can see how if a word is not selected eg end of sentence, it works fine, but that if a current word is selected then it would add the text inside the selection. Then selection will disappear when playing again. This is something that might look as simple technical glitch, but I can see how it might be confusing (and possibly mildly annoying?) for some users. 5. Settings option 6. not compatible with pause while typing You mentioned
And I can confirm the problem. This makes me think, if we can't fix this, it should then not be on by default. TL;DROne of our assumption, that we are about to user test, is whether pause while typing, is a key feature while correcting automated transcript. After having played around with it a bit more. I am inclined to say that we should probably close and park this for now. We can do further research and exploration and a later stage if it comes up as a user need. But wouldn't want to fall into the trap of premature optimisation of the tool and feature creep. As we are aiming to spend a bit of time to consolidate the editor and refactor the code, to make it more modular and more robust. Giving priority to #50 + #49 + #30 |
Hi @pietrop Thanks for the in-depth look at the PR! I have a few additional comments, but generally I agree with your assessment. Performance and word selection lag vs non-compatibility with pause-on-typing The current version moves the cursor in the I guess one could hack this to work by adding more state to track the origin of the event, but I think that would neither be a good nor a maintainable solution... Cursor in Selection Verdict |
Awesome, will close this for now, but we can revisit at later stage, thank you @murezzda |
Is your Pull Request request related to another issue in this repository ?
Related to issue #97
Describe what the PR does
After pausing the player via the alt+k shortcut, the cursor is moved to the current word.
State whether the PR is ready for review or whether it needs extra work
PR still needs some testing, but functionality wise works.