-
-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolves #1026 This PR consumes the new `/api/paste` endpoint and removes the, now-unused, text-to-keystroke frontend logic. Demo video: https://github.com/tiny-pilot/tinypilot/assets/6730025/2b3cb2c9-964b-4e90-88c9-7ab13775f02b ### Notes 1. Pasting unsupported characters (i.e., `“`, `”`, `–` (en-dash), `—` (em-dash), etc.) now displays this error dialog: <img width="870" alt="Screen Shot 2023-09-15 at 11 20 21" src="https://github.com/tiny-pilot/tinypilot/assets/6730025/1ebad5a7-fbb6-40f4-a9fe-317a06d458a8"> Previously, these unsupported characters were silently ignored during a paste. As [discussed here](#1545 (comment)), we plan to further refine this behavior in the future. ### Peer testing This PR is stacked onto the following PRs: * #1625 * #1624 You can test them all on device via the following command: ```bash curl \ --silent \ --show-error \ --location \ https://raw.githubusercontent.com/tiny-pilot/tinypilot/master/scripts/install-bundle | \ sudo bash -s -- https://output.circle-artifacts.com/output/job/d842ed53-55a6-490d-9cfd-842155c7d6e5/artifacts/0/bundler/dist/tinypilot-community-20230919T1127Z-1.9.1-39+3e308b3.tgz && \ sudo reboot ``` <a data-ca-tag href="https://codeapprove.com/pr/tiny-pilot/tinypilot/1626"><img src="https://codeapprove.com/external/github-tag-allbg.png" alt="Review on CodeApprove" /></a>
- Loading branch information
1 parent
da6f5f0
commit 2d411f3
Showing
5 changed files
with
36 additions
and
194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters