"Auto-indexing disabled" is confusing on first encounter in policy page
Created by: varungandhi-src
-
Sourcegraph version:
main
Steps to reproduce:
- Add
"codeIntelAutoIndexing.enabled": true
to the configuration page. - Navigate the Code Intel > Configuration page and read the default policy text.
Expected behavior:
The wording/presentation should make it clearer that auto-indexing is turned off for a specific policy.
Actual behavior:
The phrasing "Auto-indexing disabled" makes it seem like auto-indexing is disabled site-wide, which is confusing because I literally just set enabled to true earlier, while following the instructions on How to enable auto-indexing. I did a double take "Do I need to do something else as well to turn on auto-indexing or is it saying ‘disabled’ because of some other reason?". The meaning of that only becomes clear once you click Create new policy and see that auto-indexing is a per policy configuration option.