feat: calendar view display properties (#1024)
* fix: calendar mutation fix, chore: calendar type added * feat: calendar view display property added * feat: calendar header, single date and single issue component added, chore: code refactor * chore: partialupdateissue function updated * fix: dropdown overflow fix, style: issue card styling * fix: calendar weekly view row height fix * feat: calendar issue card ellipsis added, fix: edit and delete mutation fix * style: plus icon , add issue button padding and onhover effect fix * style: calendar issue card * style: weekly view height
This commit is contained in:
parent
4f2b106852
commit
c7deb00f2a
20 changed files with 803 additions and 436 deletions
|
|
@ -11,7 +11,7 @@ import { IIssue } from "types";
|
|||
|
||||
type Props = {
|
||||
issue: IIssue;
|
||||
partialUpdateIssue: (formData: Partial<IIssue>) => void;
|
||||
partialUpdateIssue: (formData: Partial<IIssue>, issueId: string) => void;
|
||||
isNotAllowed: boolean;
|
||||
};
|
||||
|
||||
|
|
@ -34,11 +34,14 @@ export const ViewDueDateSelect: React.FC<Props> = ({ issue, partialUpdateIssue,
|
|||
placeholder="Due date"
|
||||
value={issue?.target_date}
|
||||
onChange={(val) => {
|
||||
partialUpdateIssue({
|
||||
target_date: val,
|
||||
priority: issue.priority,
|
||||
state: issue.state,
|
||||
});
|
||||
partialUpdateIssue(
|
||||
{
|
||||
target_date: val,
|
||||
priority: issue.priority,
|
||||
state: issue.state,
|
||||
},
|
||||
issue.id
|
||||
);
|
||||
trackEventServices.trackIssuePartialPropertyUpdateEvent(
|
||||
{
|
||||
workspaceSlug,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue