-
Notifications
You must be signed in to change notification settings - Fork 128
Show prompt to enable "fast mode" on large projects #376
Description
Context
Atom 1.37 will ship with two important performance improvements ([1] and [2]) on the fuzzy finder, both of them behind config flags and disabled by default (we want to minimize risks of breaking users' workflows by having both of them disabled for a version).
Under the hypothesis that not many people will enable these features if we don't do anything,
we want to show a prompt to a subset of users so they can easily enable them and we can get some early data and potential issues before we enable the feature by default.
Constrains
These are the constrains that our solution will have:
- It should be shown to users that will benefit the most. from these features. So the benefits received will overweight the potential issues.
- It should have the less amount of friction possible. A user should do the minimum amount of work possible to enable these features.
- We should not spam users. If a user chooses to not opt in, we shouldn't ask him again.
- It should be clear how to disable the features. If something goes wrong, users should know how to go back to the normal fuzzy finder.
Potential solution
Show a Notification to the user if the crawling process took more than e.g 5s and if the notification hadn't been shown before.
The notification should have clear call to action buttons that don't require the user to navigate to other parts of the application. Example of notification:
Metrics
In order to understand how successful is this notification, we can log the following data:
- Number of times that the notification was shown.
- Number of times that people enabled fast mode.
- Number of times that people discarded the notification.
