User tests: Successful: Unsuccessful:
As additional to #30580
This fixing displaying of the SQL query parameters in debugBar.
Also optimised "Call Stack" rendering, that saves ~0.3s for rendering in my tests.
Apply path, run npm install
Not possible to view the query parameters
Click on "Params" icon to show the table with used query parameters
none
Status | New | ⇒ | Pending |
Category | ⇒ | JavaScript Repository NPM Change Front End Plugins |
Labels |
Added:
NPM Resource Changed
?
|
I have tested this item
Tested with "MySQLi", "MySQL (PDO)" and "PostgreSQL (PDO)" databases and drivers.
@Fedik Maybe there is a small improvement possible?
The call stack and the query plan have a bold heading, see green frame in the below screenshot.
Would be nice to have something like that, e.g. "Query Parameters", for the parameters, too.
And there is a little inconsistency, the "Call Stack" heading is only capitalized, but the "QUERY PLAN" is completely uppercase. Maybe the "QUERY PLAN" can be changed to "Query Plan"?
No need to do it with this PR here, future PR is also ok for me.
"Call Stack" heading is only capitalized, but the "QUERY PLAN" is completely uppercase.
"Explain table" rendered based on SQL response.
"QUERY PLAN" comes from SQL response for PostgreSQL, similar for MySQL headings all table columns comes from SQL response.
And "Call Stack" is hard-coded in the debugbar.
Labels |
Added:
?
|
Added, and update a styling a bit, to make it a little better readable
I have tested this item
@Fedik You are my hero ;-)
yea, that exact result with old JS
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-09-22 17:36:07 |
Closed_By | ⇒ | wilsonge | |
Labels |
Added:
?
Removed: ? |
Thanks!
Adding release blocker label as the original issue #30318 had it, and PR #30580 had only fixed one aspect while this PR now fixes the remaining issue.