Maintain button label convention

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Problem context

  • How can we maintain the GitLab UX style in a scalable way with a growing number of contributors (both GitLab team members and community)?
  • Style guides (UX and code) and merge request reviews are helpful, but they rely on humans. Can we automate the problem away?
  • Can we easily localize GitLab (translate to other languages) for non-English markets in the future?

Tackle smallest problem

Suggestions

  • Refactor code so that all user-facing text in GitLab is in a small number of places. This allows the UX team to easily make updates by themselves.
  • Frontend tests: Consider a Selenium test that takes the compiled HTML, finds all the button labels, and then asserts that they all follow the conventions. If there is an offfending button, the build fails.
Edited by 🤖 GitLab Bot 🤖