[WEB-1925] dev: issue detail widget enhancement (#5101)

* chore: collapsible button border color updated

* chore: TIssueDetailWidget type added

* chore: issue link modal onClose updated

* chore: issue detail widgets collapse state added to store

* chore: issue detail widget interaction added

* chore: issue detail widget interaction added
This commit is contained in:
Anmol Singh Bhatia 2024-07-11 14:34:56 +05:30 committed by GitHub
parent 4d484577b5
commit 15b0a448ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 135 additions and 46 deletions

View file

@ -84,7 +84,7 @@ export type TIssuesResponse = {
total_pages: number;
extra_stats: null;
results: TIssueResponseResults;
}
};
export type TBulkIssueProperties = Pick<
TIssue,
@ -100,3 +100,9 @@ export type TBulkOperationsPayload = {
issue_ids: string[];
properties: Partial<TBulkIssueProperties>;
};
export type TIssueDetailWidget =
| "sub-issues"
| "relations"
| "links"
| "attachments";

View file

@ -13,7 +13,7 @@ type Props = {
export const CollapsibleButton: FC<Props> = (props) => {
const { isOpen, title, hideChevron = false, indicatorElement, actionItemElement } = props;
return (
<div className="flex items-center justify-between gap-3 h-12 px-2.5 py-3 border-b border-custom-border-100">
<div className="flex items-center justify-between gap-3 h-12 px-2.5 py-3 border-b border-custom-border-200">
<div className="flex items-center gap-3.5">
<div className="flex items-center gap-3">
{!hideChevron && (