Single list of rule types in observability without grouping#166772
Single list of rule types in observability without grouping#166772maryam-saeidi merged 11 commits intoelastic:mainfrom
Conversation
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
| }), | ||
| requiresAppContext: false, | ||
| defaultActionMessage: errorCountMessage, | ||
| priority: 80, |
There was a problem hiding this comment.
This priority will be used to order the rule type list in observability. You can check the priorities assigned to each rule in the issue.
|
Pinging @elastic/apm-ui (Team:APM) |
| } | ||
|
|
||
| return ruleTypes | ||
| ? ruleTypes.findIndex((frtA) => leftRuleTypesList.some((aRuleType) => aRuleType.id === frtA)) - |
x-pack/plugins/triggers_actions_ui/public/application/lib/rule_type_compare.ts
Outdated
Show resolved
Hide resolved
| {ruleTypeListItemHtml} | ||
| </EuiToolTip> | ||
| ) | ||
| const sortedRuleTypeNodes = hideGrouping |
There was a problem hiding this comment.
wondering if we should put that under a useMemo?
There was a problem hiding this comment.
I've tried using useMemo, but it didn't help reduce the number of calculations since this is dependent on solutions and solutions is created in useEffect every time any of the useEffects' dependencies changes, so the calculation for this also happened every time.
|
Seems type check error will be fixed in #167404 |
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]Public APIs missing comments
Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
|
Pinging @elastic/actionable-observability (Team: Actionable Observability) |

Closes #166136
Summary
This PR removes the groups in the rules list in the observability.
🧪 How to test