Skip to content

[SIEM] Add tabbed sub-navigation to Network page#47556

Merged
patrykkopycinski merged 9 commits intoelastic:masterfrom
patrykkopycinski:feat/add-network-tabbed-sub-nav
Oct 14, 2019
Merged

[SIEM] Add tabbed sub-navigation to Network page#47556
patrykkopycinski merged 9 commits intoelastic:masterfrom
patrykkopycinski:feat/add-network-tabbed-sub-nav

Conversation

@patrykkopycinski
Copy link
Copy Markdown
Contributor

Summary

Implements tabbed sub-navigation to Network page #42461
image

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

- [ ] This was checked for cross-browser compatibility, including a check against IE11

For maintainers

- [ ] This was checked for breaking API changes and was labeled appropriately
- [ ] This includes a feature addition or change that requires a release note and was labeled appropriately

@patrykkopycinski patrykkopycinski added v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.5.0 labels Oct 8, 2019
const ip = decodeIpv6(detailName);
return indicesExistOrDataTemporarilyUnavailable(indicesExist) ? (
<StickyContainer>
<GlobalTime>
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

{({ indicesExist, indexPattern }) =>
indicesExistOrDataTemporarilyUnavailable(indicesExist) ? (
<StickyContainer>
<GlobalTime>
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

<Route
path={`${networkPagePath}/:tabName(${NetworkTabType.ips})`}
render={() => (
<ConditionalFlexGroup direction="column">
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if I considered all the cases, but I tried removing ConditionalFlexGroup here and seems to be ok.

<EuiFlexGroup>
            <EuiFlexItem grow={1}>
              <IPsQueryTabBody {...tabProps} flowTarget={FlowTargetNew.source} />
            </EuiFlexItem>

            <EuiFlexItem grow={1}>
              <IPsQueryTabBody {...tabProps} flowTarget={FlowTargetNew.destination} />
            </EuiFlexItem>
          </EuiFlexGroup>

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure, because on the bigger screen, I believe, we do have enough space to fit both tables in the same row, so I'd keep it as it's

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I’m happy to leave it as it is. Just want to make sure that the Kpi widget on the top of the page, which has a pretty similar layout, has the same behaviour. But let's keep the scope of this PR as it is an improve that later.


<NetworkDnsQuery
endDate={to}
<NetworkTabs
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since that we've got a SiemNavigation component, what do you think if we rename this to something like NetworkTabsRoutes?

Copy link
Copy Markdown
Contributor

@angorayc angorayc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested with IE11, left some optional change, beside that all good. Thanks a lot for applying tabs to network page!!

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@patrykkopycinski
Copy link
Copy Markdown
Contributor Author

@elasticmachine merge upstream

1 similar comment
@patrykkopycinski
Copy link
Copy Markdown
Contributor Author

@elasticmachine merge upstream

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@angorayc
Copy link
Copy Markdown
Contributor

@elasticmachine merge upstream

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@angorayc
Copy link
Copy Markdown
Contributor

Checked again for the tabs' order, good to merge! Thank you for making the change.

@patrykkopycinski
Copy link
Copy Markdown
Contributor Author

Thank you so much @angorayc 👍

@patrykkopycinski patrykkopycinski merged commit 2a0b215 into elastic:master Oct 14, 2019
@patrykkopycinski patrykkopycinski deleted the feat/add-network-tabbed-sub-nav branch October 14, 2019 09:27
patrykkopycinski added a commit to patrykkopycinski/kibana that referenced this pull request Oct 14, 2019
darnautov pushed a commit to darnautov/kibana that referenced this pull request Oct 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release_note:skip Skip the PR/issue when compiling release notes v7.5.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants