Skip to content

Conversation

@iblancof
Copy link
Contributor

@iblancof iblancof commented Sep 10, 2025

Summary

Closes #233743

This PR is a continuation of another one, where the UI for the trace docs overview is updated, aiming to achieve visual consistency across Discover flyouts.

In the logs case, the basic information sections have been grouped at the top, and the other sections have been adapted to align with the Content Framework as much as possible, without making major changes.

Flyout

Before After
Screenshot 2025-09-10 at 16 58 17 Screenshot 2025-09-10 at 17 08 22

Interactions

Before After
Screen Recording 2025-09-10 at 14 41 10 Screen Recording 2025-09-10 at 17 09 23

How to test

  • Make sure you're in an Observability space
  • Go to discover and check for logs
  • Open doc flyout

To get logs with degraded fields filter by _ignored:*.

@iblancof iblancof self-assigned this Sep 10, 2025
@iblancof iblancof added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team Project:OneDiscover Enrich Discover with contextual awareness v9.2.0 labels Sep 10, 2025
@iblancof iblancof changed the title [Draft] [DISCOVER] Adapt logs flyout to use the new content framework UI [Draft] [Discover] Adapt logs flyout to use the new content framework UI Sep 10, 2025
@iblancof
Copy link
Contributor Author

/oblt-deploy

Copy link
Contributor

@akowalska622 akowalska622 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Data Discovery changes LGTM

@kkurstak
Copy link

Adding to the discussion - the separated "Streams" section was now created due to technical limitations - the lack of ability of placing "field = stream" + value in the "About" section. I would definitely recommend against separating it into a new section, but I know the team has investigated our options in the context of the new UI components and it was a challenge. I will work with @iblancof this week to review the designs and we'll get back to you.

We'll move around the sections to reflect the "old" logic.

@kkurstak
Copy link

kkurstak commented Sep 17, 2025

A follow up question we had about the sections in the logs flyout @gbamparop

We have divided the flyout in "Service and Infrastructure" / "Cloud" / "Other".

With the new components, we'd need to add "Streams".

What we proposed in our refreshed designs is to redesign or limit the divisions of content within the flyout. The new designs offer an "About" section that could handle all of them. This would make the information more compact, and in cases where the log document does not render all the fields, it would definitely help with the overall presentation.

Was there any particular reason to divide the metadata into 3 short sections? Are there any reasons we cannot merge the sections? This would be our general recommendation (draft - some content is pending product definition), I've moved the "Content breakdown" up (missing "Streams" for now):

Flyout-17-09

Copy link
Contributor

@cauemarcondes cauemarcondes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gbamparop
Copy link
Contributor

gbamparop commented Sep 18, 2025

I will work with @iblancof this week to review the designs and we'll get back to you.

Thanks!

Was there any particular reason to divide the metadata into 3 short sections? Are there any reasons we cannot merge the sections?

They were added to give a brief overview of the different parts, however, I think it’s important to have the same UX in these tabs and since resource fields are not unique to logs, we could follow the other approach.

There was some discussion in #171923 and a card sorting exercise organised by @isaclfreire #171923 (comment).

@iblancof
Copy link
Contributor Author

iblancof commented Sep 18, 2025

Hey @gbamparop, after your feedback, I aligned with @kkurstak that we’ll place the “Content Breakdown” section first and include the highlights within it, so they’ll also be collapsed. fa45cfd

Screen Recording 2025-09-18 at 14 37 46

Regarding the Streams link we're still waiting for feedback from the Streams folks.

@kkurstak
Copy link

Hey @gbamparop @iblancof - Thank you so much for all info and feedback. Happy to hear the team is open to change the structure and follow our designs! I will review in detail the past issue where the current structure was decided and reach out to the team to share the why of our change - I'd like to share it so we eventually have time to receive feedback.

Once again, thanks @gbamparop!

@iblancof
Copy link
Contributor Author

Just confirmed with @LucaWintergerst that we’re good to go with having the stream link in a separate section, as we may have many more other functions in the future that definitely won’t relate directly to a single field anymore.

cc @kkurstak @patpascal @gbamparop

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
unifiedDocViewer 383 384 +1

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
unifiedDocViewer 16 17 +1

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
streamsApp 765.7KB 765.5KB -214.0B
unifiedDocViewer 269.6KB 268.8KB -866.0B
total -1.1KB

Public APIs missing exports

Total count of every type that is part of your API that should be exported but is not. This will cause broken links in the API documentation system. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats exports for more detailed information.

id before after diff
unifiedDocViewer 3 4 +1

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
unifiedDocViewer 13.0KB 13.3KB +227.0B
Unknown metric groups

API count

id before after diff
unifiedDocViewer 24 26 +2

History

cc @iblancof

@iblancof iblancof merged commit eb5c5cb into elastic:main Sep 23, 2025
13 checks passed
@iblancof iblancof deleted the 233743-discover-adapt-logs-flyout-to-use-the-new-content-framework-ui branch September 23, 2025 12:17
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Sep 24, 2025
…stic#234650)

