diff options
author | Jacob Schatz <jschatz@gitlab.com> | 2016-04-28 00:30:42 +0300 |
---|---|---|
committer | Jacob Schatz <jschatz@gitlab.com> | 2016-04-28 00:30:42 +0300 |
commit | a792427eed95570da22844a06a09227730443189 (patch) | |
tree | 0411b1e60747821418274640ef166dde49a0b194 /doc/update | |
parent | 2ec58d4a74c5805ef09b9472cecb3d6d9465a5f2 (diff) | |
parent | 40b0afddbf3cb66462893b7c5c7f09204d59d60a (diff) |
Merge branch 'add-js-prefix-to-user-tab-classes' into 'master'
Add JS prefix to user tab classes
## What does this MR do
This MR adds the `js-` prefix to the classes which are used for js purposes only. This MR only affects the said classes inside `users/show.html.haml`.
## Are there points in the code the reviewer needs to double check?
I'm not entirely sure if this project uses the `js-` prefix for
classes that are used for js purposes only. Doing a grep shows some of the classes have the prefix, but I'm still unsure whether this project follows this rule.
## Why was this MR needed?
As I was working thru #13401, I wanted to add a tab on the user profile page to show the contributions outside the GitLab instance. Reading the JS, I came across this. This MR helps new people reading the code that the said classes are for js purposes only. Also, it helps the project work toward to uniform class naming.
I suggest that we document adding the `js-` prefix to classes for js purposes only (if this is the case for this project)
See merge request !3928
Diffstat (limited to 'doc/update')
0 files changed, 0 insertions, 0 deletions