History log of /6.0.3/query-ui/query-ui/ui-current/data_display/ (Results 1 - 25 of 65)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
c84834a710-Aug-2018 Eben M Haber <eben@couchbase.com>

MB-30080 - performance issues in new doc editor

The new doc editor was slow when dealing with very complex documents
(many fields). This is caused by the browser spending time rendering

MB-30080 - performance issues in new doc editor

The new doc editor was slow when dealing with very complex documents
(many fields). This is caused by the browser spending time rendering
many many text-entry areas, one for each field. There's no general way
to speed that up (though Safari is about twice as fast as Chrome in
these situations), but I was able to help this two ways:

1) use ng-if instead of ng-show to prevent rendering of the
spreadsheet text-entry areas when the user selects "simple" mode. This
makes the simple mode effectively as fast as the classic doc editor.

2) there was already a limit on the maximum number of fields to show,
which was set at 500. This existed to prevent the browser from
grinding to a halt when facing thousands of fields. I reduced this
number to 250, which speeds up the "spreadsheet" mode somewhat. And if
the user really needs to edit more than 250 fields, they can use the
"edit as JSON" functionality.

Change-Id: Ief83b5018c3f39fbe7a269fb49dc6379ff7c9c8b
Reviewed-on: http://review.couchbase.org/98136
Well-Formed: Build Bot <build@couchbase.com>
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

5da7f6fa26-Jul-2018 Eben M Haber <eben@couchbase.com>

MB-30668 - new document editor not showing data for certain data types.

The new doc editor was having trouble with field names containing
single quotes, and with arrays inside other arra

MB-30668 - new document editor not showing data for certain data types.

The new doc editor was having trouble with field names containing
single quotes, and with arrays inside other arrays.

Change-Id: Iac07928ed639ea3528f87476f8900499e48cced2
Reviewed-on: http://review.couchbase.org/97465
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

62ad245f02-Jul-2018 Eben M Haber <eben@couchbase.com>

MB-30338 - Handle arrays with null elements in the document editor.

Needed to add a check for null to avoid an NPE.


Change-Id: I5beb3bab04ab3dc65ff96004abc5f4af390e2fcf
Rev

MB-30338 - Handle arrays with null elements in the document editor.

Needed to add a check for null to avoid an NPE.


Change-Id: I5beb3bab04ab3dc65ff96004abc5f4af390e2fcf
Reviewed-on: http://review.couchbase.org/96414
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>
Well-Formed: Build Bot <build@couchbase.com>

show more ...

1a84381801-Jun-2018 Eben M Haber <eben@couchbase.com>

Fix issue with nested tables in new Doc Editor spreadsheet mode.

The new doc editor was not correctly handling nested tables involving
an array of objects, each with only one field which

Fix issue with nested tables in new Doc Editor spreadsheet mode.

The new doc editor was not correctly handling nested tables involving
an array of objects, each with only one field which is a nested
sub-object. The path to the subfields were lacking the name of the
single field.

Change-Id: I51fa31fa106cf35570632ec8886c7411d7b50418
Reviewed-on: http://review.couchbase.org/95068
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

d9253ab026-May-2018 Eben M Haber <eben@couchbase.com>

MB-29824 - permissions issue with new doc editor.

The doc editor was checking for:

cluster.bucket[<bucket name>].data!read and
cluster.bucket[<bucket name>].data!write

MB-29824 - permissions issue with new doc editor.

The doc editor was checking for:

cluster.bucket[<bucket name>].data!read and
cluster.bucket[<bucket name>].data!write

when in fact it really needed to be checking for:

cluster.bucket[<bucket name>].data.docs!read and
cluster.bucket[<bucket name>].data.docs!upsert

In fact, none of the server code uses the !write permissions. So the
UI now just checks for docs!read for read permissions, and docs!upsert
for write permissions.

Change-Id: I010eb6cbdac7e95f6972e38c007bb1c138c50851
Reviewed-on: http://review.couchbase.org/94796
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

b99a443b22-May-2018 Eben M Haber <eben@couchbase.com>

MB-29780 - Problem copying large docs in new doc editor.

Since the server does not permit uploading documents larger than 1MB,
disable the "copy" button for documents of that size. Also

MB-29780 - Problem copying large docs in new doc editor.

Since the server does not permit uploading documents larger than 1MB,
disable the "copy" button for documents of that size. Also fix the
error handling code to show a better error message should a similar
issue arise in future.

