-
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] Introduce management fly out #173554
[Dataset quality] Introduce management fly out #173554
Conversation
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
1804ea1
to
795bf0a
Compare
/oblt-deploy |
- Change `"Type"` to `"Name"`.
Added data_streams/details route. Added data_streams/details route.
@awahab07 I was checking the custom deployment and I got this behaviour (Opening the fly out clicking on dataset title) is that the latest version? if it's the latest version in the code we might need to update it to the little arrow present in other parts of the products (even logs explorer) |
NOTICE.txt
Outdated
@@ -1,5 +1,5 @@ | |||
Kibana source code with Kibana X-Pack source code | |||
Copyright 2012-2023 Elasticsearch B.V. | |||
Copyright 2012-2024 Elasticsearch B.V. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we are not doing anything custom within this constructor we can omit it and use directly DataStreamDetails
type
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see the constructor expand as we add more information to the model in future.
x-pack/test/dataset_quality_api_integration/tests/data_streams/data_stream_details.spec.ts
Show resolved
Hide resolved
x-pack/test/dataset_quality_api_integration/utils/data_stream.ts
Outdated
Show resolved
Hide resolved
/oblt-deploy |
x-pack/plugins/dataset_quality/common/data_streams_stats/data_stream_details.ts
Outdated
Show resolved
Hide resolved
x-pack/plugins/dataset_quality/common/data_streams_stats/data_stream_stat.ts
Outdated
Show resolved
Hide resolved
const formattedLastActivity = dataFormatter.convert(dataStreamStat.lastActivity); | ||
const formattedCreatedOn = dataStreamDetails.createdOn | ||
? dataFormatter.convert(dataStreamDetails.createdOn) | ||
: ''; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@isaclfreire if we don't have the Created on
info should we just remove the row in the table?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't implement hiding the row yet. Will there be valid cases when Created on
won't be available?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, an index without a backing index will not return a Created on
date. This will most likely be true for data streams without data
x-pack/plugins/dataset_quality/public/hooks/use_dataset_quality_flyout.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/dataset_quality/server/routes/data_streams/get_data_stream_details/index.ts
Outdated
Show resolved
Hide resolved
x-pack/plugins/dataset_quality/server/routes/data_streams/routes.ts
Outdated
Show resolved
Hide resolved
- Adjusted table layout. - Added skeleton loader. - Refactored route, route params and associated types.
Updated table layout Screen.Recording.2024-01-22.at.11.41.25.mov |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Good job mate 🚀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for putting the effort into this!! LGTM
💚 Build Succeeded
Metrics [docs]Module Count
Page load bundle
History
To update your PR or re-run it, just comment with: |
/oblt-deploy |
/oblt-deploy-serverless |
related to elastic#170441 ## 📝 Summary This PR introduces the dataset quality flyout and shows the first 2 sections in the flyout, dataset and integration details. The new Actions column is also added as part of this PR. --------- Co-authored-by: mohamedhamed-ahmed <mohamed.ahmed@elastic.co> Co-authored-by: Abdul Zahid <awahab07@yahoo.com>
Pinging @elastic/obs-ux-logs-team (Team:obs-ux-logs) |
This PR was originally opened by @mohamedhamed-ahmed, in a mistake was closed by me 😅 when trying to bring the most recent changes from main and resolve the conflicts.
related to #170441
📝 Summary
This PR introduces the dataset quality flyout and shows the first 2 sections in the flyout, dataset and integration details. The new Actions column is also added as part of this PR.
✅ Testing
/app/observability-log-explorer/dataset-quality
Open in Logs Explorer
or theOpen
Action column should navigate to the Log Explorer with having the correct dataset and namespace selected