fix: minor bug fixes and quality of life improvements (#3444)
* add concurrency to dev command to avaoid erroring out * add context to issue activity * minor quality of life improvement for exporter modal * show the option to save draft issue only when there is content in name and description * maintain commonality while referencing the user in activity * fix minor changes in draft save issue modal logical condition * minor change is state component for filter selection * change logic for create issue activity * change use last draft issue button to state control over previous on hover as that was inconsistent
This commit is contained in:
parent
f27efb80e1
commit
47681fe9f8
11 changed files with 88 additions and 51 deletions
|
|
@ -27,6 +27,7 @@ export const CustomSearchSelect = (props: ICustomSearchSelectProps) => {
|
|||
onChange,
|
||||
options,
|
||||
onOpen,
|
||||
onClose,
|
||||
optionsClassName = "",
|
||||
value,
|
||||
tabIndex,
|
||||
|
|
@ -58,7 +59,10 @@ export const CustomSearchSelect = (props: ICustomSearchSelectProps) => {
|
|||
setIsOpen(true);
|
||||
if (referenceElement) referenceElement.focus();
|
||||
};
|
||||
const closeDropdown = () => setIsOpen(false);
|
||||
const closeDropdown = () => {
|
||||
setIsOpen(false);
|
||||
onClose && onClose();
|
||||
};
|
||||
const handleKeyDown = useDropdownKeyDown(openDropdown, closeDropdown, isOpen);
|
||||
useOutsideClickDetector(dropdownRef, closeDropdown);
|
||||
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@ export interface ICustomSelectProps extends IDropdownProps {
|
|||
interface CustomSearchSelectProps {
|
||||
footerOption?: JSX.Element;
|
||||
onChange: any;
|
||||
onClose?: () => void;
|
||||
options:
|
||||
| {
|
||||
value: any;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue