kibana/x-pack/plugins
Stratoula Kalafateli 788e9b34dd
[ES|QL] Initialize with time named params for dataviews without @timestamp (#189367)
## Summary

Closes https://github.com/elastic/kibana/issues/189032

For indices with no @timestamp, when the users are transitioning from
the dataview mode to the ES|QL mode then we are defaulting to
```
from dataviewIndex | where dataviewTimefield <= ?end and dataviewTimefield >= ?start
```

![meow](https://github.com/user-attachments/assets/d55e17d1-d867-400a-b6eb-b7cf7047d070)

which will :
1. Train the users for the named params
2. Enable the histogram
3. Enable the datepicker

### Checklist

- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

---------

Co-authored-by: Julia Rechkunova <julia.rechkunova@gmail.com>
2024-08-01 17:39:46 +02:00
..
actions [Security Assistant] Fix langgraph issues (#189287) 2024-07-31 15:32:29 -05:00
aiops [ML] AIOps: Update fields filter popover to be able to filter fields from analysis (not just grouping) (#188913) 2024-07-30 10:12:53 +02:00
alerting [ResponseOps][alerting] remove debug log causing null dereference on alert::getUuid() (#189572) 2024-07-30 20:17:13 -04:00
banners
canvas Minimize shared-common everywhere (#188606) 2024-07-29 12:47:46 -06:00
cases [ResponseOps][Cases] Disable md5 algo in cases files when fips mode enabled (#189074) 2024-07-31 11:29:22 +02:00
cloud [EBT] Use analytics module (#189052) 2024-07-31 08:31:20 -05:00
cloud_defend [Cloud Defend Plugin] Migrate authc.getCurrentUser usage to core.security (#187023) 2024-07-01 19:30:05 -05:00
cloud_integrations [EBT] Use analytics module (#189052) 2024-07-31 08:31:20 -05:00
cloud_security_posture [Cloud Security] Add test subjects for controls used in UI Sanity tests (#189510) 2024-07-31 14:03:52 +03:00
cross_cluster_replication Improve features plugin's contract type names (#187944) 2024-07-17 15:33:32 +01:00
custom_branding
dashboard_enhanced [Dashboard] Add maxWidth 's' to Panel Settings flyouts and 'm' to drilldown widths not already specified in dashboard (#189009) 2024-07-26 19:06:32 -06:00
data_quality [Dataset quality] Adding execution context to data quality page within management app (#189272) 2024-07-26 08:04:32 -05:00
data_visualizer Upgrade prettier dependencies (#188032) 2024-07-24 17:29:05 +01:00
discover_enhanced
drilldowns
ecs_data_quality_dashboard [Security Solution][DQD] Persist new fields in results storage (#185025) 2024-06-13 11:14:48 +02:00
elastic_assistant [Security Assistant] Fix langgraph issues (#189287) 2024-07-31 15:32:29 -05:00
embeddable_enhanced [dashboard] fix Upgraded dashboard with image embeddable shows 'unsaved changes' badge when opening editor (#183539) 2024-05-15 13:22:24 -06:00
encrypted_saved_objects [OAS][DOCS] Deprecate saved object APIs (#189223) 2024-07-30 21:38:04 -05:00
enterprise_search Minimize shared-common everywhere (#188606) 2024-07-29 12:47:46 -06:00
event_log Upgrade prettier dependencies (#188032) 2024-07-24 17:29:05 +01:00
features Improve features plugin's contract type names (#187944) 2024-07-17 15:33:32 +01:00
fields_metadata [Fields Metadata] Add metadata fields static source (#188453) 2024-07-17 11:47:40 +02:00
file_upload Adding ml-ui as file upload code owner (#189603) 2024-07-31 05:59:58 -05:00
fleet [Fleet] Retry transient errors in agent status API (#189563) 2024-07-31 14:13:59 -04:00
global_search Minimize shared-common everywhere (#188606) 2024-07-29 12:47:46 -06:00
global_search_bar [Global Search] Limit characters for global search bar (#186560) 2024-07-11 07:50:20 -07:00
global_search_providers [Lens] [Unified Search] [Dashboards] [Maps] fuzzy search for field pickers and field lists (#186894) 2024-07-10 17:48:25 +02:00
graph [Graph] fix A11y issues (#188624) 2024-07-18 16:04:57 +02:00
grokdebugger [Mgmt] Remove usage of deprecated modules for mounting React, Part II (#182043) 2024-05-07 08:59:44 -07:00
index_lifecycle_management Improve features plugin's contract type names (#187944) 2024-07-17 15:33:32 +01:00
index_management Replace 'model_id' with 'inference_id' for inference endpoints (#189545) 2024-07-31 08:26:16 -06:00
ingest_pipelines Upgrade prettier dependencies (#188032) 2024-07-24 17:29:05 +01:00
integration_assistant [integration automatic-import] enabled by default (#189413) 2024-07-29 14:44:08 -04:00
kubernetes_security [i18n][system upgrade] Upgrade Intl Packages from v2 to v6 (#179506) 2024-06-02 16:50:33 +03:00
lens [ES|QL] Initialize with time named params for dataviews without @timestamp (#189367) 2024-08-01 17:39:46 +02:00
license_api_guard
license_management Improve features plugin's contract type names (#187944) 2024-07-17 15:33:32 +01:00
licensing [EBT] Use analytics module (#189052) 2024-07-31 08:31:20 -05:00
lists chore(NA): upgrade typescript into v5.1.6 (#186437) 2024-07-29 16:31:04 +01:00
logstash [Serverless/Logstash] Hide suggestion to revisit roles or enable Stack Monitoring (#189480) 2024-07-31 11:46:01 +01:00
maps chore(NA): upgrade typescript into v5.1.6 (#186437) 2024-07-29 16:31:04 +01:00
ml [ML] Job selection flyout: UX improvements (#189239) 2024-08-01 08:53:05 -06:00
monitoring chore(NA): upgrade typescript into v5.1.6 (#186437) 2024-07-29 16:31:04 +01:00
monitoring_collection Upgrade prettier dependencies (#188032) 2024-07-24 17:29:05 +01:00
notifications
observability_solution [Infra] Move apm common types to a package (#189649) 2024-08-01 17:14:42 +02:00
osquery [Security Solution] Allow to specify custom servers and security for the result OpenAPI bundle (#189348) 2024-07-31 10:29:11 +02:00
painless_lab [Mgmt] Remove usage of deprecated modules for mounting React, Part II (#182043) 2024-05-07 08:59:44 -07:00
remote_clusters Improve features plugin's contract type names (#187944) 2024-07-17 15:33:32 +01:00
reporting Upgrade prettier dependencies (#188032) 2024-07-24 17:29:05 +01:00
rollup Improve features plugin's contract type names (#187944) 2024-07-17 15:33:32 +01:00
rule_registry [ResponseOps][Alerts] Migrate alerts fields fetching to TanStack Query (#188320) 2024-07-29 11:57:59 -05:00
runtime_fields Upgrade prettier dependencies (#188032) 2024-07-24 17:29:05 +01:00
saved_objects_tagging Improve features plugin's contract type names (#187944) 2024-07-17 15:33:32 +01:00
screenshotting [Reporting] upgrade puppeteer to v22.13.1 (#189485) 2024-08-01 15:32:19 +02:00
search_connectors Minimize shared-common everywhere (#188606) 2024-07-29 12:47:46 -06:00
search_homepage [Search][Homepage] Add Telemetry support (#188364) 2024-07-16 08:14:28 -05:00
search_inference_endpoints Replace 'model_id' with 'inference_id' for inference endpoints (#189545) 2024-07-31 08:26:16 -06:00
search_notebooks [Search] Notebooks Telemetry (#188007) 2024-07-11 09:40:41 +02:00
search_playground [Search] [Playground] Fix cloud streaming (#189677) 2024-08-01 05:12:48 -05:00
searchprofiler [EuiProvider] Use KibanaRenderContextProvider in Console A11y Overlay (#184488) 2024-05-31 10:43:16 -07:00
security [Role Mappings] Warn when empty any or all rule role mappings are added (#189340) 2024-08-01 05:33:36 -05:00
security_solution [Security Solution] Adds diff algorithm and unit tests for data_source field (#188874) 2024-08-01 10:15:06 -04:00
security_solution_ess [security_solution_ess] Remove dead code: useVariation (#188607) 2024-07-18 12:37:58 +02:00
security_solution_serverless Improve features plugin's contract type names (#187944) 2024-07-17 15:33:32 +01:00
serverless
serverless_observability [Obs AI Assistant] hide ai assistant settings card when assistant disabled (#188345) 2024-07-15 19:49:08 -04:00
serverless_search [A11y] improve aria labels (#188363) 2024-07-25 15:22:28 -05:00
session_view
snapshot_restore Improve features plugin's contract type names (#187944) 2024-07-17 15:33:32 +01:00
spaces [Stateful sidenav] Add telemetry (#189275) 2024-08-01 09:10:00 -05:00
stack_alerts [ResponseOps] Remove tech preview from ES query ES|QL rule type (#189568) 2024-07-31 07:00:01 -07:00
stack_connectors [Security Assistant] Fix langgraph issues (#189287) 2024-07-31 15:32:29 -05:00
task_manager [main] Revert TM resource based task scheduling issues (#189529) (#189554) 2024-07-30 20:11:01 -04:00
telemetry_collection_xpack [Cloud] Extend metadata (#189001) 2024-07-24 14:10:28 +02:00
threat_intelligence Minimize shared-common everywhere (#188606) 2024-07-29 12:47:46 -06:00
timelines chore(NA): upgrade typescript into v5.1.6 (#186437) 2024-07-29 16:31:04 +01:00
transform chore(NA): upgrade typescript into v5.1.6 (#186437) 2024-07-29 16:31:04 +01:00
translations [Security Solution][Alert Details] Remove alert type charts feature flag (#189437) 2024-07-31 17:18:15 -05:00
triggers_actions_ui [Response Ops] Remove "Rule" icontypes (#189342) 2024-07-31 08:06:24 -07:00
upgrade_assistant chore(NA): upgrade typescript into v5.1.6 (#186437) 2024-07-29 16:31:04 +01:00
watcher Upgrade prettier dependencies (#188032) 2024-07-24 17:29:05 +01:00