[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:
parent
4d484577b5
commit
15b0a448ee
15 changed files with 135 additions and 46 deletions
8
packages/types/src/issues/issue.d.ts
vendored
8
packages/types/src/issues/issue.d.ts
vendored
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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 && (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue