History log of /6.6.0/query-ui/ (Results 1 - 25 of 626)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
74062c6906-Aug-2020 Eben M Haber <eben@couchbase.com>

MB-40803 - Incorrect options shown in Query Workbench Import dialog

Fix merge mistake which included incorrect code.

Change-Id: If624337fa627b81dcdf41179e48ebe00351856b5
Reviewe

MB-40803 - Incorrect options shown in Query Workbench Import dialog

Fix merge mistake which included incorrect code.

Change-Id: If624337fa627b81dcdf41179e48ebe00351856b5
Reviewed-on: http://review.couchbase.org/c/query-ui/+/133924
Well-Formed: Build Bot <build@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>
Reviewed-by: Eben Haber <eben@couchbase.com>

show more ...

699ea89a27-Jul-2020 Eben M Haber <eben@couchbase.com>

MB-40630 - Don't show Query Monitoring in CE version.

Owing to confusion as to whether Query Monitoring was supported in the
CE, it was being shown inappropriately.

Change-Id: I

MB-40630 - Don't show Query Monitoring in CE version.

Owing to confusion as to whether Query Monitoring was supported in the
CE, it was being shown inappropriately.

Change-Id: Icc25069ba0d86925c795a233dc6843abf473ee76
Reviewed-on: http://review.couchbase.org/c/query-ui/+/133301
Tested-by: Eben Haber <eben@couchbase.com>
Reviewed-by: Eben Haber <eben@couchbase.com>
Well-Formed: Build Bot <build@couchbase.com>

show more ...

07b4422622-Jul-2020 Eben M Haber <eben@couchbase.com>

MB-39511 - limit error message length in Doc Editor UI

Change-Id: I958221fc74dcfe4a0a4c5f18b4be70c60bc4a4dc
Reviewed-on: http://review.couchbase.org/c/query-ui/+/133082
Tested-by: Eb

MB-39511 - limit error message length in Doc Editor UI

Change-Id: I958221fc74dcfe4a0a4c5f18b4be70c60bc4a4dc
Reviewed-on: http://review.couchbase.org/c/query-ui/+/133082
Tested-by: Eben Haber <eben@couchbase.com>
Reviewed-by: Eben Haber <eben@couchbase.com>
Well-Formed: Build Bot <build@couchbase.com>

show more ...

68bf844924-Jun-2020 Eben M Haber <eben@couchbase.com>

MB-40116 - Fix typo, "Covered Indexes" -> "Covering Indexes"

As MB-40116 notes, the documentation refers to these indexes as
"Covering", so the UI should as well.

Change-Id: I71

MB-40116 - Fix typo, "Covered Indexes" -> "Covering Indexes"

As MB-40116 notes, the documentation refers to these indexes as
"Covering", so the UI should as well.

Change-Id: I71c2324d7e78f2dccd27854270e3b1dfcbf17392
Reviewed-on: http://review.couchbase.org/c/query-ui/+/131293
Tested-by: Eben Haber <eben@couchbase.com>
Reviewed-by: Eben Haber <eben@couchbase.com>
Well-Formed: Build Bot <build@couchbase.com>

show more ...

b15004b216-Jun-2020 Eben M Haber <eben@couchbase.com>

MB-39903 - numbers imported as strings in CSV, TSV
MB-39911 - crash when specify improper field for doc ID
MB-39910 - incomplete cbimport command
MB-39899 - can't import arbitrary JSON fi

MB-39903 - numbers imported as strings in CSV, TSV
MB-39911 - crash when specify improper field for doc ID
MB-39910 - incomplete cbimport command
MB-39899 - can't import arbitrary JSON file
MB-39905 - docs with duplicate Doc IDs will overwrite other docs
MB-39912 - show error when there is no query service

MB-39903 - the D3 libary used for parsing CSV & TSV treats numbers as
strings unless a flag is passed asking it to import numbers when
possible. This change includes that flag.

