-
-
Display columns
-
-
-
-
-
-
- {columns.map(col => (
-
-
+
+
+
Display columns
+
+
- ))}
+ {showSearch && (
+
}
+ value={searchColumn}
+ onChange={setSearchColumn}
+ onBlur={handleBlurSearch}
+ onKeyDown={handleKeyDown}
+ type="search"
+ />
+ )}
+ {!filteredColumns.length && (
+ No columns found
+ )}
+
+ {!!filteredColumns.length && (
+
+
+
+ )}
+
+
+ {filteredColumns.map((col, i) => (
+
+
+
+ ))}
+
+
diff --git a/app/vmui/packages/vmui/src/components/Table/TableSettings/style.scss b/app/vmui/packages/vmui/src/components/Table/TableSettings/style.scss
index 9c77a56cad..2c0049cdac 100644
--- a/app/vmui/packages/vmui/src/components/Table/TableSettings/style.scss
+++ b/app/vmui/packages/vmui/src/components/Table/TableSettings/style.scss
@@ -16,9 +16,8 @@
display: grid;
gap: 12px;
padding: $padding-global;
- max-height: 350px;
- overflow: auto;
border-bottom: $border-divider;
+ max-width: 250px;
&_first {
padding-top: 0;
@@ -29,6 +28,7 @@
align-items: center;
justify-content: space-between;
grid-template-columns: 1fr auto;
+ gap: $padding-small;
min-height: 25px;
&__title {
@@ -36,12 +36,31 @@
}
}
- &__item {
- font-size: $font-size;
+ &-columns {
+ max-height: 350px;
+ overflow: auto;
}
- &__check_all {
- padding: 0 0 $padding-global;
- border-bottom: $border-divider;
+
+ &__item {
+ padding: calc($padding-global/2) $padding-global;
+ font-size: $font-size;
+
+ &:hover,
+ &_focus {
+ background-color: $color-hover-black;
+ }
+
+ &_check_all {
+ padding: calc($padding-global/2) $padding-global;
+ margin: 0 (-$padding-global);
+ }
+ }
+
+ &__no-found {
+ text-align: center;
+ font-style: italic;
+ color: $color-text-secondary;
+ margin-bottom: $padding-small;
}
}
}
diff --git a/docs/VictoriaLogs/CHANGELOG.md b/docs/VictoriaLogs/CHANGELOG.md
index c3d97cb79e..cd0a422bc6 100644
--- a/docs/VictoriaLogs/CHANGELOG.md
+++ b/docs/VictoriaLogs/CHANGELOG.md
@@ -22,7 +22,8 @@ according to [these docs](https://docs.victoriametrics.com/victorialogs/quicksta
* FEATURE: [web UI](https://docs.victoriametrics.com/victorialogs/querying/#web-ui): introduce the ability to select a key for grouping logs within the "Group" tab.
* FEATURE: [web UI](https://docs.victoriametrics.com/victorialogs/querying/#web-ui): display the number of entries within each log group.
* FEATURE: [web UI](https://docs.victoriametrics.com/victorialogs/querying/#web-ui): move the Markdown toggle to the general settings panel in the upper left corner.
-* FEATURE: [web UI](https://docs.victoriametrics.com/victorialogs/querying/#web-ui): add "select/deselect all" button to table settings for managing displayed columns. Thanks to @yincongcyincong for the [pull request](https://github.com/VictoriaMetrics/VictoriaMetrics/pull/6680).
+* FEATURE: [web UI](https://docs.victoriametrics.com/victorialogs/querying/#web-ui): add search functionality to the column display settings in the table. See [this issue](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6668).
+* FEATURE: [web UI](https://docs.victoriametrics.com/victorialogs/querying/#web-ui): add the ability to select all columns in the column display settings of the table. See [this issue](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6668). Thanks to @yincongcyincong for the [pull request](https://github.com/VictoriaMetrics/VictoriaMetrics/pull/6680).
* BUGFIX: properly handle Logstash requests for Elasticsearch configuration when using `outputs.elasticsearch` in Logstash pipelines. Previously, the requests could be rejected with `400 Bad Request` response.
* BUGFIX: [vmui](https://docs.victoriametrics.com/#vmui): fix `not found index.js` error when loading vmui in VictoriaLogs. See [this issue](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6764). Thanks to @yincongcyincong for the [pull request](https://github.com/VictoriaMetrics/VictoriaMetrics/pull/6770).
diff --git a/docs/changelog/CHANGELOG.md b/docs/changelog/CHANGELOG.md
index f55c905dc5..0757a7f796 100644
--- a/docs/changelog/CHANGELOG.md
+++ b/docs/changelog/CHANGELOG.md
@@ -32,6 +32,8 @@ The value of `instance` label for those scrape targets will be changed from `