Uploaded image for project: 'Percona Monitoring and Management'
  1. Percona Monitoring and Management
  2. PMM-3072

Copy to clipboard is not visible for JSON in case of long queries

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 1.15.0
    • Fix Version/s: 1.16.0
    • Component/s: QAN App
    • Labels:
      None

      Description

      Very long query is not fully visible on JSON section (if it is expanded), for example

      
      -{
          "query_block": -{
              "select_id": 1,
              "nested_loop": -[
                 -{
                      "table": -{
                          "table_name": "t",
                          "access_type": "ALL",
                          "open_full_table": true,
                          "scanned_databases": "all",
                          "attached_condition": "(`t`.`AUTO_INCREMENT` is not null)"
                      }
                  },
                 -{
                      "table": -{
                          "table_name": "c",
                          "access_type": "ALL",
                          "open_frm_only": true,
                          "scanned_databases": "all",
                          "using_join_buffer": "Block Nested Loop",
                          "attached_condition": "((`c`.`EXTRA` = 'auto_increment') and (cast(`t`.`TABLE_SCHEMA` as char charset binary) = `c`.`TABLE_SCHEMA`) and (cast(`t`.`TABLE_NAME` as char charset binary) = `c`.`TABLE_NAME`))"
                      }
                  }
              ]
          }
      }

      In this case "Copy to clipboard" button is not visible.
      I think we should add horizontal scroll for long queries.

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  nailya.kutlubaeva Nailya Kutlubaeva
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 4 hours Original Estimate - 4 hours
                    4h
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 7 hours, 45 minutes
                    7h 45m