Merge branch 'master' into slim-down-integration-tests

This commit is contained in:
Sam Rose 2024-04-11 16:23:00 +01:00 committed by GitHub
commit c5edfea51b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 11 additions and 6 deletions

View File

@ -64,10 +64,11 @@ jobs:
- run: yarn --frozen-lockfile
# Run build all the projects
- name: Build
run: |
yarn build:oss
yarn build:account-portal
- name: Build OSS
run: yarn build:oss
- name: Build account portal
run: yarn build:account-portal
if: inputs.run_as_oss != true
# Check the types of the projects built via esbuild
- name: Check types
run: |

View File

@ -1,5 +1,5 @@
{
"version": "2.23.3",
"version": "2.23.4",
"npmClient": "yarn",
"packages": [
"packages/*",

View File

@ -137,8 +137,12 @@
const activeTag = document.activeElement?.tagName.toLowerCase()
const inCodeEditor =
document.activeElement?.classList?.contains("cm-content")
const inPosthogSurvey =
document.activeElement?.classList?.[0]?.startsWith("PostHogSurvey")
if (
(inCodeEditor || ["input", "textarea"].indexOf(activeTag) !== -1) &&
(inCodeEditor ||
inPosthogSurvey ||
["input", "textarea"].indexOf(activeTag) !== -1) &&
e.key !== "Escape"
) {
return