Open-Assistant
Open-Assistant copied to clipboard
Implemented ability to press ctrl+enter (or cmd+enter) to Review/Subm…
Implemented ability to press ctrl+enter
(or cmd+enter
) to Review/Submit Create prompts
The first press of the shortcut is the same as pressing the Review button. The second press of the shortcut is the same as pressing Submit.
Fixes #811
:x: pre-commit failed.
Please run pre-commit run --all-files
locally and commit the changes.
Find more information in the repository's CONTRIBUTING.md
Would it be possible to resolve the merge conflicts? Then i think we can wrap this PR up and merge it
The localizations are still missing for most languages. I'd imagine we need those first?
We can deal with localizations separately. For most changes we add the localizations for the languages the PR author speaks and then over time we'll get the other languages added in.
@fozziethebeat Merge conflicts resolved!
@cooperaustinj could you please resolve conflicts one more time?
@AbdBarho I just pushed the change to allow submission via keyboard. The old implementation only allows previewing the answer only. This require to listen keydown event globally.
:x: pre-commit failed.
Please run pre-commit run --all-files
locally and commit the changes.
Find more information in the repository's CONTRIBUTING.md