Skip to content
This repository was archived by the owner on Jan 12, 2026. It is now read-only.

Commit d6f0c13

Browse files
More fixes
1 parent 96cfa35 commit d6f0c13

File tree

4 files changed

+15
-9
lines changed

4 files changed

+15
-9
lines changed

package-lock.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
"react-hook-form": "^7.54.2"
8888
},
8989
"peerDependencies": {
90-
"@cloudquery/plugin-config-ui-connector": "^0.2.16",
90+
"@cloudquery/plugin-config-ui-connector": "^1.0.0-rc.2",
9191
"@emotion/react": "^11.11.4",
9292
"@emotion/styled": "^11.11.5",
9393
"@mui/icons-material": "^6.0.0",
@@ -107,7 +107,7 @@
107107
"@babel/preset-react": "^7.26.3",
108108
"@babel/preset-typescript": "^7.26.0",
109109
"@chromatic-com/storybook": "^3.2.4",
110-
"@cloudquery/plugin-config-ui-connector": "^0.2.16",
110+
"@cloudquery/plugin-config-ui-connector": "^1.0.0-rc.2",
111111
"@emotion/react": "^11.11.4",
112112
"@emotion/styled": "^11.11.5",
113113
"@microsoft/api-extractor": "^7.49.2",

src/components/display/codeSnippet/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export function CodeSnippet({ text }: CodeSnippetProps) {
3636
alignItems: 'start',
3737
bgcolor: 'background.paperTertiary',
3838
borderRadius: 1,
39+
justifyContent: 'space-between',
3940
}}
4041
>
4142
<Box

src/hooks/useFormActions.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,14 @@ export function useFormActions<PluginKind extends 'source' | 'destination'>({
174174
'PATCH',
175175
{ ...pluginKindPayload, last_update_source: 'ui' },
176176
);
177-
await updateSyncResourceRequest;
177+
const updateSyncResourceResponse = await updateSyncResourceRequest;
178178

179-
pluginUiMessageHandler.sendMessage('submitted', submitPayload);
179+
const resource = (await updateSyncResourceResponse.body) as any;
180+
181+
pluginUiMessageHandler.sendMessage('submitted', {
182+
submitPayload,
183+
resource,
184+
});
180185
} catch (error: any) {
181186
setSubmitError(error?.body || error);
182187
pluginUiMessageHandler.sendMessage('submit_failed', error?.body || error);

0 commit comments

Comments
 (0)