1
0
Fork 0

Bug fix/improve shards ui (#8583)

* optimized the shards view

* changelog
This commit is contained in:
Heiko 2019-03-26 16:36:25 +01:00 committed by Frank Celler
parent c8ec3f0de5
commit 105a23c5b1
2 changed files with 12 additions and 0 deletions

View File

@ -1,11 +1,15 @@
devel devel
----- -----
* fixed internal issuel #3546: improved the shards view in the web ui if there
is only one shard to display.
* fixed internal issue #3789: restricted the allowed query names for user * fixed internal issue #3789: restricted the allowed query names for user
defined custom queries within the web ui. defined custom queries within the web ui.
* upgraded bundled RocksDB version to 6.0 * upgraded bundled RocksDB version to 6.0
* added "--log.ids" option to arangod * added "--log.ids" option to arangod
The default value for this option is `true`. Setting the option to `false` The default value for this option is `true`. Setting the option to `false`

View File

@ -374,6 +374,14 @@
collections: ordered, collections: ordered,
visible: this.visibleCollection visible: this.visibleCollection
})); }));
// if we have only one collection to show, automatically open the entry
if ($('.sectionShard').length === 1) {
$('.sectionHeader').first().click();
}
// change the min height of innerContent - only for this view (temporary)
$('.innerContent').css('min-height', '0px');
}, },
updateServerTime: function () { updateServerTime: function () {