[Stack Monitoring] De-angularize CCR pages#113988
Conversation
|
Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui) |
| @@ -0,0 +1,82 @@ | |||
| /* | |||
There was a problem hiding this comment.
copy over the same test for CcrShard, snapshots were identical
| @@ -0,0 +1,145 @@ | |||
| /* | |||
There was a problem hiding this comment.
create a new component as CcrShard uses injector
| export function Status({ stat, formattedLeader, oldestStat, alerts = {} }) { | ||
| const followerIndex = stat.follower_index || get(stat, 'follower.index'); | ||
| const shardId = stat.shard_id || get(stat, 'follower.shard.number'); | ||
| const shardId = |
There was a problem hiding this comment.
fix bug where shard with an id of 0 was evaluating as false
|
@elasticmachine merge upstream |
Testing
|
matschaffer
left a comment
There was a problem hiding this comment.
Looks solid. Awesome that you included the component test. I'll merge upstream to see if that fixes the probably-unrelated jest failure.
|
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Module Count
Async chunks
History
To update your PR or re-run it, just comment with: cc @neptunian |
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
Summary
Resolves #113808
Test