## Summary

Closes elastic#233743

This PR is a continuation of [another
one](elastic#233661), where the UI for
the trace docs overview is updated, aiming to achieve visual consistency
across Discover flyouts.

In the logs case, the basic information sections have been grouped at
the top, and the other sections have been adapted to align with the
Content Framework as much as possible, without making major changes.

**Flyout**
|Before|After|
|-|-|
|<img width="325" height="716" alt="Screenshot 2025-09-10 at 16 58 17"
src="https://github.com/user-attachments/assets/b9bd6ae0-3164-45b1-bba6-33ebf2ada596"
/>|<img width="482" height="839" alt="Screenshot 2025-09-10 at 17 08 22"
src="https://github.com/user-attachments/assets/2cdb76e8-6c17-498f-845d-e1c3380213a4"
/>|

**Interactions**
|Before|After|
|-|-|
|![Screen Recording 2025-09-10 at 14 41
10](https://github.com/user-attachments/assets/caa2c7ea-52e0-4416-bfb9-41f41ba2f7fe)|![Screen
Recording 2025-09-10 at 17 09
23](https://github.com/user-attachments/assets/638778f4-f418-4d66-97ae-a26fb4d4b5e7)|

### How to test
- Make sure you're in an Observability space
- Go to discover and check for logs
- Open doc flyout

To get logs with degraded fields filter by `_ignored:*`.

---------

Co-authored-by: kibanamachine <[email protected]>
Co-authored-by: Cauê Marcondes <[email protected]>
niros1 pushed a commit that referenced this pull request Sep 30, 2025
…4650)

## Summary

Closes #233743

This PR is a continuation of [another
one](#233661), where the UI for
the trace docs overview is updated, aiming to achieve visual consistency
across Discover flyouts.

In the logs case, the basic information sections have been grouped at
the top, and the other sections have been adapted to align with the
Content Framework as much as possible, without making major changes.

**Flyout**
|Before|After|
|-|-|
|<img width="325" height="716" alt="Screenshot 2025-09-10 at 16 58 17"
src="https://github.com/user-attachments/assets/b9bd6ae0-3164-45b1-bba6-33ebf2ada596"
/>|<img width="482" height="839" alt="Screenshot 2025-09-10 at 17 08 22"
src="https://github.com/user-attachments/assets/2cdb76e8-6c17-498f-845d-e1c3380213a4"
/>|

**Interactions**
|Before|After|
|-|-|
|![Screen Recording 2025-09-10 at 14 41
10](https://github.com/user-attachments/assets/caa2c7ea-52e0-4416-bfb9-41f41ba2f7fe)|![Screen
Recording 2025-09-10 at 17 09
23](https://github.com/user-attachments/assets/638778f4-f418-4d66-97ae-a26fb4d4b5e7)|

### How to test
- Make sure you're in an Observability space
- Go to discover and check for logs
- Open doc flyout

To get logs with degraded fields filter by `_ignored:*`.

---------

Co-authored-by: kibanamachine <[email protected]>
Co-authored-by: Cauê Marcondes <[email protected]>
rylnd pushed a commit to rylnd/kibana that referenced this pull request Oct 17, 2025
…stic#234650)

## Summary

Closes elastic#233743

This PR is a continuation of [another
one](elastic#233661), where the UI for
the trace docs overview is updated, aiming to achieve visual consistency
across Discover flyouts.

In the logs case, the basic information sections have been grouped at
the top, and the other sections have been adapted to align with the
Content Framework as much as possible, without making major changes.

**Flyout**
|Before|After|
|-|-|
|<img width="325" height="716" alt="Screenshot 2025-09-10 at 16 58 17"
src="https://github.com/user-attachments/assets/b9bd6ae0-3164-45b1-bba6-33ebf2ada596"
/>|<img width="482" height="839" alt="Screenshot 2025-09-10 at 17 08 22"
src="https://github.com/user-attachments/assets/2cdb76e8-6c17-498f-845d-e1c3380213a4"
/>|

**Interactions**
|Before|After|
|-|-|
|![Screen Recording 2025-09-10 at 14 41
10](https://github.com/user-attachments/assets/caa2c7ea-52e0-4416-bfb9-41f41ba2f7fe)|![Screen
Recording 2025-09-10 at 17 09
23](https://github.com/user-attachments/assets/638778f4-f418-4d66-97ae-a26fb4d4b5e7)|

### How to test
- Make sure you're in an Observability space
- Go to discover and check for logs
- Open doc flyout

To get logs with degraded fields filter by `_ignored:*`.

---------

Co-authored-by: kibanamachine <[email protected]>
Co-authored-by: Cauê Marcondes <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting Project:OneDiscover Enrich Discover with contextual awareness release_note:skip Skip the PR/issue when compiling release notes Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Discover] Adapt logs flyout to use the new Content Framework UI