-
Notifications
You must be signed in to change notification settings - Fork 10
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
Support MDS on workflows and workflow_detail pages #253
Conversation
Signed-off-by: saimedhi <[email protected]>
Signed-off-by: Sai Medhini Reddy Maryada <[email protected]>
Recording.5.mp4 |
Could you mark the PR as a draft until you have completed the end-to-end testing? It includes:
|
Signed-off-by: saimedhi <[email protected]>
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.
Overall great start, thanks a lot for helping! Generally just some syntax issues and best practices, no big concerns.
Signed-off-by: saimedhi <[email protected]>
Signed-off-by: Sai Medhini Reddy Maryada <[email protected]>
Signed-off-by: saimedhi <[email protected]>
Signed-off-by: saimedhi <[email protected]>
Signed-off-by: saimedhi <[email protected]>
public/pages/workflow_detail/workflow_inputs/search_inputs/configure_search_request.tsx
Outdated
Show resolved
Hide resolved
public/pages/workflow_detail/workflow_inputs/workflow_inputs.tsx
Outdated
Show resolved
Hide resolved
Thanks for the change! Two things I noticed from the screen recording:
|
Signed-off-by: saimedhi <[email protected]>
6468d73
to
5a78f5c
Compare
@saimedhi looking great! Once my remaining comments on |
Signed-off-by: saimedhi <[email protected]>
screen-capture.2.webm |
Signed-off-by: Sai Medhini Reddy Maryada <[email protected]>
Changes LGTM! One more request to add details in the PR description, including some of the low-level implementation details. See existing merged PRs as an example. This makes it much easier to track down issues that may come up in the future, and keeps a detailed log of what and when changes were made, and the motivation behind them. |
Signed-off-by: Sai Medhini Reddy Maryada <[email protected]>
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.
Signed-off-by: saimedhi <[email protected]>
@jackiehanyang, I will fix it in a followup PR. Thank you.
|
public/app.tsx
Outdated
) => ( | ||
<WorkflowDetail | ||
setActionMenu={setHeaderActionMenu} | ||
landingDataSourceId={dataSourceId} |
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.
you don't need this props, and I don't see any usage of this props later. I have this for AD because AD has multiple pages. So I need this prop for AD to track the dataSourceId for landing pages to differentiate:
- if the page is opened as a landing page, we select the default remote data source
- if the page is opened by being redirected from another page, we keep the dataSourceId consistent as the previous page instead of selecting the default remote data source.
None of this is applicable to Flow Framework, so please remove unnecessary and unused props.
public/utils/utils.ts
Outdated
export const constructHrefWithDataSourceId = ( | ||
basePath: string, | ||
dataSourceId: string = '', | ||
withHash: boolean |
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.
you don't need this flag. I see you always pass true here
Signed-off-by: saimedhi <[email protected]>
screen-capture.3.webm |
I see a bug - when you opening flow framework from the side nav, default remote data source should be selected and the dataSourceId should exist in the url Please thoroughly test the following scenarios:
|
Signed-off-by: saimedhi <[email protected]>
Description
Issues Resolved
closes #228
Check List
--signoff
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.