mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-06 08:09:24 +00:00
### **PR Type**
Enhancement
___
### **Description**
- Detect environment-specific index fields
- Disable selection and show tooltip for env settings
- Add environment options to index type dropdown
- Extend getFieldIndices to include env defaults
___
<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><table>
<tr>
<td>
<details>
<summary><strong>schema.vue</strong><dd><code>Support environment
settings for index fields</code>
</dd></summary>
<hr>
web/src/components/logstream/schema.vue
<ul><li>Bound <code>disable</code> on q-select to
<code>isEnvironmentSettings</code><br> <li> Conditional
<code>markFormDirty</code> call only when not env<br> <li> Added
<code><q-tooltip></code> for environment-only rows<br> <li> Introduced
<code>isEnvironmentSettings</code> computed function<br> <li> Added env
options to <code>streamIndexType</code><br> <li> Updated
<code>getFieldIndices</code> to include env keys</ul>
</details>
</td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7716/files#diff-9196be2ccae4054a00b0b1aa9d1e87b366c10920d6eaf9ef8c6e6293d50bcf46">+32/-7</a>
</td>
</tr>
</table></td></tr></tr></tbody></table>
</details>
___