Change-Id: Iea1763f032297d9681d23ecea67bb1c2f3d2ffa9
Reviewed-on: http://review.couchbase.org/94530
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

80a69c4421-May-2018 Eben M Haber <eben@couchbase.com>

MB-29400 - Handling very large documents in the new doc editor.

With certain very large documents, in certain browsers (Chrome &
Firefox), the regex check for very large numbers (> 2^53)

MB-29400 - Handling very large documents in the new doc editor.

With certain very large documents, in certain browsers (Chrome &
Firefox), the regex check for very large numbers (> 2^53) was causing
an out-of-memory exception. Add code for properly handling exceptions
in this case. N.b. an exception means that we don't know if the
document includes very large numbers, so tabular editing is
disallowed.

Change-Id: I508ca64d583e673ad1942e5e1edf048ec6b2a844
Reviewed-on: http://review.couchbase.org/94484
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

d9de55b117-May-2018 Eben M Haber <eben@couchbase.com>

MB-29400 - handling very large documents in the doc editor.

The doc editor wasn't handling documents with very large fields - the
browser would get very slow with text areas containing m

MB-29400 - handling very large documents in the doc editor.

The doc editor wasn't handling documents with very large fields - the
browser would get very slow with text areas containing more than 1MB
of data. Now the doc editor doesn't try to render such fields, instead
showing a warning where the field would normally appear.

Also, the REST API for uploading documents refuses to handle documents
larger than 1MB. I have filed an issue to have this raised, but in the
mean time the doc editor prevents editing of documents larger than 1MB.

Change-Id: I90b8504e3c1c80d7c9e7c1155db1e19eb1e008f5
Reviewed-on: http://review.couchbase.org/94337
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

85724d4815-May-2018 Eben M Haber <eben@couchbase.com>

Many small fixes to the new Doc Editor.

MB-29619 - unnecessary reload when hitting return on entering text to
search the bucket menu. Problem was that the menu was unnecessarily
part

Many small fixes to the new Doc Editor.

MB-29619 - unnecessary reload when hitting return on entering text to
search the bucket menu. Problem was that the menu was unnecessarily
part of an HTML form with the other controls.

MB-29627 - not correctly displaying documents that contain bare
strings or arrays in "simple" mode. Addition of simple mode didn't
account for this condition.

MB-29630 - allow edit dialog to adjust layout when error message shown.

MB-29628 - number fields in spreadsheet mode needed to allow any
number of decimal places.

MB-29622 - button order was incorrect for binary documents.

MB-29621 - change representation of empty array from "[]" to "[ ]" to
make it easier to read on the screen.

MB-29620 - boolean fields with value 'false' were not showing a widget
in the spreadsheet view.

MB-29618 - avoid duplicate error message if copy fails due to already
existing document.

MB-29613 - improve the error messages when the user forces an invalid
value into the offset or limit fields.

MB-29609 - fix the misalignment between the size of the spreadsheet
table and the size of the header.

MB-29607 - add the style 'overflow: hidden' to prevent very long field
names from overlapping the next column in the spreadsheet view.

Change-Id: I019cbf805574b2a876e814b349bf9b8a3c21f473
Reviewed-on: http://review.couchbase.org/94180
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

d335186210-May-2018 Eben M Haber <eben@couchbase.com>

MB-29573 - doc editor not handling ephemeral buckets correctly.

The normal REST API for iterating through documents doesn't work for
ephemeral buckets, so we have to insist that the user

MB-29573 - doc editor not handling ephemeral buckets correctly.

The normal REST API for iterating through documents doesn't work for
ephemeral buckets, so we have to insist that the user either provide a
document key, or use a primary/secondary index for N1QL querying.

Change-Id: I457999b29a87f458067d35456651c4fe33df4338
Reviewed-on: http://review.couchbase.org/94033
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

456b25f808-May-2018 Rob Ashcom <rob.ashcom@gmail.com>

position tooltip automatically if necessary

- fixes smaller-screen-width dillema of tooltip disappearing

Change-Id: Ia1beb7d3c3555d4b938d4b9644957869f172cd76
Reviewed-on: http:/

position tooltip automatically if necessary

- fixes smaller-screen-width dillema of tooltip disappearing

