Store hide labels in issue boards as a preference
Summary
(Summarize the bug encountered concisely)
You can toggle labels on and off but the preference doesn't persist.
internal customer as a continuation of https://gitlab.com/gitlab-org/gitlab-ee/issues/9838
- It is an instance-wide setting per user. So that when you change the toggle in one board, it carries over whenever you visit any another board in the instance.
- The default is showing labels.
Steps to reproduce
(How one can reproduce the issue - this is very important)
- Go to an issue board
- Hide labels with toggle
- Refresh browser
- Labels are once again visible
Example Project
https://gitlab.com/gitlab-org/gitlab/-/boards
What is the current bug behavior?
- Go to an issue board
- Hide labels with toggle
- Refresh browser
- Labels are once again visible
What is the expected correct behavior?
- Go to an issue board
- Hide labels with toggle
- Refresh browser
- Labels remain hidden
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's tough to read otherwise.)
Output of checks
This happens on GitLab.com and can be considered UX debt
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)(we will only investigate if the tests are passing)
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)