Skip to content

[RulesDashboard] - Rules Loading Efficiency #4352

Description

@cielbellerose

Description

Currently loading all rules for FSAE/FHE docs comes in at around 2000 rules and often takes a while for pages to load

We don't need to be calling /:ruleId/subrules for every rule that has children on first load. This should be called only on dropdown click, or refresh if the dropdown is already open, or when expand all is selected. On first open, all the dropdowns are closed anyway, so we should only be calling getTopLevelRules

Also ensure nothing else is unnecessarily reloading rules

Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions