Revision Date Author Comments
# d9253ab0 26-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 ...


# 85724d48 15-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 ...


# 456b25f8 08-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 ...


# dfdb6771 04-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 ...


# 6972fd1e 25-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 ...


# 5b1ef2b5 09-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 ...


# 3d69319c 29-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 ...


# fce0f067 23-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 ...


# be38f75a 16-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 ...


# 16b088d6 20-Feb-2018 Eben M Haber <eben@couchbase.com>

MB-24883 - Show XATTRs in the new document editor. Both XATTRs and
metadata are now shown as a tooltip in the new document editor when
you mouse over the document key.

MB-28226 - Fix

MB-24883 - Show XATTRs in the new document editor. Both XATTRs and
metadata are now shown as a tooltip in the new document editor when
you mouse over the document key.

MB-28226 - Fix issue with autocomplete of "system:" names, which must
be lowercase (unlike all other keywords, which are case
insensitive). That code is part of the ACE editor N1QL mode, which has
just been moved to ns_server, so remove references to it here.

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

show more ...


# d3ff86aa 24-Jan-2018 Eben M Haber <eben@couchbase.com>

MB-27681 - Add an expand button to the JSON editor in the *new* document editor.

Change-Id: I77225ed42a1a4a733d9a544aa168a98a41e205d5
Reviewed-on: http://review.couchbase.org/88281
R

MB-27681 - Add an expand button to the JSON editor in the *new* document editor.

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

show more ...


# 0a8fab4c 19-Dec-2017 Eben M Haber <eben@couchbase.com>

MB-27259 - Error annotations in the JSON doc editor were not always
visible, since the red "x" in the left margin was vertically centered
in the line, and if a line were thousands of charater

MB-27259 - Error annotations in the JSON doc editor were not always
visible, since the red "x" in the left margin was vertically centered
in the line, and if a line were thousands of charaters long, it might
be way off screen. The fix is to *also* show the error message on the
top of the screen, as with the traditional document editor.

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

show more ...


# d4b42111 19-Oct-2017 Rob Ashcom <rob.ashcom@gmail.com>

doc editor ui/ux revisions

- revised style/element for field labels
- converted select menu to uib-selectize
- fixed width of button and removed “cancel” text
- made “Results for

doc editor ui/ux revisions

- revised style/element for field labels
- converted select menu to uib-selectize
- fixed width of button and removed “cancel” text
- made “Results for:” text bold
- revised style of “No Results” text
- removed height constraint for results div
- added div with shadow on the right of results to indicate horiz. scrollability
(TBD this should be smarter about disappearing when unnecessary)
- added <span> around doc id to trigger tooltip for only text, not whole cell; made cursor be a pointer
- for non-N1QL nodes: made button label conditionally say “Lookup ID”
- added spacing below title in edit dialog; fixed div tags; removed empty href tag (no longer necessary)
- changed title of Add Document dialog
- formatted code

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

show more ...


# df8812de 03-Aug-2017 Eben Haber <eben@couchbase.com>

Improvements to the DP table-based document editor.

1) It now works even if no query service exists. It automatically
switches between using N1QL and using the REST API depending on

Improvements to the DP table-based document editor.

1) It now works even if no query service exists. It automatically
switches between using N1QL and using the REST API depending on
whether the service is available on the local node. N1QL is
preferable.

2) The URL of the hidden page has been changed to:
http://localhost:8091/ui/index.html#!/doc_editor

3) The textual JSON editor has been made larger.

4) A bug was fixed in the renderer to correctly handle field names
that have special characters.

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

show more ...


# f2b6d10a 02-Apr-2017 robashcom <rob.ashcom@gmail.com>

doc editor 2.0 revision

standardized all the visual features
fixed the exploding-width table phenonema
re-tooled all dialogs

!!THIS SHOULD MERGE AFTER THE QUERY STATS CHANGE

doc editor 2.0 revision

standardized all the visual features
fixed the exploding-width table phenonema
re-tooled all dialogs

!!THIS SHOULD MERGE AFTER THE QUERY STATS CHANGE!!

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

show more ...


# 3f52037e 20-Mar-2017 Eben Haber <eben@couchbase.com>

Minor fixes to tabular document editor.

Change-Id: I1cfe966916701c0de586ff7519a33fe0b069c885
Reviewed-on: http://review.couchbase.org/75439
Reviewed-by: Eben Haber <eben@couchbase.co

Minor fixes to tabular document editor.

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

show more ...


# 8db53eb6 16-Mar-2017 Eben Haber <eben@couchbase.com>

Tabular document editor is now fully featured.

Change-Id: Ia29ce913fcce3d6b00f71e0b293186f0f9489a57
Reviewed-on: http://review.couchbase.org/75279
Reviewed-by: Eben Haber <eben@couch

Tabular document editor is now fully featured.

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

show more ...