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:
rahulramesha 2024-01-23 20:45:44 +05:30 committed by GitHub
parent f27efb80e1
commit 47681fe9f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 88 additions and 51 deletions

View file

@ -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);

View file

@ -36,6 +36,7 @@ export interface ICustomSelectProps extends IDropdownProps {
interface CustomSearchSelectProps {
footerOption?: JSX.Element;
onChange: any;
onClose?: () => void;
options:
| {
value: any;