fix: web-view action permission, logs, archive issue, and more (#2356)

* fix: web-view

* feat: select module

* dev: select cycle & module

* fix: permissions, logs and archive issue

* fix: logs for issue select

fix: hard-coded web-view validation

* fix: attachment confirm delete workflow

* fix: typo

* fix: logging link instead of redirecting to the link

* fix: made editor height 100%

* style: due-date select

* fix: update comment not working

* fix: changed button text

style: spacing

* fix: due date select not working for today's date

* fix: typography

* fix: spacing in select parent
This commit is contained in:
Dakshesh Jain
2023-10-12 12:28:36 +05:30
committed by GitHub
parent 58ea4d6ec9
commit 892a30c3a8
33 changed files with 2322 additions and 515 deletions

View File

@@ -47,7 +47,7 @@ export const AssigneeSelect: React.FC<Props> = (props) => {
<>
<WebViewModal
isOpen={isOpen}
modalTitle="Select state"
modalTitle="Select assignees"
onClose={() => {
setIsOpen(false);
}}
@@ -74,20 +74,20 @@ export const AssigneeSelect: React.FC<Props> = (props) => {
disabled={disabled}
onClick={() => setIsOpen(true)}
className={
"relative w-full px-2.5 py-0.5 text-base flex justify-between items-center gap-0.5 text-custom-text-100"
"relative w-full px-2.5 py-0.5 text-base flex justify-between items-center gap-0.5"
}
>
{value && value.length > 0 && Array.isArray(value) ? (
<div className="-my-0.5 flex items-center gap-2">
<Avatar user={selectedAssignees?.[0].member} />
<span className="text-custom-text-100 text-xs">
<span className="text-custom-text-200 text-xs">
{selectedAssignees?.length} Assignees
</span>
</div>
) : (
"No assignees"
<span className="text-custom-text-200">No assignees</span>
)}
<ChevronDown className="w-5 h-5" />
<ChevronDown className="w-4 h-4 text-custom-text-200" />
</button>
</>
);