MB-39911 - the UI was showing incorrect fields for use as DocID, and
if the user selected such a field the import would fail. The fix
prevents showing fields that are not present in every document.

MB-39910 - two options were missing from the generated cbimport
command, one due to a typo, the other due to an omission.

MB-39899 - cbimport only supports two subsets of JSON: a list of
documents, and a text file with one JSON document per line. This bug
reports that arbitrary JSON files can't be imported. This is not a
surprise. The fix is to change the wording and add a tooltip to help
inform the user that arbitrary JSON is not supported.

MB-39905 - this bug reports that importing documents with the same Doc
ID as existing documents causes the existing documents to be
overwritten. This is expected behavior to those familiar with
Couchbase, so the fix is to add a tooltip explaining the meaning of
document IDs.

MB-39912 - the import UI relies on the query service to work. This fix
shows an error message when there is no query service in the
cluster. The user can still specify an import, and get the generated
'cbimport' command, but they can't click the 'import' button.

Change-Id: I33c1196a9beb8c84abe591fc966cb0acbea3001e
Reviewed-on: http://review.couchbase.org/c/query-ui/+/130666
Well-Formed: Build Bot <build@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>
Reviewed-by: Eben Haber <eben@couchbase.com>

show more ...

d286712b16-Jun-2020 Eben M Haber <eben@couchbase.com>

MB-39898 - show message when Import complete
MB-39913 - reset Import settings when Import completes successfully
MB-39904 - screen messed up showing large error from import

All three

MB-39898 - show message when Import complete
MB-39913 - reset Import settings when Import completes successfully
MB-39904 - screen messed up showing large error from import

All three issues relate to handling the completion of import, either
successfully or due to an error. The first two issues are solved by
adding code at import completion to show a dialog and then reset the
import settings. The last issue is solved by improving the handling
and display of error messages from the server.

Change-Id: Ife365bf0657997ce67b3ae28f3d04d7766755154
Reviewed-on: http://review.couchbase.org/c/query-ui/+/130662
Well-Formed: Build Bot <build@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>
Reviewed-by: Eben Haber <eben@couchbase.com>

show more ...

a46b8c1909-Jun-2020 Eben M Haber <eben@couchbase.com>

MB-37838 - Don't show update/delete when "use keys"

Found an issue in detecting WHERE clauses with UPDATE.

Change-Id: I8fe6209ee9a475a0933535802f6df5bb0b1c43d2
Reviewed-on: http

MB-37838 - Don't show update/delete when "use keys"

Found an issue in detecting WHERE clauses with UPDATE.

Change-Id: I8fe6209ee9a475a0933535802f6df5bb0b1c43d2
Reviewed-on: http://review.couchbase.org/c/query-ui/+/130141
Well-Formed: Build Bot <build@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>
Reviewed-by: Eben Haber <eben@couchbase.com>

show more ...

8ba1dc9503-Jun-2020 Eben M Haber <eben@couchbase.com>

MB-37838 - Don't show update/delete when "use keys"

The query workbench shows a warning whenever there is an UPDATE or
DELETE statement with no WHERE clause, to add a user confirmation w

MB-37838 - Don't show update/delete when "use keys"

The query workbench shows a warning whenever there is an UPDATE or
DELETE statement with no WHERE clause, to add a user confirmation when
there is the potential to delete or change every document. This
warning is not necessary when the statement includes USE KEYS.

Change-Id: I235f2aafa198f157ecd108160d51dfb4b6ba9aba
Reviewed-on: http://review.couchbase.org/c/query-ui/+/129772
Well-Formed: Build Bot <build@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>
Reviewed-by: Eben Haber <eben@couchbase.com>

show more ...

e402d7db04-Jun-2020 Eben M Haber <eben@couchbase.com>

MB-38333 - final tweaks to new Import UI

There were some spacing problems with the data display, and sometimes
the "loading file..." message wouldn't go away under certain error
cond

MB-38333 - final tweaks to new Import UI

