Open rrhyne opened 3 years ago
@sourcegraph/core-application is there a way to initialize a new user's settings in this way?
@limitedmage I think you may call this method to set the initial setting for a new user: https://sourcegraph.com/github.com/sourcegraph/sourcegraph/-/blob/internal/database/settings.go#L44:36
Currently, we ship default snippets to all users through the global settings. These defaults cannot be removed and will therefore appear in user accounts whether they want them to or not.
To improve this experience and allow users to customize these items, update the default site configuration to include these two default snippets.
Suggested snippets:
To reduce the scope of work, I suggest we do nothing for existing users.
When this is complete, the scopes listed here should be removed.