Change-Id: Ia1beb7d3c3555d4b938d4b9644957869f172cd76
Reviewed-on: http://review.couchbase.org/93898
Tested-by: Rob Ashcom <rob.ashcom@gmail.com>
Reviewed-by: Eben Haber <eben@couchbase.com>

show more ...

dfdb677104-May-2018 Rob Ashcom <rob.ashcom@gmail.com>

metadata tooltip height control

- changes position to “top-right” and adds tooltip-class=“tooltip-maxheight”

Change-Id: I784aae2e16450e99f7a6f0019ef64409043cdb26
Reviewed-on: ht

metadata tooltip height control

- changes position to “top-right” and adds tooltip-class=“tooltip-maxheight”

Change-Id: I784aae2e16450e99f7a6f0019ef64409043cdb26
Reviewed-on: http://review.couchbase.org/93774
Tested-by: Rob Ashcom <rob.ashcom@gmail.com>
Reviewed-by: Eben Haber <eben@couchbase.com>

show more ...

63ba947d27-Apr-2018 Eben M Haber <eben@couchbase.com>

MB-29372 - Null documents not show in new Doc Editor

Now show the document with the message "Empty Document".

Change-Id: Ib74b817cefb148e3b8971679ad1abab7da2c4225
Reviewed-on: h

MB-29372 - Null documents not show in new Doc Editor

Now show the document with the message "Empty Document".

Change-Id: Ib74b817cefb148e3b8971679ad1abab7da2c4225
Reviewed-on: http://review.couchbase.org/93443
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

6972fd1e25-Apr-2018 Rob Ashcom <rob.ashcom@gmail.com>

link doc ID to editor