There were some spacing problems with the data display, and sometimes
the "loading file..." message wouldn't go away under certain error
conditions.

Change-Id: I983d83457497da02b015cf25b62e0e6e2a2966ff
Reviewed-on: http://review.couchbase.org/c/query-ui/+/129866
Well-Formed: Build Bot <build@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>
Reviewed-by: Eben Haber <eben@couchbase.com>

show more ...

957c29d503-Jun-2020 Eben M Haber <eben@couchbase.com>

MB-38333 - New import UI

Improve the wording of on-screen text, and make the data view selected
via pills.

Change-Id: I171dfc34cf4c84006a007df664a396e4c0eb0fb3
Reviewed-on:

MB-38333 - New import UI

Improve the wording of on-screen text, and make the data view selected
via pills.

Change-Id: I171dfc34cf4c84006a007df664a396e4c0eb0fb3
Reviewed-on: http://review.couchbase.org/c/query-ui/+/129765
Well-Formed: Build Bot <build@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>
Reviewed-by: Eben Haber <eben@couchbase.com>

show more ...

279b3f5f29-May-2020 Eben M Haber <eben@couchbase.com>

MB-38333 - Add Rob's latest change to the IMPORT GUI.

Change-Id: I6413239f0a1e10b6081bfa0a6173dfa50089cdd8
Reviewed-on: http://review.couchbase.org/c/query-ui/+/129412
Well-Formed: B

MB-38333 - Add Rob's latest change to the IMPORT GUI.

Change-Id: I6413239f0a1e10b6081bfa0a6173dfa50089cdd8
Reviewed-on: http://review.couchbase.org/c/query-ui/+/129412
Well-Formed: Build Bot <build@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>
Reviewed-by: Eben Haber <eben@couchbase.com>

show more ...

2c84255d21-May-2020 Eben M Haber <eben@couchbase.com>

MB-37554 - Correctly handle new Advice format

The "Create Index" code didn't correctly handle the new format, in
which advice comes back as an object and not an array.

Change-Id

MB-37554 - Correctly handle new Advice format

The "Create Index" code didn't correctly handle the new format, in
which advice comes back as an object and not an array.

Change-Id: Ic73449bf2461df7b373d13683459f522651054e2
Reviewed-on: http://review.couchbase.org/c/query-ui/+/128776
Well-Formed: Build Bot <build@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>
Reviewed-by: Eben Haber <eben@couchbase.com>

show more ...

7ea111e621-Apr-2020 Eben M Haber <eben@couchbase.com>

MB-38333 - Web-based data import, found in the Documents tab.

This is the initial check-in of the code for the web-based data import
feature. While about 10x slower than cbimport, it is

MB-38333 - Web-based data import, found in the Documents tab.

This is the initial check-in of the code for the web-based data import
feature. While about 10x slower than cbimport, it is aimed at new
users who are playing around with Couchbase, and those with small data
sets.

This provides a nice usability advantage over cbimport, since it
automatically detects the file type, allows selection of key fields
from a menu, and allows the user to avoid the complex syntax of
cbimport. It does not support keys comprised of multiple fields,
however. In those cases there is always cbimport.

Import works by: 1) loading a data file into memory in the browser, 2)
guessing the data format using a regular expression, 3) parsing the
data, 4) uploading the data by creating a series of N1QL batch INSERT
commands (keeping them less than 5MB to avoid any issues with proxying
on ns_server).

Import is limited to files of 100MB or smaller, because the browser
gets really slow with files that size. A future improvement could be
to read the data file in chunks, but that significantly increases the
complexity of parsing the data, and at that point why not use
cbimport.

Change-Id: I665c4816d174fa4469883fc0e4b9cb50351bb930
Reviewed-on: http://review.couchbase.org/c/query-ui/+/126356
Well-Formed: Build Bot <build@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>
Reviewed-by: Eben Haber <eben@couchbase.com>

show more ...

e57e3cb612-May-2020 Eben M Haber <eben@couchbase.com>

