Skip to content

Fix deprecated GlIcon size and property

What does this MR do?

This MR removes the use-deprecated-sizes property in gl-icon component and update its size prop to use a valid size 16 in app/assets/javascripts/vue_shared/components/file_icon.vue

Closes #324788 (closed)

Part of https://gitlab.com/gitlab-com/marketing/community-relations/contributor-program/hackathon/-/issues/52

Screenshots (strongly suggested)

Expected to be the same size

View Before After
File viewer screenshot-3000-ivory-mongoose-uqh5jjpm.ws-eu09.gitpod.io-2021.06.16-14_59_12 screenshot-3000-ivory-mongoose-uqh5jjpm.ws-eu09.gitpod.io-2021.06.18-21_03_21

Changed size from 18 to 16

View Before After
Blob header Screen_Shot_2021-07-02_at_11.51.35_AM Screen_Shot_2021-07-02_at_10.43.27_AM
MR Diff Screen_Shot_2021-07-02_at_11.54.24_AM Screen_Shot_2021-07-02_at_10.42.59_AM
Error tracking stack trace Screen_Shot_2021-07-02_at_12.07.10_PM Screen_Shot_2021-07-02_at_11.17.32_AM
MR conflict resolve Screen_Shot_2021-07-02_at_12.08.19_PM Screen_Shot_2021-07-02_at_11.49.13_AM

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Peter Hegman

Merge request reports

Loading