- linked the text directly to the editor
- removed the meta-data tooltip
- retained the triangle warning icon (needs testing)
- renamed the metdata link (in

link doc ID to editor

- linked the text directly to the editor
- removed the meta-data tooltip
- retained the triangle warning icon (needs testing)
- renamed the metdata link (in the editor)
- repositioned the metadata tooltip (in the editor)

Change-Id: If7162863cdbfd133732012b18ddd6c48e9a28ff1
Reviewed-on: http://review.couchbase.org/93310
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

56c1c3bc25-Apr-2018 Eben M Haber <eben@couchbase.com>

MB-29400 - Bad doc editor performance on 10MB documents.

Needed to truncate very long arrays in the tabular editor because
rendering them can crash the browser. The document in question

MB-29400 - Bad doc editor performance on 10MB documents.

Needed to truncate very long arrays in the tabular editor because
rendering them can crash the browser. The document in question had an
array with 34,000 items.

Change-Id: I35adebe1f09b355d29d32283ada237726e669130
Reviewed-on: http://review.couchbase.org/93308
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

363f05ca24-Apr-2018 Eben M Haber <eben@couchbase.com>

MB-29395 - Simple view in Doc Editor not showing long numbers right

Needed to check if raw JSON with long numbers was available, and if so
to display it instead of the processed version

MB-29395 - Simple view in Doc Editor not showing long numbers right

Needed to check if raw JSON with long numbers was available, and if so
to display it instead of the processed version that protected long
numbers by converting them to string.

Change-Id: Iffdfec05211997716352cbf53b02453f9ad617af
Reviewed-on: http://review.couchbase.org/93200
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

5b1ef2b509-Apr-2018 Eben M Haber <eben@couchbase.com>

MB-29164 - prevent tooltip & doc editor dialog at same time

Change the trigger for the Doc Editor tooltips to allow all of them to
be hidden whenever an edit dialog is shown.

Ch

MB-29164 - prevent tooltip & doc editor dialog at same time

Change the trigger for the Doc Editor tooltips to allow all of them to
be hidden whenever an edit dialog is shown.

Change-Id: I3af2f259e3b6c8d6b7a86ee558ed450b67e893ee
Reviewed-on: http://review.couchbase.org/92454
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

5fcef66f06-Apr-2018 Eben M Haber <eben@couchbase.com>

MB-29148 - Handle bucket permissions in new doc editor.

Before the doc editor allowed "Add Document" for users with no write
permission on the bucket. Now it checks the permissions and:

MB-29148 - Handle bucket permissions in new doc editor.

Before the doc editor allowed "Add Document" for users with no write
permission on the bucket. Now it checks the permissions and:

- the bucket menu doesn't show buckets with no read permissions
- "Add Document" only appears if user has write permission
- the doc editor dialog is read-only if no write permission

Change-Id: I1a8e3582f243cc32a4235599b93cf805d5e1f811
Reviewed-on: http://review.couchbase.org/92342
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

a090720c05-Apr-2018 Eben M Haber <eben@couchbase.com>

MB-29118 and MB-29122 - issues with very long numbers.

When copying existing documents, it was missing a check for long
numbers, and thus copying a parsed version of the document, which

MB-29118 and MB-29122 - issues with very long numbers.

When copying existing documents, it was missing a check for long
numbers, and thus copying a parsed version of the document, which
loses precision for long numbers.

For creating new documents (MB-29122), the issue was that the regex
for detecting long numbers did not detect negative numbers. When
fixing this I discovered that it did not correctly detect floating
point numbers either, and both those issues are now fixed.

Change-Id: I1d5deb026765d014e8f3e860876b1b4ff8e2355b
Reviewed-on: http://review.couchbase.org/92269
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

574cd27104-Apr-2018 Eben M Haber <eben@couchbase.com>

MB-29111 - Allow sorting by document id in the new doc editor.

Change-Id: I5541305cb0293312d4b25d1e134337ad4a9ad406
Reviewed-on: http://review.couchbase.org/92139
Reviewed-by: Eben H

MB-29111 - Allow sorting by document id in the new doc editor.

Change-Id: I5541305cb0293312d4b25d1e134337ad4a9ad406
Reviewed-on: http://review.couchbase.org/92139
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

2ec8244430-Mar-2018 Eben M Haber <eben@couchbase.com>

MB-11667 - Correctly handle JSON with very long numbers in the new
document editor. This used to work correctly, but the change to the
document retrieval REST API required a corresponding cha

MB-11667 - Correctly handle JSON with very long numbers in the new
document editor. This used to work correctly, but the change to the
document retrieval REST API required a corresponding change in the new
document editor code.

Change-Id: I2ac31af8bf4947aad0fa65e81129f93f557e5b40
Reviewed-on: http://review.couchbase.org/91916
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

3d69319c29-Mar-2018 Eben M Haber <eben@couchbase.com>

Tweaks to new doc editor in response to user feedback.

Change-Id: Idc9d93a73430cea0c545e64139be7e341290fa0b
Reviewed-on: http://review.couchbase.org/91847
Reviewed-by: Eben Haber <eb

Tweaks to new doc editor in response to user feedback.

Change-Id: Idc9d93a73430cea0c545e64139be7e341290fa0b
Reviewed-on: http://review.couchbase.org/91847
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

fce0f06723-Mar-2018 Eben M Haber <eben@couchbase.com>

MB-28870 - fix error handling issues in new doc editor.

Also make new doc editor work better with low privileged accounts.

Also add metada and xattrs to doc editing dialog.

MB-28870 - fix error handling issues in new doc editor.

Also make new doc editor work better with low privileged accounts.

Also add metada and xattrs to doc editing dialog.

Change-Id: Ie8a872f3c2f611ece125176228d48ad6da5b9276
Reviewed-on: http://review.couchbase.org/91522
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

be38f75a16-Mar-2018 Rob Ashcom <rob.ashcom@gmail.com>

CSS cleanup Doc Editor & Query Monitor

- revised dialogs to use standard patterns/styles
- removed ids from doc editor styles
- same with query monitoring styles

Change-Id:

CSS cleanup Doc Editor & Query Monitor

- revised dialogs to use standard patterns/styles
- removed ids from doc editor styles
- same with query monitoring styles

Change-Id: I5d78c2149dd227a76aa2aca28593eec8fc0576dc
Reviewed-on: http://review.couchbase.org/91094
Tested-by: Rob Ashcom <rob.ashcom@gmail.com>
Reviewed-by: Eben Haber <eben@couchbase.com>

show more ...

f1715f9e12-Mar-2018 Eben M Haber <eben@couchbase.com>

Fix a problem with Doc Editor not remembering last selected bucket.

Change-Id: Ieee193e7b04c43f190032aa8fe23be9760eb2439
Reviewed-on: http://review.couchbase.org/90823
Reviewed-by: E

Fix a problem with Doc Editor not remembering last selected bucket.

Change-Id: Ieee193e7b04c43f190032aa8fe23be9760eb2439
Reviewed-on: http://review.couchbase.org/90823
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

123