-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Reconsider guidelines handling #9553
Copy link
Copy link
Open
Labels
Waiting for: ImplementationAdded to a milestone, will be resolved according to the milestone timeline.Added to a milestone, will be resolved according to the milestone timeline.enhancementAdding or requesting a new feature.Adding or requesting a new feature.
Milestone
Metadata
Metadata
Assignees
Labels
Waiting for: ImplementationAdded to a milestone, will be resolved according to the milestone timeline.Added to a milestone, will be resolved according to the milestone timeline.enhancementAdding or requesting a new feature.Adding or requesting a new feature.
Describe the problem
The guidelines are calculated when the page is displayed. This makes it slow, as it looks at the string's contents to see if some flags should be applied. This also makes it impractical to display guidelines in other contexts, as they can be super slow on components with hundreds of components (that's why it was removed from billing in f46a074).
Describe the solution you'd like
Calculate them in the background and store the results in the database, doing the calculation only when necessary.
Describe alternatives you've considered
Screenshots
No response
Additional context
Alerts are currently for errors, while guidelines are suggestions. This needs to be evaluated to avoid too many annoying alerts.
See also #9497