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

Fixes left alignment of numbers in the details panel tables #1877

Merged
merged 4 commits into from
Sep 22, 2016

Conversation

foot
Copy link
Contributor

@foot foot commented Sep 21, 2016

  • By declaring more things to be numbers
  • Also fixes initial sort direction of number columns from asc to desc.

Fixes #1794

- By declaring more things to be numbers
- Also fixes initial sort direction of number columns from asc to desc.
@foot foot force-pushed the 1794-fixes-left-alignment-number-cols branch from 3567740 to 7c4654d Compare September 21, 2016 14:18
Copy link
Member

@rade rade left a comment

Choose a reason for hiding this comment

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

pls fix

@@ -38,6 +38,7 @@ type Column struct {
ID string `json:"id"`
Label string `json:"label"`
DefaultSort bool `json:"defaultSort"`
DataType string `json:"dataType"`

This comment was marked as abuse.

{ID: portKey, Label: portLabel},
{ID: countKey, Label: countLabel, DefaultSort: true},
{ID: portKey, Label: portLabel, DataType: "number"},
{ID: countKey, Label: countLabel, DataType: "number", DefaultSort: true},

This comment was marked as abuse.

- Rename DataType -> Datatype for consisitency
- Remove Datatype from connection.metadata
- Change UI to read dataType from connection.columns rather than from
  connection.metadata (col header rather than "cell")
@rade
Copy link
Member

rade commented Sep 22, 2016

LGTM

@foot foot merged commit 8462819 into master Sep 22, 2016
@foot foot deleted the 1794-fixes-left-alignment-number-cols branch September 22, 2016 14:59
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.

numeric values in details panel tables should be right aligned
2 participants