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 panel sorter #565

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Conversation

patrickkusebauch
Copy link

Added ability to sort panels before rendering. Simply register the sorter in your Booting class (or similar if not using nette)

Debugger::getBar()->replaceSorter(/** your sorting function for `uksort` **/)

By default, no sorting to keep the current functionality.

@dg dg force-pushed the master branch 3 times, most recently from 69cb79a to 209ac30 Compare June 20, 2023 13:41
@dg dg force-pushed the master branch 5 times, most recently from c17700c to 024db76 Compare July 30, 2023 13:57
@dg dg force-pushed the master branch 4 times, most recently from 55d01f2 to 481422e Compare September 26, 2023 04:06
@dg dg force-pushed the master branch 4 times, most recently from 34992a5 to 7e8d83f Compare September 29, 2023 13:25
dg added 9 commits January 4, 2024 15:31
xdebug_get_function_stack() is available only if xdebug.mode=develop is set.
Inside a shutdown handler, it returns the complete callstack only when called from the CLI.
When used in a browser, the callstack is printed out and the function then does not return it.
The callstack output can be disabled using html_errors=0, but the function still won't return it.
…[WIP]

- requires xdebug 3.3 and xdebug.mode=develop
- stores information only for the last 8 exceptions, so we don't want to generate new exceptions during rendering
@dg dg force-pushed the master branch 3 times, most recently from ed50c8c to 1a1cfeb Compare April 3, 2024 18:39
@dg dg force-pushed the master branch 3 times, most recently from e978bbc to f8e0f10 Compare May 2, 2024 11:02
@dg dg force-pushed the master branch 4 times, most recently from 866bd61 to 7dd88f7 Compare June 18, 2024 21:56
@dg dg force-pushed the master branch 4 times, most recently from b39998b to 5906211 Compare August 7, 2024 02:06
@dg dg force-pushed the master branch 2 times, most recently from e89fde9 to 5718904 Compare October 4, 2024 23:10
@dg dg force-pushed the master branch 4 times, most recently from 33ec3c4 to 8d3f47d Compare November 7, 2024 14:48
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.

Feature - ability to sort panels
2 participants