Skip to content

Commit edebcd1

Browse files
Merge branch 'main' into release-please--branches--main
2 parents 4e0d0ca + bae0fe3 commit edebcd1

File tree

11 files changed

+158
-116
lines changed

11 files changed

+158
-116
lines changed

.github/workflows/apix-ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
- packages/extension-api-explorer/**
1010
- packages/extension-utils/**
1111
- .github/workflows/apix-ci.yml
12+
- yarn.lock
1213

1314
push:
1415
branches:
@@ -21,6 +22,7 @@ on:
2122
- packages/extension-api-explorer/**
2223
- packages/extension-utils/**
2324
- .github/workflows/apix-ci.yml
25+
- yarn.lock
2426

2527
workflow_dispatch:
2628

.github/workflows/codegen-ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
- packages/sdk-codegen-utils/**
88
- packages/sdk-codegen-scripts/**
99
- .github/workflows/codegen-ci.yml
10+
- yarn.lock
1011

1112
push:
1213
branches:
@@ -17,6 +18,7 @@ on:
1718
- packages/sdk-codegen-utils/**
1819
- packages/sdk-codegen-scripts/**
1920
- .github/workflows/codegen-ci.yml
21+
- yarn.lock
2022

2123
workflow_dispatch:
2224

.github/workflows/hackathon-ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
- packages/wholly-artifact/**
77
- packages/hackathon/**
88
- .github/workflows/hackathon-ci.yml
9+
- yarn.lock
910

1011
push:
1112
branches:
@@ -15,6 +16,7 @@ on:
1516
- packages/wholly-artifact/**
1617
- packages/hackathon/**
1718
- .github/workflows/hackathon-ci.yml
19+
- yarn.lock
1820

1921
workflow_dispatch:
2022

.github/workflows/python-ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,17 @@ on:
44
paths:
55
- python/**
66
- .github/workflows/python-ci.yml
7+
- Pipfile
8+
- Pipfile.lock
79

810
push:
911
branches:
1012
- main
1113
paths:
1214
- python/**
1315
- .github/workflows/python-ci.yml
16+
- Pipfile
17+
- Pipfile.lock
1418

1519
workflow_dispatch:
1620

.github/workflows/required-checks-hack-ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,18 +51,23 @@ jobs:
5151
- 'packages/extension-api-explorer/**/*'
5252
- 'packages/extension-utils/**/*'
5353
- '.github/workflows/apix-ci.yml'
54+
- 'yarn.lock'
5455
codegen:
5556
- 'package.json'
5657
- 'packages/sdk-codegen/**/*'
5758
- 'packages/sdk-codegen-utils/**/*'
5859
- 'packages/sdk-codegen-scripts/**/*'
5960
- '.github/workflows/codegen-ci.yml'
61+
- 'yarn.lock'
6062
hackathon:
6163
- 'package.json'
6264
- 'packages/wholly-sheet/**/*'
6365
- 'packages/hackathon/**/*'
6466
- '.github/workflows/hackathon-ci.yml'
67+
- 'yarn.lock'
6568
python:
69+
- 'Pipfile'
70+
- 'Pipfile.lock'
6671
- 'python/**/*'
6772
- '.github/workflows/python-ci.yml'
6873
resources:
@@ -78,6 +83,7 @@ jobs:
7883
- 'packages/extension-sdk-react/**/*'
7984
- 'packages/extension-utils/**/*'
8085
- '.github/workflows/tssdk-ci.yml'
86+
- 'yarn.lock'
8187
gosdk:
8288
- 'packages/go/**/*'
8389
- '.github/workflows/go-ci.yml'

.github/workflows/tssdk-ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
- packages/extension-sdk-react/**
1111
- packages/extension-utils/**
1212
- .github/workflows/tssdk-ci.yml
13+
- yarn.lock
1314

1415
push:
1516
branches:
@@ -23,6 +24,7 @@ on:
2324
- packages/extension-sdk-react/**
2425
- packages/extension-utils/**
2526
- .github/workflows/tssdk-ci.yml
27+
- yarn.lock
2628

2729
workflow_dispatch:
2830

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@
103103
"@types/js-yaml": "^3.12.1",
104104
"@types/lodash": "4.14.172",
105105
"@types/node": "22.5.4",
106+
"@types/prettier": "2.7.3",
106107
"@types/uuid": "^8.3.4",
107108
"@typescript-eslint/eslint-plugin": "^5.61.0",
108109
"@typescript-eslint/parser": "^5.61.0",
@@ -144,7 +145,6 @@
144145
"npm-run-all": "4.1.5",
145146
"openapi3-ts": "2.0.2",
146147
"pre-commit": "1.2.2",
147-
"@types/prettier": "2.7.3",
148148
"prettier": "2.8.8",
149149
"pretty-quick": "2.0.2",
150150
"react": "^17.0.2",
@@ -160,8 +160,7 @@
160160
"uuid": "9.0.1",
161161
"webpack": "5.94.0",
162162
"webpack-bundle-analyzer": "^4.10.2",
163-
"webpack-merge": "^5.10.0",
164-
"yarn-deduplicate": "6.0.2"
163+
"webpack-merge": "^5.10.0"
165164
},
166165
"lint-staged": {
167166
"**/*.ts?(x)": [
@@ -345,5 +344,7 @@
345344
"**/url-parse": ">= 1.5.7",
346345
"parse-url": "^8.1.0"
347346
},
348-
"dependencies": {}
347+
"dependencies": {
348+
"yarn-deduplicate": "^6.0.2"
349+
}
349350
}

packages/extension-sdk/src/connect/tile/tile_sdk.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
2525
*/
2626

27-
import type { MouseEvent } from 'react';
2827
import { NOT_DASHBOARD_MOUNT_NOT_SUPPORTED_ERROR } from '../../util/errors';
2928
import { ExtensionRequestType } from '../types';
3029
import type { ExtensionHostApiImpl } from '../extension_host_api';

packages/extension-sdk/src/connect/tile/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
2525
*/
2626

27-
import type { MouseEvent } from 'react';
2827
import type { IQuery } from '@looker/sdk';
2928

3029
/**

packages/extension-tile-playground/src/components/Inspector/components/EventTester/EventTester.tsx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
2525
*/
2626
import React, { useCallback, useContext, useState } from 'react';
27-
import type { MouseEvent } from 'react';
2827
import {
2928
Accordion2,
3029
ButtonOutline,
@@ -58,17 +57,20 @@ export const EventTester: React.FC = () => {
5857
}, [tileSDK]);
5958

6059
const toggleCrossFilterClick = useCallback(
61-
(event: MouseEvent) => {
60+
(event: React.MouseEvent<HTMLButtonElement>) => {
6261
// TODO pivot and row data needs to be populated
63-
tileSDK.toggleCrossFilter({ pivot: {} as any, row: {} as any }, event);
62+
tileSDK.toggleCrossFilter(
63+
{ pivot: {} as any, row: {} as any },
64+
event as unknown as MouseEvent
65+
);
6466
},
6567
[tileSDK]
6668
);
6769

6870
const openDrillMenuClick = useCallback(
69-
(event: MouseEvent) => {
71+
(event: React.MouseEvent<HTMLButtonElement>) => {
7072
// TODO links data needs to be populated
71-
tileSDK.openDrillMenu({ links: [] }, event);
73+
tileSDK.openDrillMenu({ links: [] }, event as unknown as MouseEvent);
7274
},
7375
[tileSDK]
7476
);

0 commit comments

Comments
 (0)