Skip to content

Add job set and job state filtering to Lookout UI#465

Merged
carlocamurri merged 9 commits intomasterfrom
carlocamurri/lookout-ui-filtering
Dec 1, 2020
Merged

Add job set and job state filtering to Lookout UI#465
carlocamurri merged 9 commits intomasterfrom
carlocamurri/lookout-ui-filtering

Conversation

@carlocamurri
Copy link
Contributor

image

image

jankaspar
jankaspar previously approved these changes Dec 1, 2020
multiple
value={props.jobStates}
onChange={(event) => {
const newJobStates = (event.target.value as string[])
Copy link
Collaborator

Choose a reason for hiding this comment

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

We do lot of casting here, can it be simplified?

submissionTime: submissionTime,
jobState: jobState,
}
export enum JobStateViewModel {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could you potentially combine the 2 enums? Maybe using union of string literals as a type would make it work better (I haven't tried).

@carlocamurri carlocamurri merged commit 5f68ad1 into master Dec 1, 2020
@carlocamurri carlocamurri deleted the carlocamurri/lookout-ui-filtering branch December 1, 2020 14:23
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