style: issue peek overview ui improvement (#2574)

* style: issue peek overview ui improvement

* chore: implemented issue subscription in peek overview

* chore: issue properties dropdown refactor

* fix: build error

* chore: label select refactor

* chore: issue peekoverview revamp and refactor

* chore: issue peekoverview properties added and code refactor

---------

Co-authored-by: gurusainath <gurusainath007@gmail.com>
This commit is contained in:
Anmol Singh Bhatia 2023-11-01 14:22:29 +05:30 committed by GitHub
parent 10e35d9a06
commit 1be82814fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
39 changed files with 1591 additions and 850 deletions

View file

@ -1,5 +1,5 @@
// components
import { EstimateSelect } from "components/estimates";
import { IssuePropertyEstimates } from "../../properties";
// hooks
import useSubIssue from "hooks/use-sub-issue";
// types
@ -21,14 +21,12 @@ export const SpreadsheetEstimateColumn: React.FC<Props> = (props) => {
return (
<>
<EstimateSelect
<IssuePropertyEstimates
projectId={issue.project_detail.id ?? null}
value={issue.estimate_point}
onChange={(data) => onChange({ estimate_point: data })}
className="h-full"
buttonClassName="!border-0 !h-full !w-full !rounded-none px-4"
estimatePoints={undefined}
disabled={disabled}
hideDropdownArrow
disabled={disabled}
/>
{isExpanded &&