MB-38596 - For the CE version, add link to online advisor service

Couchbase's website offers an online query advisor service. Since the
query advisor is not supported in CE, add a link f

MB-38596 - For the CE version, add link to online advisor service

Couchbase's website offers an online query advisor service. Since the
query advisor is not supported in CE, add a link from the CE query
workbench to open a tab showing the online query advisor. Ideally the
online advisor would support parameters, so the workbench could pass
the query as a parameter, but that is not yet supported.

Change-Id: I1de6e3afbc43b223182886db8a0827c3a1e65d84
Reviewed-on: http://review.couchbase.org/c/query-ui/+/127896
Well-Formed: Build Bot <build@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>
Reviewed-by: Eben Haber <eben@couchbase.com>

show more ...

55dc449611-May-2020 Eben M Haber <eben@couchbase.com>

MB-37554 - Handle change in advice format from query engine

Query-engine changed the JSON format of advice, what was once an array
is now a single JSON object. This change allows us to h

MB-37554 - Handle change in advice format from query engine

Query-engine changed the JSON format of advice, what was once an array
is now a single JSON object. This change allows us to handle that new
format.

Change-Id: If317c5a6b7e642d0f5aee72f1a529ace7b8de8b5
Reviewed-on: http://review.couchbase.org/c/query-ui/+/127810
Well-Formed: Build Bot <build@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>
Reviewed-by: Eben Haber <eben@couchbase.com>

show more ...

c527ff2a19-Feb-2020 Eben M Haber <eben@couchbase.com>

MB-37942 - Query Workbench slow with very large bucket schemas.

The bug reported a performance regression with Query Workbench going
from 6.0 to 6.5. The problem arose from very large sc

MB-37942 - Query Workbench slow with very large bucket schemas.

The bug reported a performance regression with Query Workbench going
from 6.0 to 6.5. The problem arose from very large schemas on the
supportal cluster (> 1MB). The schema display directive was creating
the HTML for the entire schema display even if the flavor is not shown
on the screen. The fix uses 'ng-if' to prevent creation of the schema
HTML for flavors that are not expanded.

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

show more ...

ae39d6c031-Jan-2020 Eben M Haber <eben@couchbase.com>

MB-37723 - DocEditor shows document containing "0" as empty

Javascript treats zero and null similarly, so the doc editor code was
treating a document containing the number zero as empty.

MB-37723 - DocEditor shows document containing "0" as empty

Javascript treats zero and null similarly, so the doc editor code was
treating a document containing the number zero as empty. By using the
=== operator, the code now correctly distinguishes zero from null.

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

show more ...

d50d22b724-Jan-2020 Eben M Haber <eben@couchbase.com>

MB-37535 - multiple advised indexes not created

When the user would click "create all indexes" in the Index Advisor
UI, and there were multiple indexes, the UI would launch all the
"

MB-37535 - multiple advised indexes not created

When the user would click "create all indexes" in the Index Advisor
UI, and there were multiple indexes, the UI would launch all the
"create index" commands at once. The indexer doesn't like this, and
fails. This fix causes each "create index" command to wait until the
previous one returns.

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

show more ...

d736c5b203-Dec-2019 Eben M Haber <eben@couchbase.com>

MB-36208 - Enable ADVISE button without DP Mode.

Due to a product change, ADVISE in MadHatter is available regardless
of whether the cluster is in Developer Preview Mode. As the server h

MB-36208 - Enable ADVISE button without DP Mode.

Due to a product change, ADVISE in MadHatter is available regardless
of whether the cluster is in Developer Preview Mode. As the server has
changed, the UI should also show the ADVISE button when the cluster is
not in DP mode.

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

show more ...

9734e06519-Nov-2019 Eben M Haber <eben@couchbase.com>

MB-36921 - Update of d3 broke query workbench visual plan

The recent upgrade from d3 v3 to v5 caused the query workbench visual
plan to stop working. The problems included:

1) d

MB-36921 - Update of d3 broke query workbench visual plan

