Skip to content

[WEB-6762] fix: missing profile icons for recent activities on "Your Work" Page#8812

Merged
sriramveeraghanta merged 1 commit intopreviewfrom
fix-recent-activity-profile-icon
Mar 27, 2026
Merged

[WEB-6762] fix: missing profile icons for recent activities on "Your Work" Page#8812
sriramveeraghanta merged 1 commit intopreviewfrom
fix-recent-activity-profile-icon

Conversation

@b-saikrishnakanth
Copy link
Copy Markdown
Collaborator

@b-saikrishnakanth b-saikrishnakanth commented Mar 27, 2026

Description

fixed missing profile icons for recent activities on "Your Work" Page

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

Screenshots and Media (if applicable)

Before
image

After
image

Test Scenarios

References

Summary by CodeRabbit

  • Refactor
    • Improved internal consistency by consolidating avatar rendering logic into a shared UI component, enhancing code maintainability and reducing duplication across the activity section.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 27, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 469c6a53-5496-4be6-88b4-867a0890c8db

📥 Commits

Reviewing files that changed from the base of the PR and between 130ba5e and 38fd72c.

📒 Files selected for processing (1)
  • apps/web/core/components/profile/overview/activity.tsx

📝 Walkthrough

Walkthrough

The activity component refactors avatar rendering to use a shared Avatar UI component instead of manually constructing image tags with conditional fallback logic for placeholder initials.

Changes

Cohort / File(s) Summary
Avatar Rendering Consolidation
apps/web/core/components/profile/overview/activity.tsx
Replaced inline <img> tag construction with conditional avatar URL checking and fallback character derivation with a centralized Avatar component accepting name, src, size="base", and shape="square" props.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Poem

A refactor so fine, ears perked with delight, 🐰
Avatar component shines, replacing messy inline sight,
Cleaner hops through the code, a shared UI's might,
This rabbit's code now gleams, pure and bright!

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main fix: restoring missing profile icons for recent activities on the 'Your Work' page, which aligns with the changeset focus on refactoring avatar rendering in the activity component.
Description check ✅ Passed The description covers required sections including a clear description of the bug fix, correct type of change selection, and before/after screenshots demonstrating the fix, though test scenarios and references sections are empty.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix-recent-activity-profile-icon

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@makeplane
Copy link
Copy Markdown

makeplane bot commented Mar 27, 2026

Linked to Plane Work Item(s)

This comment was auto-generated by Plane

@sriramveeraghanta sriramveeraghanta merged commit c53968a into preview Mar 27, 2026
10 checks passed
@sriramveeraghanta sriramveeraghanta deleted the fix-recent-activity-profile-icon branch March 27, 2026 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants