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

fix: inspector search position #28176

Merged
merged 3 commits into from
Feb 3, 2025
Merged

fix: inspector search position #28176

merged 3 commits into from
Feb 3, 2025

Conversation

pauldambra
Copy link
Member

@pauldambra pauldambra commented Feb 1, 2025

inspector is opening search in the wrong position
let's fix that

while we're here, add data attrs to the buttons and toggles

2025-02-01 13 19 12

@pauldambra pauldambra requested a review from veryayskiy February 1, 2025 13:19
@@ -262,14 +268,15 @@ export function PlayerInspectorControls(): JSX.Element {
}, [featureFlags, setMiniFilter])

return (
<div className="flex">
<div className="flex flex-col">
Copy link
Member Author

Choose a reason for hiding this comment

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

here's the fix

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

Fixed search positioning and enhanced testing capabilities in the session recordings player inspector component.

  • Changed root div layout from flex to flex flex-col in /frontend/src/scenes/session-recordings/player/inspector/PlayerInspectorControls.tsx to correctly position search bar below settings
  • Added systematic data-attr attributes (e.g. 'player-inspector-*') to interactive elements for improved testing coverage

1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile

Copy link
Contributor

github-actions bot commented Feb 1, 2025

Size Change: 0 B

Total Size: 1.16 MB

ℹ️ View Unchanged
Filename Size
frontend/dist/toolbar.js 1.16 MB

compressed-size-action

Copy link
Contributor

@veryayskiy veryayskiy left a comment

Choose a reason for hiding this comment

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

Search it be

@pauldambra pauldambra merged commit 44e1057 into master Feb 3, 2025
99 checks passed
@pauldambra pauldambra deleted the fix/inpector-search branch February 3, 2025 11:58
thmsobrmlr pushed a commit that referenced this pull request Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants