-
Notifications
You must be signed in to change notification settings - Fork 8
Fix GPU card validator #4253
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 GPU card validator #4253
Conversation
Can you please explain the solution? I think we should fix that on the formValidator, as this is happening on the domain name as well Screencast.from.2025-06-29.10-51-11.webm |
well,
P.S. I made the changes in the |
let s = status; | ||
|
||
if (!s) { | ||
if (props.validNode && props.node && props.modelValue.length === 0) { | ||
s = ValidatorStatus.Invalid; | ||
} else if (props.validNode && props.node && props.modelValue.length > 0) { | ||
s = ValidatorStatus.Valid; | ||
} else { | ||
s = ValidatorStatus.Init; | ||
} | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let s = status; | |
if (!s) { | |
if (props.validNode && props.node && props.modelValue.length === 0) { | |
s = ValidatorStatus.Invalid; | |
} else if (props.validNode && props.node && props.modelValue.length > 0) { | |
s = ValidatorStatus.Valid; | |
} else { | |
s = ValidatorStatus.Init; | |
} | |
} | |
let s = status; | |
if (!s) { | |
if (props.validNode && props.node) { | |
s = props.modelValue.length === 0 | |
? ValidatorStatus.Invalid | |
: ValidatorStatus.Valid; | |
} else { | |
s = ValidatorStatus.Init; | |
} | |
} | |
1 similar comment
waiting on mainnet tokens to continue testing. also encountered this #4261 (comment) |
What I'm talking about is checking if the fix can be done on the parent component, so that will solve both issues. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
works
please address @0oM4R comment before merging
This is not a blocking request. If you are sure that the fix is only related to the GPU component, go ahead and merge, and we can handle the domain name in another issue |
- Add data dttribute targeting - Add custom CSS selector - Add same error highlighting across all components
@0oM4R @amiraabouhadid, it's all changed now as per #4253 (comment) please review |
please resolve conflicts |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no available gpu nodes on devnet to test with, waiting on funds on mainnet to test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description
Validate the GPU card selector before deployment
Changes
Screencast.from.24-06-25.15.51.26.webm
Related Issues
Tested Scenarios
Documentation PR
For UI changes, Please provide the Documentation PR on info_grid
To consider
Preliminary Checks:
UI Checks:
Code Quality Checks:
Testing Checklist
General Checklist