-
Notifications
You must be signed in to change notification settings - Fork 10
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
CHI-1994: Search in a modal modal #1745
Conversation
# Conflicts: # plugin-hrm-form/src/components/search/index.tsx # plugin-hrm-form/src/components/tabbedForms/TabbedForms.tsx
# Conflicts: # plugin-hrm-form/src/components/caseList/CaseListTable.tsx # plugin-hrm-form/src/components/search/SearchResults/index.tsx
I think the E2E test failure might be due to the E2E chatbot change @acedeywin? Looks like the chatbot never starts and the chat goes straight into the queue, which breaks the test |
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.
LGTM
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.
Looks good to me, also tried it locally and it works fine!
Couldn't do an in-depth review, but the code changes are aligned with what I expected. great work.
const checkForEdits = (closeModal: boolean) => { | ||
if (isEqual(workingCopy, savedForm)) { | ||
closeActions(); | ||
} else setOpenDialog(true); | ||
closeActions(closeModal); | ||
} else setDialogState(closeModal ? DialogState.OpenForClose : DialogState.OpenForBack); | ||
}; |
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.
My brain goes crazy when I see if
clause using brackets and the else
doesn't. I know this bracket choice was already in the code, so feel free to ignore this comment.
Description
TODO: styling is only partially complete
Checklist
Related Issues
CHI-1994
Verification steps