-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
copy over the same test for CcrShard
, snapshots were identical
@@ -0,0 +1,145 @@ | |||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
create a new component as CcrShard
uses injector
@@ -14,7 +14,8 @@ import { AlertsStatus } from '../../../alerts/status'; | |||
|
|||
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix bug where shard with an id of 0 was evaluating as false
@elasticmachine merge upstream |
Testing
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 <[email protected]>
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Sandra G <[email protected]>
Summary
Resolves #113808
Test