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:
Anmol Singh Bhatia 2023-05-11 02:27:14 +05:30 committed by GitHub
parent 4f2b106852
commit c7deb00f2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 803 additions and 436 deletions

View file

@ -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,