Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Show prompt to enable "fast mode" on large projects #376

@rafeca

Description

@rafeca

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:

Screen Shot 2019-04-01 at 12 35 25

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.

Metadata

Metadata

Labels

FY2019Q5 atom metricsMore information: https://github.com/github/pe-atom-log/issues/732FY2019Q5 atom perfMore information: https://github.com/github/pe-atom-log/issues/728

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions