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

feat: adds log page for builds #792

Merged
merged 2 commits into from
Sep 11, 2024
Merged

Conversation

cdrage
Copy link
Contributor

@cdrage cdrage commented Sep 5, 2024

feat: adds log page for builds

What does this PR do?

  • Adds a log action button that will show the logs in real-time in a
    separate page
  • Automatically refreshes / appends to the output
  • Uses terminal settings from Podman Desktop to match what the user has
    setup.

Screenshot / video of UI

Screen.Recording.2024-09-05.at.12.14.03.PM.mov
Screen.Recording.2024-09-05.at.12.16.31.PM.mov

What issues does this PR fix or reference?

Closes #677

How to test this PR?

  1. Start a build
  2. Click the "logs" button on the dashboard
  3. Watch logs propagate

Signed-off-by: Charlie Drage [email protected]

@cdrage cdrage requested a review from a team as a code owner September 5, 2024 16:16
@cdrage cdrage requested review from dgolovin, feloy and deboer-tim and removed request for a team September 5, 2024 16:16
@cdrage cdrage force-pushed the add-log-screen branch 4 times, most recently from 803efc7 to 095f5d4 Compare September 5, 2024 19:44
Copy link
Contributor

@deboer-tim deboer-tim left a comment

Choose a reason for hiding this comment

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

Nice addition, just some minor feedback.

packages/backend/src/api-impl.ts Outdated Show resolved Hide resolved
packages/backend/src/api-impl.ts Outdated Show resolved Hide resolved
packages/backend/src/api-impl.ts Outdated Show resolved Hide resolved
### What does this PR do?

* Adds a log action button that will show the logs in real-time in a
  separate page
* Automatically refreshes / appends to the output
* Uses terminal settings from Podman Desktop to match what the user has
  setup.

### Screenshot / video of UI

<!-- If this PR is changing UI, please include
screenshots or screencasts showing the difference -->

### What issues does this PR fix or reference?

<!-- Include any related issues from Podman Desktop
repository (or from another issue tracker). -->

Closes podman-desktop#677

### How to test this PR?

1. Start a build
2. Click the "logs" button on the dashboard
3. Watch logs propagate

<!-- Please explain steps to reproduce -->

Signed-off-by: Charlie Drage <[email protected]>
@cdrage
Copy link
Contributor Author

cdrage commented Sep 11, 2024

@deboer-tim updated!

  • Removed the console logs... had them there for debugging and forgot to remove
  • Renamed the get configuration value function

Copy link
Contributor

@deboer-tim deboer-tim left a comment

Choose a reason for hiding this comment

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

Thanks for the changes. Just need to fix the linting but otherwise looks good. 👍🏼

Signed-off-by: Charlie Drage <[email protected]>
@cdrage cdrage enabled auto-merge (squash) September 11, 2024 12:53
@cdrage cdrage merged commit 096be24 into podman-desktop:main Sep 11, 2024
5 checks passed
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.

Add log button for builds on dashboard.
2 participants