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

[UI] Use tabbed pane with Queries and Executors tabs #309

Merged
merged 6 commits into from
Oct 3, 2022

Conversation

andygrove
Copy link
Member

@andygrove andygrove commented Oct 2, 2022

Which issue does this PR close?

N/A

Rationale for this change

The list of executors could be very large so it does not make sense to show in the header.

What changes are included in this PR?

  • Use tabbed interface with Jobs tab and Executors tab.

Jobs Tab

tab0

Executors Tab

tab

Are there any user-facing changes?

@andygrove
Copy link
Member Author

@KenSuenobu @onthebridgetonowhere Could you review this PR when you get a chance?

return (
<Box>
<Grid minH="100vh">
<VStack alignItems={"flex-start"} spacing={0} width={"100%"}>
<Header schedulerState={schedulerState} />
<Summary schedulerState={schedulerState} />
<QueriesList queries={jobs} />
<Tabs>
Copy link
Contributor

Choose a reason for hiding this comment

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

We probably want to have here: <Tabs width={"100%"}>

}) => {
return (
<Box flex={1}>
<DataTable maxW={960} columns={columns} data={nodes} pageSize={4} />
<DataTable maxW={960} columns={columns} data={executors} pageSize={4} />
Copy link
Contributor

Choose a reason for hiding this comment

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

The maxW property is not really useful, unless we need this width size restriction. Removing it makes the table look better.

@onthebridgetonowhere
Copy link
Contributor

@KenSuenobu @onthebridgetonowhere Could you review this PR when you get a chance?

@andygrove it looks great. I have only two comments regarding look&feel, see above.

@andygrove
Copy link
Member Author

Thanks for the review @onthebridgetonowhere. I addressed those two points and it looks much better now.

@andygrove andygrove merged commit d894bea into apache:master Oct 3, 2022
@andygrove andygrove deleted the executors-tab branch October 3, 2022 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants