Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: emui p23 fixes #1772

Merged
merged 3 commits into from
Nov 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export class KurtosisPackageIndexerClient {
baseUrl: "github.com",
owner: components[1],
name: components[2],
rootPath: components.filter((v, i) => i > 2 && v.length > 0).join("/") + "/",
},
}),
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export const DictArgumentInput = ({ keyType, valueType, ...otherProps }: DictArg
<ButtonGroup isAttached>
<CopyButton
contentName={"value"}
size={"sm"}
valueToCopy={() =>
JSON.stringify(
getValues(otherProps.name).reduce(
Expand All @@ -49,7 +50,7 @@ export const DictArgumentInput = ({ keyType, valueType, ...otherProps }: DictArg
)
}
/>
<PasteButton onValuePasted={handleValuePaste} />
<PasteButton size="sm" onValuePasted={handleValuePaste} />
</ButtonGroup>
{fields.map((field, i) => (
<Flex key={i} gap={"10px"}>
Expand All @@ -63,7 +64,7 @@ export const DictArgumentInput = ({ keyType, valueType, ...otherProps }: DictArg
name={`${otherProps.name as `args.${string}`}.${i}.key`}
validate={otherProps.validate}
isRequired
size={"xs"}
size={"sm"}
width={"222px"}
/>
</KurtosisArgumentSubtypeFormControl>
Expand All @@ -77,17 +78,17 @@ export const DictArgumentInput = ({ keyType, valueType, ...otherProps }: DictArg
name={`${otherProps.name as `args.${string}`}.${i}.value`}
validate={otherProps.validate}
isRequired
size={"xs"}
size={"sm"}
width={"222px"}
/>
</KurtosisArgumentSubtypeFormControl>
<Button onClick={() => remove(i)} leftIcon={<FiDelete />} size={"xs"} colorScheme={"red"}>
<Button onClick={() => remove(i)} leftIcon={<FiDelete />} size={"sm"} colorScheme={"red"}>
Delete
</Button>
</Flex>
))}
<Flex>
<Button onClick={() => append({})} leftIcon={<FiPlus />} size={"xs"} colorScheme={"kurtosisGreen"}>
<Button onClick={() => append({})} leftIcon={<FiPlus />} size={"sm"} colorScheme={"kurtosisGreen"}>
Add
</Button>
</Flex>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export const ListArgumentInput = ({ valueType, ...otherProps }: ListArgumentInpu
<Flex flexDirection={"column"} gap={"10px"}>
<ButtonGroup isAttached>
<CopyButton
size={"sm"}
contentName={"value"}
valueToCopy={() => JSON.stringify(getValues(otherProps.name).map(({ value }: { value: any }) => value))}
/>
Expand All @@ -56,16 +57,16 @@ export const ListArgumentInput = ({ valueType, ...otherProps }: ListArgumentInpu
isRequired
validate={otherProps.validate}
width={"411px"}
size={"xs"}
size={"sm"}
/>
</KurtosisArgumentSubtypeFormControl>
<Button onClick={() => remove(i)} leftIcon={<FiDelete />} size={"xs"} colorScheme={"red"}>
<Button onClick={() => remove(i)} leftIcon={<FiDelete />} size={"sm"} colorScheme={"red"}>
Delete
</Button>
</Flex>
))}
<Flex>
<Button onClick={() => append({ value: "" })} leftIcon={<FiPlus />} colorScheme={"kurtosisGreen"} size={"xs"}>
<Button onClick={() => append({ value: "" })} leftIcon={<FiPlus />} colorScheme={"kurtosisGreen"} size={"sm"}>
Add
</Button>
</Flex>
Expand Down
6 changes: 3 additions & 3 deletions engine/server/webapp/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"files": {
"main.js": "./static/js/main.5419d1a4.js",
"main.js": "./static/js/main.30986036.js",
"index.html": "./index.html",
"main.5419d1a4.js.map": "./static/js/main.5419d1a4.js.map"
"main.30986036.js.map": "./static/js/main.30986036.js.map"
},
"entrypoints": [
"static/js/main.5419d1a4.js"
"static/js/main.30986036.js"
]
}
2 changes: 1 addition & 1 deletion engine/server/webapp/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Kurtosis Enclave Manager"/><title>Kurtosis Enclave Manager</title><script defer="defer" src="./static/js/main.5419d1a4.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Kurtosis Enclave Manager"/><title>Kurtosis Enclave Manager</title><script defer="defer" src="./static/js/main.30986036.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>

Large diffs are not rendered by default.

Large diffs are not rendered by default.