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

Kibana Home page - phase one #14673

Merged
merged 38 commits into from
Nov 2, 2017
Merged
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
3c26bca
make kibana home app default when defaultAppId not set
nreese Oct 5, 2017
8efaa11
make kibana icon link to home page, add react-router for routing with…
nreese Oct 6, 2017
7dd455f
directory registry
nreese Oct 6, 2017
8f604e2
add href to directory listings
nreese Oct 9, 2017
142ae2b
add tabs to directory page
nreese Oct 9, 2017
8674776
add promo section to home page
nreese Oct 9, 2017
7de3e6e
home page styling
nreese Oct 9, 2017
e913572
use kuiFlex components to display directory in columns
nreese Oct 10, 2017
c78059e
fix react array missing key warning
nreese Oct 10, 2017
da946cf
add icons
nreese Oct 11, 2017
9e67f2b
remove feature directory title from home page, change data sources to…
nreese Oct 11, 2017
f51b149
add tutorials registry
nreese Oct 24, 2017
0ddbb8f
fix rebase mistake
nreese Oct 25, 2017
29796cc
start tutorial component
nreese Oct 25, 2017
cd4cde6
wrap tutorial registration in helper function to hide implemenation d…
nreese Oct 25, 2017
9e5d4fe
add constants for categry and instruction variant ids
nreese Oct 26, 2017
b878c65
filter tutorial directory by tab category
nreese Oct 30, 2017
f20c89c
remove later phase stuff
nreese Oct 30, 2017
9e4dc4f
clean-up feature directory styling
nreese Oct 30, 2017
7784b79
add kbnDirectory to uiExports
nreese Oct 30, 2017
613a37c
remove unused file
nreese Oct 30, 2017
b506059
cleanup timelion plugin definition
nreese Oct 30, 2017
071f7e4
fix lint errors
nreese Oct 31, 2017
879a978
css work recommended by formgeist review
nreese Oct 31, 2017
10080c5
cleanup from pairing session with snide
nreese Oct 31, 2017
d3c715b
rename kbnDirectory registry to featureCatalogue, rename kbnDirectory…
nreese Oct 31, 2017
2fbc4b3
update kibana index uses name to match ui-exports name
nreese Oct 31, 2017
c253a19
remove carot from package versions
nreese Oct 31, 2017
8600edf
remove kuiViewContent--constrainedWidth from feature directory view
nreese Oct 31, 2017
0716c3f
updates from Stacey-Gammon review
nreese Oct 31, 2017
f1aab18
import FeatureCatalogueCategory instead of passing as parameter
nreese Nov 1, 2017
0a1c05c
wrap KuiButton in href to fix button click bug
nreese Nov 1, 2017
627505f
remove conditional check for ADMIN and DATA feature category tabs
nreese Nov 1, 2017
eb06d06
consider apps for the 'OTHER' tab as anything not in ADMIN or DATA
nreese Nov 1, 2017
35e25db
remove temp variable tabs and just store in this
nreese Nov 1, 2017
14b6702
avoid overwriting kui class styles
nreese Nov 1, 2017
470f34e
prefix class names with home
nreese Nov 1, 2017
5576799
updates from timroes review
nreese Nov 2, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
cleanup from pairing session with snide
nreese committed Nov 2, 2017

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 10080c52e047f777ca03b550093051a1c706d7e2
23 changes: 13 additions & 10 deletions src/core_plugins/kibana/public/home/components/feature_directory.js
Original file line number Diff line number Diff line change
@@ -88,16 +88,19 @@ export class FeatureDirectory extends React.Component {
return (
<div className="kuiView home">
<div className="kuiViewContent kuiViewContent--constrainedWidth">
<a className="kuiLink" href="#/home">Home</a> / Directory
<h2 className="kuiTitle">
Feature Directory
</h2>
<KuiTabs className="featureDirectoryTabs">
{this.renderTabs()}
</KuiTabs>
<KuiFlexGrid columns={4} className="featureDirectory">
{ this.renderDirectories() }
</KuiFlexGrid>
<div className="kuiViewContentItem kuiVerticalRhythmXLarge">
<h1 className="kuiTitle ">
Feature Directory
</h1>
</div>
<div className="kuiViewContentItem kuiVerticalRhythmXLarge">
<KuiTabs className="featureDirectoryTabs">
{this.renderTabs()}
</KuiTabs>
<KuiFlexGrid columns={4} className="featureDirectory">
{ this.renderDirectories() }
</KuiFlexGrid>
</div>
</div>
</div>
);
38 changes: 20 additions & 18 deletions src/core_plugins/kibana/public/home/components/home.js
Original file line number Diff line number Diff line change
@@ -3,10 +3,6 @@ import PropTypes from 'prop-types';
import { Synopsis } from './synopsis';
import {
KuiButton,
KuiBar,
KuiBarSection,
KuiFieldGroup,
KuiFieldGroupSection,
KuiFlexGroup,
KuiFlexItem,
KuiFlexGrid,
@@ -21,7 +17,7 @@ export function Home({ addBasePath, directories, directoryCategories }) {
})
.map((directory) => {
return (
<KuiFlexItem key={directory.id}>
<KuiFlexItem style={{ minHeight: 64 }} key={directory.id}>
<Synopsis
description={directory.description}
iconUrl={addBasePath(directory.icon)}
@@ -39,28 +35,34 @@ export function Home({ addBasePath, directories, directoryCategories }) {
<div className="kuiViewContent">

<div className="kuiViewContentItem kuiVerticalRhythmXLarge">
<KuiBar className="kuiVerticalRhythmSmall">
<KuiBarSection>
<h1>
<KuiFlexGroup
className="kuiVerticalRhythmSmall"
justifyContent="spaceBetween"
alignItems="flexEnd"
>
<KuiFlexItem>
<h1 className="kuiTitle">
Welcome to Kibana
</h1>
</KuiBarSection>
</KuiFlexItem>

<KuiBarSection>
<KuiFieldGroup>
<KuiFieldGroupSection>
<KuiFlexItem grow={false}>
<KuiFlexGroup alignItems="center">
<KuiFlexItem grow={false}>
<p className="kuiText kuiSubduedText">
Data already in Elasticsearch?
</p>
</KuiFieldGroupSection>
<KuiFieldGroupSection>
</KuiFlexItem>

<KuiFlexItem grow={false}>
<KuiButton buttonType="secondary">
<a href={addBasePath('/app/kibana#/management/kibana/index')}>Set up index patterns</a>
</KuiButton>
</KuiFieldGroupSection>
</KuiFieldGroup>
</KuiBarSection>
</KuiBar>
</KuiFlexItem>
</KuiFlexGroup>

</KuiFlexItem>
</KuiFlexGroup>
</div>

<div className="kuiViewContentItem kuiVerticalRhythmXLarge">
1 change: 1 addition & 0 deletions src/core_plugins/kibana/public/home/home.less
Original file line number Diff line number Diff line change
@@ -39,6 +39,7 @@
border-left: 1px solid #D9D9D9;
border-right: 1px solid #D9D9D9;
border-bottom: 1px solid #D9D9D9;
padding: 24px;
}

.featureDirectoryTabs {