From 144cc2923e9a0ea5566898a34e58488c9ae9bf74 Mon Sep 17 00:00:00 2001 From: Henrik Fehlauer Date: Fri, 26 Mar 2021 18:00:00 +0000 Subject: [PATCH 1/7] Add more exceptions to .prettierignore This allows `yarn prettier` to run successfully. --- .prettierignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.prettierignore b/.prettierignore index 66446235..041daf37 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,11 +1,14 @@ LICENSE +Dockerfile dist/ *.zip yarn.lock .idea .gitignore +.eslintignore .prettierignore .tx/ layers/ locales/*.json resources/boundaries/ +resources/standalone/*.sh From f31c379369e82b241e0181a7f40ae80dd6c891be Mon Sep 17 00:00:00 2001 From: Henrik Fehlauer Date: Sat, 27 Mar 2021 18:00:00 +0000 Subject: [PATCH 2/7] Fix broken Return key in export route dialog 2a431932 made it possible to press `Return` to confirm the export dialog. After 5b52abc1 this stopped working though, even when the text input had focus. This is due to moving the `` out of the `
` and referencing the form's `name` attribute instead. However "The value of [the form] attribute must be the id of a in the same document" according to https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button. Adding such an `id` restores the `Return` key to working properly. The same change is done for the no-go form, where the same issue would otherwise affect a later patch adding similar `Return` key handling. Test Plan: - Create Route, open "Export route" dialog. - Move focus to an input field. - Press `Return`. - The file dialog for saving should open. --- index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 7c691b71..03efa897 100644 --- a/index.html +++ b/index.html @@ -427,7 +427,7 @@