Skip to content

Use gl-badge for web IDE activity bar

What does this MR do and why?

This MR is part of the Pajamas migration and changes a <div> to use <gl-badge> on the web IDE activity bar:

ksnip_20220122-153742

Here's how it looks like with different digits:

1 digit:

Before After
ksnip_20220122-153128 ksnip_20220122-152716

2 digits:

Before After
ksnip_20220122-153141 ksnip_20220122-152731

3 digits:

Before After
ksnip_20220122-153155 ksnip_20220122-152746

How to test locally

  1. Go to the home page for any project and click on Web IDE:
ksnip_20220122-154011
  1. Open up any file and make a single edit. Verify that left sidebar now shows the modified file count in a badge.

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 #334306

Edited by Daniel Tian

Merge request reports

Loading