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

Mtracy/sub navigation #2009

Merged
merged 2 commits into from
Aug 6, 2015
Merged

Conversation

mrtracy
Copy link
Contributor

@mrtracy mrtracy commented Aug 6, 2015

Add per-page "tab" navigation from admin UI:

screen shot 2015-08-06 at 3 39 30 pm
screen shot 2015-08-06 at 3 39 39 pm

@mrtracy mrtracy added the PTAL label Aug 6, 2015
@@ -133,7 +133,7 @@ module Components {
m("th",
{
onclick: (e: any): void => this.SetSortColumn(col),
className: this.IsSortColumn(col) ? sortClass : null
className: this.IsSortColumn(col) ? sortClass : ""
Copy link
Member

Choose a reason for hiding this comment

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

why change this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it was actually assigning class="null" to the html elements. With this, the class is actually blank.

Copy link
Member

Choose a reason for hiding this comment

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

cool

@mrtracy mrtracy force-pushed the mtracy/sub_navigation branch from b88ec46 to d54c9f2 Compare August 6, 2015 20:31
@BramGruneir
Copy link
Member

LGTM

Matt Tracy added 2 commits August 6, 2015 16:49
In the latest design wireframes, certain UI pages are composed of multiple
"Tabs" - for example, the page for a single Node will have an "Overview" tab and
a "Graphs" tab.

Navigation between these tabs is accomplished via a Navigation Bar component,
which is the same component used for the main navigation bar.

Finally, the content on the various page tabs has been restructured to more
closely resemble the current wireframes.
The field name of this structure was changed by cockroachdb#1976, but it has since been
decided that "address" is a more accurate name than "string".
@mrtracy mrtracy force-pushed the mtracy/sub_navigation branch from d54c9f2 to 4e32c31 Compare August 6, 2015 20:49
@tamird
Copy link
Contributor

tamird commented Aug 6, 2015

Disregard comma comments, see palantir/tslint#557

mrtracy added a commit that referenced this pull request Aug 6, 2015
@mrtracy mrtracy merged commit 40c4ec8 into cockroachdb:master Aug 6, 2015
@mrtracy mrtracy removed the PTAL label Aug 6, 2015
@mrtracy mrtracy deleted the mtracy/sub_navigation branch August 6, 2015 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants