Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

[WEB-1319] chore: user default cover image (#4525)

Anmol Singh Bhatia836452f074da
diff --git a/space/components/issues/peek-overview/issue-activity.tsx b/space/components/issues/peek-overview/issue-activity.tsx
index 321532fb2c..52b9840795 100644
--- a/space/components/issues/peek-overview/issue-activity.tsx
+++ b/space/components/issues/peek-overview/issue-activity.tsx
@@ -30,7 +30,7 @@ export const PeekOverviewIssueActivity: React.FC<Props> = observer((props) => {
return (
<div className="pb-10">
- <h4 className="font-medium">Activity</h4>
+ <h4 className="font-medium">Comments</h4>
{workspaceSlug && (
<div className="mt-4">
<div className="space-y-4">
diff --git a/web/components/profile/sidebar.tsx b/web/components/profile/sidebar.tsx
index a8a5d44c95..c7e68ea79c 100644
--- a/web/components/profile/sidebar.tsx
+++ b/web/components/profile/sidebar.tsx
@@ -97,10 +97,7 @@ export const ProfileSidebar = observer(() => {
</div>
)}
<img
- src={
- userProjectsData.user_data?.cover_image ??
- "https://images.unsplash.com/photo-1506383796573-caf02b4a79ab"
- }
+ src={userProjectsData.user_data?.cover_image ?? "/users/user-profile-cover-default-img.png"}
alt={userProjectsData.user_data?.display_name}
className="h-32 w-full object-cover"
/>
@@ -166,8 +163,8 @@ export const ProfileSidebar = observer(() => {
completedIssuePercentage <= 35
? "bg-red-500/10 text-red-500"
: completedIssuePercentage <= 70
- ? "bg-yellow-500/10 text-yellow-500"
- : "bg-green-500/10 text-green-500"
+ ? "bg-yellow-500/10 text-yellow-500"
+ : "bg-green-500/10 text-green-500"
}`}
>
{completedIssuePercentage}%
diff --git a/web/public/users/user-profile-cover-default-img.png b/web/public/users/user-profile-cover-default-img.png
new file mode 100644
index 0000000000..6f555daf45
Binary files /dev/null and b/web/public/users/user-profile-cover-default-img.png differ