The recent upgrade from d3 v3 to v5 caused the query workbench visual
plan to stop working. The problems included:

1) deprecation and removal of d3.svg.diagonal. This problem was solved
by copying the relevant code from version 3 to the query plan
directive.

2) change in the behavior of d3's selection. To have the nodes and
edges appear in the correct location, it is now necessary to make the
.attr("transform",...) as part of selection.enter() instead of just
selection.

Change-Id: I7b1cc3b5ed56b34fd4aaccc07526cafca598c3de
Reviewed-on: http://review.couchbase.org/118103
Reviewed-by: Pavel Blagodov <stochmail@gmail.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

84fc194b29-Oct-2019 Eben M Haber <eben@couchbase.com>

MB-35878: Update query monitoring charts to use new charting widget

Pavel's charting library has changed considerably. The Query Monitor
page used the charting library for three charts,

MB-35878: Update query monitoring charts to use new charting widget

Pavel's charting library has changed considerably. The Query Monitor
page used the charting library for three charts, so it needed to be
updated. Query Monitor also needed to be updated to use
MnStatisticsNewService's subscription service to get the non-charted
stats more efficiently. Finally, use MnPoll instead of a timer to
invoke regular monitoring queries.

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

show more ...

e5c81f4422-Oct-2019 Eben M Haber <eben@couchbase.com>

MB-36537 - no way to cancel running query

Whenever a query is run, the query workbench might in background also
run "EXPLAIN" and "ADVISE" on the query to provide the user with more

MB-36537 - no way to cancel running query

Whenever a query is run, the query workbench might in background also
run "EXPLAIN" and "ADVISE" on the query to provide the user with more
information. These usually take only a fraction of a second, much less
than most queries. In javascript, the query, EXPLAIN, and ADVISE are
all run as separate $http requests, and $q.all is used to wait for the
requests to finish. $q.all will finish immediately if any of the
promises is rejected (returning with an error of any kind). EXPLAIN
and ADVISE very seldom fail, usually the problem is with the regular
query, so this hasn't been a problem up to now.

In the case of this bug, a large query result from a remote cluster
with slow network bandwidth was taking several minutes to return, and
ADVISE was returning an error state because DP mode was turned
off. This led the $q.all to finish, yet the query was still running
and hadn't returned its result. The solution is to make sure each
$http.then error function returns Promise.resolve() to allow $q.all to
continue until everything is done.

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

show more ...

82f55ee317-Oct-2019 Eben M Haber <eben@couchbase.com>

MB-36501 - allow autocomplete, graphical query plan in CE version

Change-Id: I3a6c3f7bd58b53f8baa1a5f203bfb7ea49823558
Reviewed-on: http://review.couchbase.org/116600
Reviewed-by: Eb

MB-36501 - allow autocomplete, graphical query plan in CE version

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

show more ...

e69b443a15-Oct-2019 Rob Ashcom <rob.ashcom@gmail.com>

MB-36432 revise doc editor editor

- removed inline style & created a new CSS class
- removed extraneous classes
- made spacing in refresh button consistent with Analytics

Ch

MB-36432 revise doc editor editor

- removed inline style & created a new CSS class
- removed extraneous classes
- made spacing in refresh button consistent with Analytics

Change-Id: If096bbcd07d93fbf29e2fc987e9f03d1bc804cc8
Reviewed-on: http://review.couchbase.org/116465
Reviewed-by: Rob Ashcom <rob.ashcom@gmail.com>
Tested-by: Rob Ashcom <rob.ashcom@gmail.com>

show more ...

cf789e2914-Oct-2019 Eben M Haber <eben@couchbase.com>

MB-34548 - not getting recommendations for primary index

When there is no recommendation except a string, display
that string.

Change-Id: I861294d846ecd8814c9107294f795587bdc70e

MB-34548 - not getting recommendations for primary index

When there is no recommendation except a string, display
that string.

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

show more ...

12345678910>>...26