Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-19365

Don't colorize sample docs over 64 KiB

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.5.0
    • 4.5.0
    • UI
    • None
    • Untriaged
    • Unknown

    Description

      Colorizing documents creates a lot of HTML which results in the UI render speed slowing down to an unacceptable extent. After some testing I think that 64 KB or smaller is a reasonable size of document to colorize; above that we should present it grayscale – though we should take advantage of prettyJson to insert carriage returns and indent. See attachments.

      Attachments

        1. not-colorized-sample.png
          not-colorized-sample.png
          89 kB
        2. screenshot-1.png
          screenshot-1.png
          69 kB
        3. test2.min.json
          95 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            pavel Pavel Blagodov
            dfinlay Dave Finlay
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty