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: Add gather & download logs button in troubleshooting #5119

Merged
merged 9 commits into from Feb 8, 2024

Commits on Feb 6, 2024

  1. feat: Add gather & download logs button in troubleshooting

    ### What does this PR do?
    
    * Adds a button to collect logs which is currently only hardcoded to
      retrieve the console logs
    * Adds a button to download the logs as a zip file with all logs stored
      within as a .txt file
    * Shows which files have been generated and what will be zipped.
    
    ### 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 containers#5048
    
    ### How to test this PR?
    
    <!-- Please explain steps to reproduce -->
    
    1. Go to troubleshooting
    2. Click the collect logs & download logs buttons.
    
    Signed-off-by: Charlie Drage <charlie@charliedrage.com>
    cdrage committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    a88ff0b View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2024

  1. Update packages/main/src/plugin/troubleshooting.ts

    Co-authored-by: Florent BENOIT <fbenoit@redhat.com>
    Signed-off-by: Charlie Drage <charlie@charliedrage.com>
    cdrage and benoitf committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    70cf6f3 View commit details
    Browse the repository at this point in the history
  2. Update packages/main/src/plugin/troubleshooting.ts

    Co-authored-by: Florent BENOIT <fbenoit@redhat.com>
    Signed-off-by: Charlie Drage <charlie@charliedrage.com>
    cdrage and benoitf committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    fe6165e View commit details
    Browse the repository at this point in the history
  3. Update packages/main/src/plugin/troubleshooting.spec.ts

    Co-authored-by: Florent BENOIT <fbenoit@redhat.com>
    Signed-off-by: Charlie Drage <charlie@charliedrage.com>
    cdrage and benoitf committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    aeef13d View commit details
    Browse the repository at this point in the history
  4. Update packages/main/src/plugin/troubleshooting.ts

    Co-authored-by: Florent BENOIT <fbenoit@redhat.com>
    Signed-off-by: Charlie Drage <charlie@charliedrage.com>
    cdrage and benoitf committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    4587e31 View commit details
    Browse the repository at this point in the history
  5. Update packages/renderer/src/lib/troubleshooting/TroubleshootingGathe…

    …rLogs.svelte
    
    Co-authored-by: Florent BENOIT <fbenoit@redhat.com>
    Signed-off-by: Charlie Drage <charlie@charliedrage.com>
    cdrage and benoitf committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    960b876 View commit details
    Browse the repository at this point in the history
  6. Update packages/renderer/src/lib/troubleshooting/TroubleshootingGathe…

    …rLogs.svelte
    
    Co-authored-by: Florent BENOIT <fbenoit@redhat.com>
    Signed-off-by: Charlie Drage <charlie@charliedrage.com>
    cdrage and benoitf committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    5d5ddbc View commit details
    Browse the repository at this point in the history
  7. Update packages/main/src/plugin/troubleshooting.ts

    Co-authored-by: Florent BENOIT <fbenoit@redhat.com>
    Signed-off-by: Charlie Drage <charlie@charliedrage.com>
    cdrage and benoitf committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    094b21f View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2024

  1. update based on review changes

    Signed-off-by: Charlie Drage <charlie@charliedrage.com>
    cdrage committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    de3d237 View commit details
    Browse the repository at this point in the history