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: Caret icon doesn't change state in Validator dialog #391

Merged
merged 1 commit into from
Dec 30, 2024

Conversation

going-confetti
Copy link
Collaborator

@going-confetti going-confetti commented Dec 24, 2024

Closes #321

How to Test

  • Open the validator dialog
  • Run a script
  • Verify that the group sections have expected caret state

Screenshots (if appropriate):

image

@going-confetti going-confetti requested a review from a team as a code owner December 24, 2024 09:33
@going-confetti going-confetti requested review from cristianoventura and Llandy3d and removed request for a team December 24, 2024 09:33
@@ -37,7 +37,7 @@ const Header = styled.div`
const CaretIcon = styled(CaretRightIcon)`
transform: rotate(0deg);

[data-state='open'] & {
button[data-state='open'] & {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Since there's a dialog with data-state="open", this was always true

@@ -10,7 +10,6 @@ import { useDeepCompareEffect } from 'react-use'
interface WebLogViewProps {
requests: ProxyDataWithMatches[]
groups?: GroupType[]
activeGroup?: string
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Unused prop

Copy link
Collaborator

@cristianoventura cristianoventura left a comment

Choose a reason for hiding this comment

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

👍

@going-confetti going-confetti merged commit 01bff4a into main Dec 30, 2024
2 checks passed
@going-confetti going-confetti deleted the fix/collapsible-in-validator-dialog branch December 30, 2024 08:58
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.

Caret not changing when collapsing groups in the inline validator
2 participants