-
Notifications
You must be signed in to change notification settings - Fork 887
feat: Redesign build logs #4734
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
Conversation
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.
The code and design look great to me!
Should we add stories for the build table to make changes a bit simpler?
@kylecarbs the build table already has stories. But let me check how good is its coverage. |
spacing={1} | ||
> | ||
<span> | ||
<strong>{initiatedBy}</strong>{" "} |
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.
We can add translations with formatting by using a Trans
component.
Presley asked me to write out an example, so there's one in our how-tos.
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.
I found it hard to use Trans
here because of the conditionals but I moved the text to translation files.
<TableRow | ||
hover | ||
data-testid={`build-${build.id}`} | ||
className={styles.buildRow} |
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.
This is such a nice, tabbable table! I would love to be able to hit 'enter' and navigate to the log page without having to touch my mouse.
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.
I was watching TV when I "remembered" that I forgot to add the link 😆 I'm glad you found it as well, really good review 🌮
I cannot actually click into the logs anymore. Is this by design? If we've decided not to show the logs anymore, can we remove the pointer and table highlight on mouseover? |
Co-authored-by: Kira Pilot <kira@coder.com>
Co-authored-by: Kira Pilot <kira@coder.com>
Before:

After:
