mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
closes #88290 ## 📝 Summary As described in #88290 we need to add `date_nanos` support to the Stream UI page. In this PR the necessary changes have been made all over the Stream UI and the usages of it. ## ✅ Testing ⚠️ Testing the Stream UI with old timestamp indices is important to make sure that the behavior is still as before and not affected at all. This can be done by running local env from the PR and simulating all interactions on edge-lit cluster for example, to make sure that the behavior is not changed. For testing the new changes with support of `date_nano`: 1. You can use [the steps here](https://github.com/elastic/kibana/issues/88290#issuecomment-1713400873) to create and ingest documents with nano precision. 2. Navigate to the stream UI and the documents should be displayed properly. 3. Sync with the URL state should be changed from timestamp to ISO string date. 4. Changing time ranges should behave as before, as well as Text Highlights. 5. Open the logs flyout and you should see the timestamp in nano seconds. 6. Play around with the minimap, it should behave exactly as before. ### Stream UI: <img width="2556" alt="Screenshot 2023-11-02 at 14 15 49" src=" |
||
---|---|---|
.. | ||
index.ts | ||
time_key.ts | ||
time_range.ts | ||
time_scale.ts | ||
time_unit.ts |