Style/UI improvements (#3269)

* style: update `Workspace Issues` -> `All Issues` header.

* style: fix issue activity text overflow issue.
This commit is contained in:
Prateek Shourya 2023-12-28 14:30:33 +05:30 committed by GitHub
parent 685e62a72f
commit 71bf049e89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -95,7 +95,7 @@ export const GlobalIssuesHeader: React.FC<Props> = observer((props) => {
<PhotoFilterIcon className="h-4 w-4 text-custom-text-300" /> <PhotoFilterIcon className="h-4 w-4 text-custom-text-300" />
) )
} }
label={`Workspace ${activeLayout === "spreadsheet" ? "Issues" : "Views"}`} label={`All ${activeLayout === "spreadsheet" ? "Issues" : "Views"}`}
/> />
</Breadcrumbs> </Breadcrumbs>
</div> </div>

View File

@ -88,7 +88,7 @@ export const IssueActivityCard: FC<IIssueActivityCard> = (props) => {
</div> </div>
</div> </div>
<div className="min-w-0 flex-1 py-3"> <div className="min-w-0 flex-1 py-3">
<div className="break-words text-xs text-custom-text-200"> <div className="flex gap-1 break-words text-xs text-custom-text-200">
{activityItem.field === "archived_at" && activityItem.new_value !== "restore" ? ( {activityItem.field === "archived_at" && activityItem.new_value !== "restore" ? (
<span className="text-gray font-medium">Plane</span> <span className="text-gray font-medium">Plane</span>
) : activityItem.actor_detail.is_bot ? ( ) : activityItem.actor_detail.is_bot ? (
@ -101,8 +101,8 @@ export const IssueActivityCard: FC<IIssueActivityCard> = (props) => {
: activityItem.actor_detail.display_name} : activityItem.actor_detail.display_name}
</span> </span>
</Link> </Link>
)}{" "} )}
{message}{" "} {message}
<Tooltip <Tooltip
tooltipContent={`${renderLongDateFormat(activityItem.created_at)}, ${render24HourFormatTime( tooltipContent={`${renderLongDateFormat(activityItem.created_at)}, ${render24HourFormatTime(
activityItem.created_at activityItem.created_at