Skip to content
Snippets Groups Projects

Resolve GlAvatar size in MR approvals summary

Merged Jiaan Louw requested to merge 356453-fix-gl-avatar-size-in-approvals-summary into master
All threads resolved!

What does this MR do and why?

Updates the avatar size from 20 to 24 to resolve #356453 (closed) as part of the UserAvatarList migration to GlAvatar &7767 (closed).

Screenshots or screen recordings

before + feature flag disabled before + feature flag enabled after + feature flag enabled
gdk.test_3000_h5bp_html5-boilerplate<span data-escaped-char>_</span>-<span data-escaped-char>_</span>merge_requests_1 gdk.test_3000_h5bp_html5-boilerplate<span data-escaped-char>_</span>-merge_requests_1__1 gdk.test_3000_h5bp_html5-boilerplate_-merge_requests_1__6

The footer is being updated in !83753 (merged).

How to set up and validate locally

  1. Enable the feature flag by running: echo "Feature.enable(:gl_avatar_for_all_user_avatars)" | rails c
  2. View a merge request at: [GDK_HOST]/h5bp/html5-boilerplate/-/merge_requests/1
  3. Approve the merge request if no approvers are listed.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #356453 (closed).

Edited by Jiaan Louw

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Bundle size analysis [beta]

    This compares changes in bundle size for entry points between the commits 07d5eba6 and f453e855

    Special assets

    Entrypoint / Name Size before Size after Diff Diff in percent
    average 3.43 MB 3.42 MB -9.17 KB -0.3 %
    mainChunk 1.92 MB 1.91 MB -5.8 KB -0.3 %

    😨 Significant Growth: 3

    Expand
    Entrypoint / Name Size before Size after Diff Diff in percent
    pages.operations.environments 334.12 KB 346.14 KB +12.02 KB 3.6 %
    pages.operations.index 462.24 KB 474.26 KB +12.02 KB 2.6 %
    pages.profiles.slacks 385.58 KB 395.47 KB +9.89 KB 2.6 %

    🎉 Significant Reduction: 7

    Expand
    Entrypoint / Name Size before Size after Diff Diff in percent
    pages.groups.epic_boards 2.11 MB 2.02 MB -86.73 KB -4.0 %
    pages.projects.issues.index 3.04 MB 2.98 MB -63.7 KB -2.0 %
    pages.admin.runners.index 1.34 MB 1.31 MB -29.34 KB -2.1 %
    pages.dashboard.milestones.show 579.42 KB 559.63 KB -19.79 KB -3.4 %
    pages.registrations.groups_projects.new 48.23 KB 46.62 KB -1.61 KB -3.3 %
    pages.import.gitlab_projects.new 14.89 KB 13.67 KB -1.23 KB -8.2 %
    pages.registrations.projects.new 28.31 KB 27.09 KB -1.23 KB -4.3 %

    Your MR has at least one entrypoint growing significantly (more > 1 KB or 2%). If you write new or extend existing features, this is expected and there is nothing to worry about.

    Please consider pinging someone from the FE Foundations (@dmishunov, @justin_ho, @mikegreiling or @nmezzopera) for review, if you are unsure about the size increase.

    Note: We do not have exact data for 07d5eba6. So we have used data from: d372b7c2.
    The intended commit has no webpack pipeline, so we chose the last commit with one before it.

    Please look at the full report for more details


    Read more about how this report works.

    Generated by 🚫 Danger

  • Jiaan Louw mentioned in merge request !83837 (merged)

    mentioned in merge request !83837 (merged)

  • Allure report

    allure-report-publisher generated test report for f453e855!

    review-qa-smoke: 📝 test report
    review-qa-reliable: 📝 test report

  • Janis Altherr approved this merge request

    approved this merge request

  • 👋 @janis, thanks for approving this merge request.

    This is the first time the merge request is approved. To ensure full test coverage, a new pipeline has been started.

    For more info, please refer to the following links:

  • Jiaan Louw requested review from @kushalpandya

    requested review from @kushalpandya

  • Kushal Pandya approved this merge request

    approved this merge request

  • Kushal Pandya resolved all threads

    resolved all threads

  • merged

  • Kushal Pandya mentioned in commit 1a7d4adb

    mentioned in commit 1a7d4adb

  • added workflowstaging label and removed workflowcanary label

  • 🤖 GitLab Bot 🤖 added devopsfoundations label and removed 1 deleted label

    added devopsfoundations label and removed 1 deleted label

  • Please register or sign in to reply
    Loading