Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: setup connection to dynamic parameters websocket#17393

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
jaaydenh merged 20 commits intomainfromjaaydenh/dynamic-params-websocket
Apr 16, 2025
Merged
Changes from1 commit
Commits
Show all changes
20 commits
Select commitHold shift + click to select a range
7b61485
feat: create dynamic parameter component
jaaydenhApr 10, 2025
f5d4a1c
fix: format
jaaydenhApr 11, 2025
0fc4289
chore: cleanup, update validation
jaaydenhApr 11, 2025
d109874
chore: update for types from typesGenerated
jaaydenhApr 11, 2025
7c13eb7
fix: remove filters
jaaydenhApr 11, 2025
4290284
chore: remove unused typesParameter.ts
jaaydenhApr 11, 2025
74084fb
fix: updates for PR review
jaaydenhApr 15, 2025
05adc15
fix: format
jaaydenhApr 15, 2025
b2c662a
fix: remove websocket code
jaaydenhApr 15, 2025
2da7d99
feat: connect to dynamic parameters websocket
jaaydenhApr 14, 2025
98dfee2
chore: cleanup
jaaydenhApr 14, 2025
d1ada89
fix: set initial values
jaaydenhApr 14, 2025
e04ce2f
fix: fix commit
jaaydenhApr 16, 2025
a6f480d
fix: fix rebase issues
jaaydenhApr 16, 2025
2613100
chore: update valid value methods
jaaydenhApr 16, 2025
1e66a71
chore: onError is required
jaaydenhApr 16, 2025
9a9201e
chore: display websocket error in UI
jaaydenhApr 16, 2025
1777ca9
fix: format
jaaydenhApr 16, 2025
440fedc
fix: updates for PR review
jaaydenhApr 16, 2025
4f056af
chore: add useCallback
jaaydenhApr 16, 2025
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
PrevPrevious commit
NextNext commit
fix: format
  • Loading branch information
@jaaydenh
jaaydenh committedApr 16, 2025
commit1777ca9c5000a618a870cdf9a9bd101b280ba32f
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -157,7 +157,7 @@ const ParameterField: FC<ParameterFieldProps> = ({
disabled,
id,
}) => {
const value = validValue(parameter.value)
const value = validValue(parameter.value);
const defaultValue = validValue(parameter.default_value);

switch (parameter.form_type) {
Expand DownExpand Up@@ -375,7 +375,7 @@ export const getInitialParameterValues = (
if (parameter.ephemeral) {
return {
name: parameter.name,
value: validValue(parameter.default_value)
value: validValue(parameter.default_value),
};
}

Expand All@@ -390,16 +390,14 @@ export const getInitialParameterValues = (
isValidParameterOption(parameter, autofillParam) &&
autofillParam.value
? autofillParam.value
: validValue(parameter.default_value)
: validValue(parameter.default_value),
};
});
};

const validValue = (
value: NullHCLString
) => {
const validValue = (value: NullHCLString) => {
return value.valid ? value.value : "";
}
};

const isValidParameterOption = (
previewParam: PreviewParameter,
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp