[WEB-1184] feat: issue bulk operations (#4674)

* feat: issue bulk operations

* style: bulk operations action bar

* chore: remove edition separation
This commit is contained in:
Aaryan Khandelwal 2024-06-04 11:12:24 +05:30 committed by GitHub
parent 97eea75cb7
commit dd65d03d33
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
46 changed files with 831 additions and 420 deletions

View file

@ -0,0 +1,19 @@
import { observer } from "mobx-react";
// components
import { BulkOperationsUpgradeBanner } from "@/components/issues";
// hooks
import { useMultipleSelectStore } from "@/hooks/store";
type Props = {
className?: string;
};
export const IssueBulkOperationsRoot: React.FC<Props> = observer((props) => {
const { className } = props;
// store hooks
const { isSelectionActive } = useMultipleSelectStore();
if (!isSelectionActive) return null;
return <BulkOperationsUpgradeBanner className={className} />;
});