-
Notifications
You must be signed in to change notification settings - Fork 12
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
feat: add close button to adjudicate notification #564
base: main
Are you sure you want to change the base?
Conversation
...frontend/src/features/reporting/components/AdjudicateNotification/AdjudicateNotification.tsx
Outdated
Show resolved
Hide resolved
...frontend/src/features/reporting/components/AdjudicateNotification/AdjudicateNotification.tsx
Outdated
Show resolved
Hide resolved
...frontend/src/features/reporting/components/AdjudicateNotification/AdjudicateNotification.tsx
Outdated
Show resolved
Hide resolved
...frontend/src/features/reporting/components/AdjudicateNotification/AdjudicateNotification.tsx
Outdated
Show resolved
Hide resolved
...frontend/src/features/reporting/components/AdjudicateNotification/AdjudicateNotification.tsx
Outdated
Show resolved
Hide resolved
} | ||
}, [activeAdjudication]) | ||
|
||
const closeAdjudicate = () => { | ||
toggle(false) | ||
} |
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.
The button should be visible again when closing adjudication dialog.
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.
The button's visibility depends on buttonVisible
, so it should be visible again when closing adjudication dialog now. Please let me know if i misunderstood.
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.
The floating button becomes invisible if I close adjudication dialog. You should make it visible again.
Screen.Recording.2024-11-05.at.12.51.20.PM.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.
Got it ! Solved.
Summary
add close button to adjudicate notification
Linked Issue
close #559
Details
Impacted Areas
packages/frontend/src/features/reporting/components/AdjudicateNotification
Verification Steps
close button of notification
confirmation
4. close if pressed confirmed(also closes the notification)
5. jump to adjudication if pressed cancel(also closes the notification)
6. close if pressed close button(does not closes the notification)