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

[prebuild] Fix view when coming from prefix #11119

Merged
merged 1 commit into from
Jul 5, 2022
Merged

Conversation

laushinka
Copy link
Contributor

@laushinka laushinka commented Jul 4, 2022

Description

This fixes the broken layout, but doesn't add yet the "Skip Prebuild" button as we intended in a recent epic. Skipping prebuilds will be covered in a follow-up issue.

BEFORE AFTER
Screenshot 2022-07-04 at 15 05 39 Screenshot 2022-07-04 at 18 19 56

Related Issue(s)

Fixes #11079

How to test

  1. Run a prebuild using https://laushinka-be81110388.preview.gitpod-dev.com/#prebuild/[YOUR_REPO]
  2. See the fixed view as in the description.

Release Notes

NONE

Documentation

Werft options:

  • /werft with-preview

@werft-gitpod-dev-com
Copy link

started the job as gitpod-build-laushinka-prebuild-11079.2 because the annotations in the pull request description changed
(with .werft/ from main)

@laushinka laushinka force-pushed the laushinka/prebuild-11079 branch 3 times, most recently from f53d25e to 899c887 Compare July 4, 2022 16:10
@laushinka laushinka marked this pull request as ready for review July 4, 2022 16:15
@laushinka laushinka requested a review from a team July 4, 2022 16:15
@github-actions github-actions bot added the team: webapp Issue belongs to the WebApp team label Jul 4, 2022
@geropl geropl self-assigned this Jul 4, 2022
@@ -123,17 +123,19 @@ export default function PrebuildLogs(props: PrebuildLogsProps) {
}, [logsEmitter, props.workspaceId, workspaceInstance?.id, workspaceInstance?.status.phase]);

return (
<div className="rounded-xl overflow-hidden bg-gray-100 dark:bg-gray-800 flex flex-col">
<div className="rounded-xl overflow-hidden bg-gray-100 dark:bg-gray-800 flex flex-col mb-8">
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ended up adding the margin here - tested all three views. Also I think moving forward we should make the logs be centered in the screen. It's too off down there at the bottom.

@laushinka laushinka requested a review from geropl July 4, 2022 21:48
Copy link
Member

@geropl geropl left a comment

Choose a reason for hiding this comment

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

Tested and works! ✔️

@roboquat roboquat merged commit a035222 into main Jul 5, 2022
@roboquat roboquat deleted the laushinka/prebuild-11079 branch July 5, 2022 08:48
@roboquat roboquat added deployed: webapp Meta team change is running in production deployed Change is completely running in production labels Jul 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed: webapp Meta team change is running in production deployed Change is completely running in production release-note-none size/M team: webapp Issue belongs to the WebApp team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Prebuild logs view broken when triggering a prebuild manually
3 participants