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

[POR-1673] Implement Job History in New View #3614

Merged
merged 9 commits into from
Sep 20, 2023

Conversation

ferozemohideen
Copy link

@ferozemohideen ferozemohideen commented Sep 20, 2023

POR-1673

What does this PR do?

Screen.Recording.2023-09-20.at.3.18.40.PM.mov

);

useEffect(() => {
if (data != null) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this is going to be undefined by default

Comment on lines 2 to 5
import { timeFrom } from "shared/string_utils";

export const ranFor = (start: string, end?: string | number) => {
const duration = timeFrom(start, end);
Copy link
Contributor

Choose a reason for hiding this comment

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

Might make sense to do date processing like this on actual timestamps in the future instead of on strings

Copy link
Author

Choose a reason for hiding this comment

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

Yeah we should swap this out with a library that does this in the future, I just copied this from existing

@ferozemohideen ferozemohideen enabled auto-merge (squash) September 20, 2023 20:40
@ferozemohideen ferozemohideen merged commit a208a76 into master Sep 20, 2023
8 checks passed
@ferozemohideen ferozemohideen deleted the stacks-v2-job-history branch September 20, 2023 20:46
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.

3 participants