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

feat: UI support for invokedByDefault transformers #128

Merged
merged 5 commits into from
Sep 27, 2022

Conversation

kmehant
Copy link
Member

@kmehant kmehant commented Sep 23, 2022

Signed-off-by: Mehant Kammakomati [email protected]

@github-actions
Copy link

Thanks for making a pull request! 😃
One of the maintainers will review and advise on the next steps.

@github-actions github-actions bot added the feat label Sep 23, 2022
@kmehant kmehant force-pushed the make-source-optional branch from 8343351 to c18dd86 Compare September 23, 2022 17:53
ashokponkumar
ashokponkumar previously approved these changes Sep 23, 2022
@@ -20,7 +20,7 @@ import { QAContext } from './QAContext';
import { IQAComponentProps } from './QAWizard';
import { TextContent, TextArea } from '@patternfly/react-core';

function Multiline(props: IQAComponentProps): JSX.Element {
function MultiLine(props: IQAComponentProps): JSX.Element {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this change necessary?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@HarikrishnanBalagopal @ashokponkumar
https://github.com/konveyor/move2kube-ui/pull/128/files#diff-9fbd7a7707d6fad02d98c83cc8c72a94821fa17a1983f54f1ef9c3da59bb1d25R113

Its MultiLineInput in https://github.com/konveyor/move2kube/blob/main/types/qaengine/problem.go#L42 and Multiline in UI due to which multi line type questions breaking the QA engine at UI.

Weed need to decide whether following MultiSelect should we change this to MultiLine or change it to MultiLineInput which is there in move2kube code presently.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In any case, this change is required for the QA engine not to break for multiline questions at UI

Copy link
Contributor

@HarikrishnanBalagopal HarikrishnanBalagopal Sep 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This only changes the function name, it has zero impact in terms of what gets sent over the wire. Can you explain the bug you are seeing?

Copy link
Member Author

@kmehant kmehant Sep 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please check the completes changes? Function name is changed just for the styling. other changes fixes the issue. Thanks

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But by the semantic meaning Input can be anything.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why notMultiSelectInput 🤔

src/app/projects/ProjectPlan.tsx Outdated Show resolved Hide resolved
src/app/projects/ProjectPlan.tsx Outdated Show resolved Hide resolved
src/app/projects/ProjectPlan.tsx Outdated Show resolved Hide resolved
Signed-off-by: Mehant Kammakomati <[email protected]>
Signed-off-by: Mehant Kammakomati <[email protected]>
@kmehant
Copy link
Member Author

kmehant commented Sep 27, 2022

@HarikrishnanBalagopal Made the changes, please review!

@kmehant
Copy link
Member Author

kmehant commented Sep 27, 2022

fixes #129

Copy link
Contributor

@HarikrishnanBalagopal HarikrishnanBalagopal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants