-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Dataset quality] Toggle for showing/hidding inactive datasets and full dataset names #176162
Conversation
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
@mdbirnstiehl will the best one to help us with that question 🙏🏼 |
…kibana into 170242-active-inactive-datasets
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Module Count
Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: cc @yngrdyn |
…ll dataset names (elastic#176162) Relates to elastic#170242. ### Changes - Dedicated component for switch with description was created (`DescriptiveSwitch`). - Two new events where added to the machine: - `TOGGLE_INACTIVE_DATASETS`: Used to toggle `Show inactive datasets` switch. - `TOGGLE_FULL_DATASET_NAMES`: Used to toggle `Show full dataset names` switch. - Some minor changes around typings, to reuse the existing ones instead of duplicating states in around controller public state. - DatasetQualityUrlSchema was also updated so the consumer could hold the properties around the switches. - Fixed a small issue when merging degradedDocStats into dataStreamStats, I was using `DataStreamStat.name` where I should be using `DataStreamStat.rawName` from matching datastreams. #### App statechart <img width="1099" alt="image" src="https://github.com/elastic/kibana/assets/1313018/7f0308c6-f8f5-4050-9498-e566370372f2"> #### Demo https://github.com/elastic/kibana/assets/1313018/971efb30-2562-4409-8973-25b4972e6793 #### Note for reviewers - Timefilter selector will be included in a follow up PR. - `timeRange` was added to the state to have the same `from`/`to`, that was used for querying data, when filtering inactive datasets.
…ll dataset names (elastic#176162) Relates to elastic#170242. ### Changes - Dedicated component for switch with description was created (`DescriptiveSwitch`). - Two new events where added to the machine: - `TOGGLE_INACTIVE_DATASETS`: Used to toggle `Show inactive datasets` switch. - `TOGGLE_FULL_DATASET_NAMES`: Used to toggle `Show full dataset names` switch. - Some minor changes around typings, to reuse the existing ones instead of duplicating states in around controller public state. - DatasetQualityUrlSchema was also updated so the consumer could hold the properties around the switches. - Fixed a small issue when merging degradedDocStats into dataStreamStats, I was using `DataStreamStat.name` where I should be using `DataStreamStat.rawName` from matching datastreams. #### App statechart <img width="1099" alt="image" src="https://github.com/elastic/kibana/assets/1313018/7f0308c6-f8f5-4050-9498-e566370372f2"> #### Demo https://github.com/elastic/kibana/assets/1313018/971efb30-2562-4409-8973-25b4972e6793 #### Note for reviewers - Timefilter selector will be included in a follow up PR. - `timeRange` was added to the state to have the same `from`/`to`, that was used for querying data, when filtering inactive datasets.
…ll dataset names (elastic#176162) Relates to elastic#170242. ### Changes - Dedicated component for switch with description was created (`DescriptiveSwitch`). - Two new events where added to the machine: - `TOGGLE_INACTIVE_DATASETS`: Used to toggle `Show inactive datasets` switch. - `TOGGLE_FULL_DATASET_NAMES`: Used to toggle `Show full dataset names` switch. - Some minor changes around typings, to reuse the existing ones instead of duplicating states in around controller public state. - DatasetQualityUrlSchema was also updated so the consumer could hold the properties around the switches. - Fixed a small issue when merging degradedDocStats into dataStreamStats, I was using `DataStreamStat.name` where I should be using `DataStreamStat.rawName` from matching datastreams. #### App statechart <img width="1099" alt="image" src="https://github.com/elastic/kibana/assets/1313018/7f0308c6-f8f5-4050-9498-e566370372f2"> #### Demo https://github.com/elastic/kibana/assets/1313018/971efb30-2562-4409-8973-25b4972e6793 #### Note for reviewers - Timefilter selector will be included in a follow up PR. - `timeRange` was added to the state to have the same `from`/`to`, that was used for querying data, when filtering inactive datasets.
Pinging @elastic/obs-ux-logs-team (Team:obs-ux-logs) |
Relates to #170242.
Changes
DescriptiveSwitch
).TOGGLE_INACTIVE_DATASETS
: Used to toggleShow inactive datasets
switch.TOGGLE_FULL_DATASET_NAMES
: Used to toggleShow full dataset names
switch.DataStreamStat.name
where I should be usingDataStreamStat.rawName
from matching datastreams.App statechart
Demo
Screen.Recording.2024-02-02.at.16.25.57.mov
Note for reviewers
timeRange
was added to the state to have the samefrom
/to
, that was used for querying data, when filtering inactive datasets.