Skip to content
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

Logs: Display log row menu cell on displayed fields #71300

Merged
merged 10 commits into from Jul 11, 2023

Conversation

matyax
Copy link
Contributor

@matyax matyax commented Jul 10, 2023

This PR moves the log row menu code to a new component, and uses it in LogRowMessage and LogRowMessageDisplayedFields so we can show the menu in both log row render modes.

Additional changes:

Which issue(s) does this PR fix?:

Fixes #70217

Special notes for your reviewer:

Nothing should really change, with the exception of having the log row menu when we select fields to display.

Before:

Log line
Log details

After:

Log line updated
Log details updated

@matyax matyax requested a review from a team as a code owner July 10, 2023 16:23
@matyax matyax added no-backport Skip backport of PR add to changelog labels Jul 10, 2023
@matyax matyax added this to the 10.1.x milestone Jul 10, 2023
@matyax matyax requested a review from svennergr July 10, 2023 16:24
@matyax matyax force-pushed the matyax/log-actions-displayed-fields branch from 05e48f6 to 4956d7a Compare July 11, 2023 11:10
Copy link
Contributor

@svennergr svennergr left a comment

Choose a reason for hiding this comment

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

Awesome changes!

@matyax matyax merged commit b8fbeb0 into main Jul 11, 2023
13 checks passed
@matyax matyax deleted the matyax/log-actions-displayed-fields branch July 11, 2023 12:50
polibb pushed a commit that referenced this pull request Jul 14, 2023
* LogRowMenuCell: create component

* LogRowMessage: use new LogRowMenuCell component

* LogRowMessage: turn into functional component

* LogRowMenuCell: memoize component

* LogRowMessage: remove cx

* LogMessage: create component from function

* LogRowMessageDisplayedFields: turn into component

* LogRowMessageDisplayedFields: add LogRowMenuCell

* LogRowMessageDisplayedFields: rename prop and pass missing context prop

* LogRowMessageDisplayedFields: add unit test
@ricky-undeadcoders ricky-undeadcoders modified the milestones: 10.1.x, 10.1.0 Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Logs: Show log row actions also after eye-button click
4 participants