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

Job{,List}: Link to job archive directories #37

Merged
merged 3 commits into from
Aug 31, 2023
Merged

Job{,List}: Link to job archive directories #37

merged 3 commits into from
Aug 31, 2023

Conversation

zmc
Copy link
Member

@zmc zmc commented Aug 2, 2023

This is more helpful than linking directly to teuthology.log, which may not even exist yet.

@render
Copy link

render bot commented Aug 2, 2023

@zmc zmc changed the title JobList: Link to job archive directories Job{,List}: Link to job archive directories Aug 8, 2023
@kamoltat kamoltat self-requested a review August 9, 2023 15:26
@kamoltat kamoltat added the enhancement Making existing feature better label Aug 9, 2023
Copy link
Member

@kamoltat kamoltat left a comment

Choose a reason for hiding this comment

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

@zmc

NIT:
I think the text link is not so obvious since it is near the linked job name which is the same color. Maybe for aesthetic purposes we can have the archive link as an icon? or even different color? WDYT?

image

@VallariAg
Copy link
Member

Maybe we can use an archive/folder icon which vertically aligns with the status icon above, like:
Screenshot 2023-08-16 at 9 20 47 AM

@zmc
Copy link
Member Author

zmc commented Aug 16, 2023

Thanks for the feedback @kamoltat and @VallariAg! Let me know what you think of the latest commit.

@netlify
Copy link

netlify bot commented Aug 16, 2023

Deploy Preview for pulpito ready!

Name Link
🔨 Latest commit 2cbc98c
🔍 Latest deploy log https://app.netlify.com/sites/pulpito/deploys/64efe5299ebce40008b6422b
😎 Deploy Preview https://deploy-preview-37--pulpito.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@kamoltat kamoltat left a comment

Choose a reason for hiding this comment

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

@zmc just need a rebase then it's good to go

We could add path-browserify as a dependency and have access to Node.js'
path module, but that's 15kb and this is four lines.

Signed-off-by: Zack Cerza <[email protected]>
This is more helpful than linking directly to teuthology.log, which may
not even exist yet.

Signed-off-by: Zack Cerza <[email protected]>
And change the text to "Log Archive"

Signed-off-by: Zack Cerza <[email protected]>
@kamoltat kamoltat merged commit 2cd36c7 into main Aug 31, 2023
7 checks passed
@kamoltat kamoltat deleted the link-log-dir branch August 31, 2023 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Making existing feature better
Projects
Development

Successfully merging this pull request may close these issues.

3 participants