"Enabled / disabled" label for toggles in code intel configuration is confusing
Created by: varungandhi-src
- Sourcegraph version: main
Steps to reproduce:
- Click "Create new policy" under the Code Intel > Configuration as a site admin.
Expected behavior:
There should be no text (because most people are likely already familiar with toggles), or the text should match the button position.
Actual behavior:
Left = greyed out / Disabled, Right = colored / Enabled.
However, the button has a label next to it which says "Enabled / disabled" which makes it a little confusing: does left = enabled and right = disabled?
It's not a big deal, but seems like an unnecessary bit of friction.