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

UX Improvements list #1654

Open
barryvdh opened this issue Sep 8, 2024 · 12 comments
Open

UX Improvements list #1654

barryvdh opened this issue Sep 8, 2024 · 12 comments

Comments

@barryvdh
Copy link
Owner

barryvdh commented Sep 8, 2024

@barryvdh
Copy link
Owner Author

barryvdh commented Sep 9, 2024

I like how Symfony shows the details on hover:
image

@systemsolutionweb
Copy link
Contributor

@barryvdh
Copy link
Owner Author

CacheCollector I'll look into, but want to minimize performance impact.

Additionally, that popup from previous reply could also be used to toggle options.

@tpetry
Copy link
Contributor

tpetry commented Sep 13, 2024

Prettify querys by formatting whitespace on open?

I was thinking about that too. But common eloquent queries with multiple has or whereHas conditions get really long. And when prettifying those subqueries they can easily span 50+ rows.

@barryvdh
Copy link
Owner Author

Prettify querys by formatting whitespace on open?

I was thinking about that too. But common eloquent queries with multiple has or whereHas conditions get really long. And when prettifying those subqueries they can easily span 50+ rows.

Yes I wanted to do it more like the 'Explain' button. So either Open and prettify when not collapsed, or open + button to prettify.

@parallels999
Copy link
Contributor

parallels999 commented Sep 13, 2024

open + button to prettify

maybe a popup window, like emails preview

@azgooon
Copy link
Contributor

azgooon commented Sep 23, 2024

When a page containing further Ajax calls is loaded, the debug bar detects these requests and displays the latest one which I find often not the one I am working on. Having the ability to disable auto-preselecting new requests would be handy.

image

Every time, after the page load I need to go to the list of requests and select i.e the first one (as I am working on the main document)

@parallels999
Copy link
Contributor

@azgooon hi, that is not the point of this thread,
but I don't know if the documentation for that is wrong, they ask the same thing every time

'ajax_handler_auto_show' => true,

@barryvdh
Copy link
Owner Author

And if you click the button, you can disable it from the UI (autoshow)
image

@azgooon
Copy link
Contributor

azgooon commented Sep 23, 2024

@parallels999 and @barryvdh thanks for this. My bad, in my config, published a while ago I've not even had this option available so I assumed that this could not be toggled on/off. In ref to the "autoshow" checkbox sorry but I wouldn't connect the dots... maybe "autoshow the latest request" would be more meaningful? Just a thought.

@angeljqv
Copy link

Prettify querys by formatting whitespace on open?

I was thinking about that too. But common eloquent queries with multiple has or whereHas conditions get really long. And when prettifying those subqueries they can easily span 50+ rows.

Yes I wanted to do it more like the 'Explain' button. So either Open and prettify when not collapsed, or open + button to prettify.

+1 for the pop up,
maybe repo: sql-formatter-org/sql-formatter, js: @15.4.5/dist/sql-formatter.min.js, demo: /sql-formatter

@erikn69
Copy link
Contributor

erikn69 commented Oct 21, 2024

repo: sql-formatter-org/sql-formatter, js: @15.4.5/dist/sql-formatter.min.js, demo: /sql-formatter

I did made a popup PoC on maximebf/php-debugbar#690, this would be the result:
image

image

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

No branches or pull requests

7 participants