Skip to content

Conversation

iOvergaard
Copy link
Collaborator

@iOvergaard iOvergaard commented Sep 9, 2024

Description

Adds a button to the backoffice header logo that opens a modal with system information. The information is composed of two different calls to the server to get the "troubleshooting" data as well as the "server information" data. The button will only be shown to admins. The user can choose to copy the information to the clipboard after reviewing it.

Screenshots

Code block with copy functionality (new)

sysinfo_codeblock.mp4

POC with a table (old)

sysinfo_clipboard.mp4

How to test

  1. Log in as admin
  2. Click the header logo
  3. Click System Information
  4. Review the data in the table, which should match your system
  5. Click the Copy to clipboard button
  6. Verify that you can paste the information into a text editor such as a GitHub issue

@iOvergaard
Copy link
Collaborator Author

iOvergaard commented Sep 10, 2024

@leekelleher I have uploaded a new video showcasing the concept using the umb-code-block instead. I've also fixed an issue in the code block related to typos and CSS. Also the main CTA button is now green and shown on the right most side in the actions bar.

Copy link
Member

@leekelleher leekelleher left a comment

Choose a reason for hiding this comment

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

Tested out, (with and without an admin user), all working great! 🚀

Copy link

@iOvergaard iOvergaard merged commit 9b0ea04 into main Sep 10, 2024
8 checks passed
@iOvergaard iOvergaard deleted the feature/sysinfo branch September 10, 2024 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants