Skip to content

Commit

Permalink
Move custom menu to right, remove new ticket links
Browse files Browse the repository at this point in the history
  • Loading branch information
tiffon committed Sep 21, 2017
1 parent fdf3576 commit 4e2e98b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 43 deletions.
28 changes: 14 additions & 14 deletions src/components/App/TopNav.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,21 +82,21 @@ export default function TopNav(props: TopNavProps) {
<Link to={prefixUrl('/')} className="header item">
Jaeger UI
</Link>
{menuItems.map(item => {
if (item.items) {
return <CustomNavDropdown key={item.label} {...item} />;
}
return <CustomNavItem key={item.label} {...item} />;
})}
<div className="ui input">
<TraceIDSearchInput />
</div>
{NAV_LINKS.map(({ key, to, text }) =>
<Link key={key} to={to} className="item">
{text}
</Link>
)}
<div className="right menu">
<div className="ui input">
<TraceIDSearchInput />
</div>
{NAV_LINKS.map(({ key, to, text }) =>
<Link key={key} to={to} className="item">
{text}
</Link>
)}
{menuItems.map(item => {
if (item.items) {
return <CustomNavDropdown key={item.label} {...item} />;
}
return <CustomNavItem key={item.label} {...item} />;
})}
</div>
</Menu>
);
Expand Down
29 changes: 0 additions & 29 deletions src/constants/default-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,34 +49,5 @@ export default {
},
],
},
{
label: 'Create a ticket',
items: [
{
label: 'Jaeger Core',
url: 'https://github.com/uber/jaeger/issues',
},
{
label: 'Go Client',
url: 'https://github.com/uber/jaeger-client-go/issues',
},
{
label: 'Java Client',
url: 'https://github.com/uber/jaeger-client-java/issues',
},
{
label: 'Node Client',
url: 'https://github.com/uber/jaeger-client-node/issues',
},
{
label: 'Python Client',
url: 'https://github.com/uber/jaeger-client-python/issues',
},
{
label: 'Jaeger UI',
url: 'https://github.com/uber/jaeger-ui/issues',
},
],
},
],
};

0 comments on commit 4e2e98b

Please sign in to comment.