diff --git a/CHANGELOG b/CHANGELOG index 8e134cea41..535bf45485 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,11 +1,15 @@ 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 defined custom queries within the web ui. * upgraded bundled RocksDB version to 6.0 + * added "--log.ids" option to arangod The default value for this option is `true`. Setting the option to `false` diff --git a/js/apps/system/_admin/aardvark/APP/frontend/js/views/shardsView.js b/js/apps/system/_admin/aardvark/APP/frontend/js/views/shardsView.js index fdea14eeeb..f764db1494 100644 --- a/js/apps/system/_admin/aardvark/APP/frontend/js/views/shardsView.js +++ b/js/apps/system/_admin/aardvark/APP/frontend/js/views/shardsView.js @@ -374,6 +374,14 @@ collections: ordered, 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 () {