### **User description** issue id: ent-1212 ___ ### **PR Type** Enhancement ___ ### **Description** - Add select/deselect-all and drag-and-drop column reorder - Persist visible columns and order to localStorage - Preserve original/current filter values in dropdowns - Remove legacy correlated-logs-v2 tab and console toggles - Add `selectAll`/`deselectAll` locale keys, remove V2 keys ___ ### Diagram Walkthrough ```mermaid flowchart LR CT["CorrelatedLogsTable.vue"] CVD["Column Visibility Dropdown"] SA["Select/Deselect All Checkbox"] DD["Draggable Column Items"] LS["Persist to localStorage"] CT -- "renders" --> CVD CVD -- "adds" --> SA CVD -- "adds" --> DD SA -- "update state" --> LS DD -- "update order" --> LS CT -- "improve filters" --> FOP["Filter Options Enhancement"] DT["DetailTable.vue"] -- "remove old tab logic" --> CT ``` <details> <summary><h3> File Walkthrough</h3></summary> <table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><details><summary>3 files</summary><table> <tr> <td><strong>CorrelatedLogsTable.vue</strong><dd><code>Enhance column visibility: select all & drag reorder</code> </dd></td> <td><a href="https://github.com/openobserve/openobserve/pull/10279/files#diff-57e0ec3ac2762de21e67254edf83a4559490f717a8826762c0566fa3b70b6fb8">+244/-12</a></td> </tr> <tr> <td><strong>TelemetryCorrelationDashboard.vue</strong><dd><code>Preserve original and current filter values</code> </dd></td> <td><a href="https://github.com/openobserve/openobserve/pull/10279/files#diff-b77a766fa0094f641873071a8f13c73704933b941f387ed105e85a4e59efdb38">+13/-0</a> </td> </tr> <tr> <td><strong>DetailTable.vue</strong><dd><code>Remove legacy correlated logs tab and toggles</code> </dd></td> <td><a href="https://github.com/openobserve/openobserve/pull/10279/files#diff-80552b5d25fa6cef9fbbe430b1865d761c4b132284c2d2175afceea8cbabc8c7">+22/-65</a> </td> </tr> </table></details></td></tr><tr><td><strong>Configuration changes</strong></td><td><details><summary>11 files</summary><table> <tr> <td><strong>de.json</strong><dd><code>Add selectAll/deselectAll translations</code> </dd></td> <td><a href="https://github.com/openobserve/openobserve/pull/10279/files#diff-78f24ecb2dbcfc38fdf3ec22b2559a5b40d236ea689d1c55f5d3e87168310264">+4/-2</a> </td> </tr> <tr> <td><strong>en.json</strong><dd><code>Add selectAll/deselectAll translations</code> </dd></td> <td><a href="https://github.com/openobserve/openobserve/pull/10279/files#diff-892aa3d75ab6e129ef9116aa21bec1b9a15ba69ce5366d2a19128078c690d824">+2/-2</a> </td> </tr> <tr> <td><strong>es.json</strong><dd><code>Add selectAll/deselectAll translations</code> </dd></td> <td><a href="https://github.com/openobserve/openobserve/pull/10279/files#diff-ac2a2167b8b973e3f776f9fe3b43bef4576470d8ad33f3d7cfaff6edff0e5778">+2/-2</a> </td> </tr> <tr> <td><strong>fr.json</strong><dd><code>Add selectAll/deselectAll translations</code> </dd></td> <td><a href="https://github.com/openobserve/openobserve/pull/10279/files#diff-db80e762b88ddf183820c050cdc6b215e6b02b365b5e73f5152af46b0d26f1a2">+4/-2</a> </td> </tr> <tr> <td><strong>it.json</strong><dd><code>Add selectAll/deselectAll translations</code> </dd></td> <td><a href="https://github.com/openobserve/openobserve/pull/10279/files#diff-2de78074a5f887afddce60d694ead9322e6ab223eb70251c13819f3028bdc70d">+2/-2</a> </td> </tr> <tr> <td><strong>ja.json</strong><dd><code>Add selectAll/deselectAll translations</code> </dd></td> <td><a href="https://github.com/openobserve/openobserve/pull/10279/files#diff-092e49c5f9fbc1b539ab9c2866d108d0ce1d314022b4c294eb4611b285e7bbd3">+4/-2</a> </td> </tr> <tr> <td><strong>ko.json</strong><dd><code>Add selectAll/deselectAll translations</code> </dd></td> <td><a href="https://github.com/openobserve/openobserve/pull/10279/files#diff-50e27ca1b4825a5026f3a251bfcf79c97cab07cfade2ebd512d332453d707c48">+4/-2</a> </td> </tr> <tr> <td><strong>nl.json</strong><dd><code>Add selectAll/deselectAll translations</code> </dd></td> <td><a href="https://github.com/openobserve/openobserve/pull/10279/files#diff-a1706021687ae5d8a1c006c49eab3946174fecd895f9b70a89c2e76d97250906">+4/-2</a> </td> </tr> <tr> <td><strong>pt.json</strong><dd><code>Add selectAll/deselectAll translations</code> </dd></td> <td><a href="https://github.com/openobserve/openobserve/pull/10279/files#diff-38e804f64cb5e0e451849fc84e9b46e53c954a4a4263d51c18665ad45f4b4815">+4/-2</a> </td> </tr> <tr> <td><strong>tr.json</strong><dd><code>Add selectAll/deselectAll translations</code> </dd></td> <td><a href="https://github.com/openobserve/openobserve/pull/10279/files#diff-6f0f131e9e2591480c4c5d1eaffc72d02dc31cbd8d3f90d8f012f08cabac8818">+4/-2</a> </td> </tr> <tr> <td><strong>zh.json</strong><dd><code>Add selectAll/deselectAll translations</code> </dd></td> <td><a href="https://github.com/openobserve/openobserve/pull/10279/files#diff-8818055db58f83230aeea4ebfd4cec31d924e8c47b6f91298e356959ab25339e">+4/-2</a> </td> </tr> </table></details></td></tr></tr></tbody></table> </details> ___
web
This template should help get you started developing with Vue 3 in Vite.
Recommended IDE Setup
VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
Type Support for .vue Imports in TS
TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need TypeScript Vue Plugin (Volar) to make the TypeScript language service aware of .vue types.
If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a Take Over Mode that is more performant. You can enable it by the following steps:
- Disable the built-in TypeScript Extension
- Run
Extensions: Show Built-in Extensionsfrom VSCode's command palette - Find
TypeScript and JavaScript Language Features, right click and selectDisable (Workspace)
- Run
- Reload the VSCode window by running
Developer: Reload Windowfrom the command palette.
Customize configuration
See Vite Configuration Reference.
Project Setup
npm install
Compile and Hot-Reload for Development
For stand-alone UI development environment, create .env file and which contains below environment variable
VITE_OPENOBSERVE_ENDPOINT=http://localhost:5080/
npm run dev
Type-Check, Compile and Minify for Production
npm run build
Run Unit Tests with Vitest
npm run test:unit
Run End-to-End Tests with Cypress
npm run test:e2e:dev
This runs the end-to-end tests against the Vite development server. It is much faster than the production build.
But it's still recommended to test the production build with test:e2e before deploying (e.g. in CI environments):
npm run build
npm run test:e2e
Lint with ESLint
npm run lint