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

Added collapse SERVER section #502

Open
wants to merge 2 commits into
base: 0.23.x
Choose a base branch
from
Open

Conversation

Prihod
Copy link

@Prihod Prihod commented Jan 7, 2025

Problem

When the $_SERVER variable contains many entries, the "SERVER" section on the run view page becomes very large. This makes it difficult to navigate through the page, especially when debugging other parts of the application.

Proposed Solution

Wrap the "SERVER" section in a collapsible <details> HTML element. This reduces clutter and allows users to expand the section only when needed.

Here's the updated code for templates/runs/view.twig:

<li class="nav-header">
    <details>
        <summary>SERVER</summary>
        {{ helpers.property_list('SERVER', result.meta('SERVER')) }}
    </details>
</li>

Benefits

  • Improves user experience.
  • Makes the page easier to navigate.
  • Reduces unnecessary scrolling.

 XHGui - Profile

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.

1 participant