chore: image file update, icon consistency, bug fixes and code refactor (#3107)
* chore: workspace view icon consistency * chore: icon added in breadcrumb dropdown * chore: svg image replaced with webp * fix: build fix * chore: unused variables removed * chore: module sidebar copy module link fix
This commit is contained in:
parent
ee68c3ae86
commit
b78e83d81b
24 changed files with 18 additions and 1542 deletions
|
|
@ -11,7 +11,7 @@ import { ProjectAnalyticsModal } from "components/analytics";
|
|||
// ui
|
||||
import { Breadcrumbs, Button, CustomMenu, DiceIcon } from "@plane/ui";
|
||||
// icons
|
||||
import { ArrowRight, ContrastIcon, Plus } from "lucide-react";
|
||||
import { ArrowRight, Plus } from "lucide-react";
|
||||
// helpers
|
||||
import { truncateText } from "helpers/string.helper";
|
||||
import { renderEmoji } from "helpers/emoji.helper";
|
||||
|
|
@ -143,7 +143,7 @@ export const ModuleIssuesHeader: React.FC = observer(() => {
|
|||
<CustomMenu
|
||||
label={
|
||||
<>
|
||||
<ContrastIcon className="h-3 w-3" />
|
||||
<DiceIcon className="h-3 w-3" />
|
||||
{moduleDetails?.name && truncateText(moduleDetails.name, 40)}
|
||||
</>
|
||||
}
|
||||
|
|
@ -156,7 +156,10 @@ export const ModuleIssuesHeader: React.FC = observer(() => {
|
|||
key={module.id}
|
||||
onClick={() => router.push(`/${workspaceSlug}/projects/${projectId}/modules/${module.id}`)}
|
||||
>
|
||||
{truncateText(module.name, 40)}
|
||||
<div className="flex items-center gap-1.5">
|
||||
<DiceIcon className="h-3 w-3" />
|
||||
{truncateText(module.name, 40)}
|
||||
</div>
|
||||
</CustomMenu.MenuItem>
|
||||
))}
|
||||
</CustomMenu>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue