Skip to content
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

[7.x] [Enterprise Search] Set up initial KibanaPageTemplate (#102170) #102431

Merged
merged 1 commit into from
Jun 17, 2021

Commits on Jun 16, 2021

  1. [Enterprise Search] Set up initial KibanaPageTemplate (elastic#102170)

    * Set up shared EnterpriseSearchPageTemplate component
    
    * Set up product-specific page templates + setPageChrome
    
    + misc tech debt - create AS components/layout/index.ts for imports
    
    * Set up navigation helpers for EuiSideNav usage
    
    - Update react_router_helpers to pass back props as a plain JS obj instead of only working with React components (+ update react components to use new simpler helper)
    
    - Convert SideNavLink active logic to a plain JS helper
    
    * Set up top-level product navigations
    
    NYI: sub navigations (future separate PRs)
    
    * Set up test_helpers for inspecting pageHeaders
    
    - primarily useful for rightSideItems, which often contain conditional logic
    
    * Initial example: Convert RoleMappings views to new page template
    
    Minor refactors:
    + remove unnecessary type union
    + fix un-i18n'ed product names
    + add full stop to documentation sentence
    + add semantic HTML tags around various page landmarks (header, section)
    
    * EUI feedback: add empty root parent section
    
    * Revert Role Mappings union type removal
    
    - but shenanigans it a bit to take our i18n'd shared product names (requires as const assertion)
    
    - done to reduce merge conflicts for Scotty / make his life (hopefully) a bit easier between ent-search and Kibana
    
    Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
    Constance and kibanamachine committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    010f648 View commit details
    Browse the repository at this point in the history