Skip to content

Add compressed props on basic/memory tables - #687

Merged
snide merged 2 commits into
elastic:masterfrom
snide:table/compressed
Apr 18, 2018
Merged

snide merged 2 commits into
elastic:masterfrom
snide:table/compressed

Conversation

@snide

@snide snide commented Apr 18, 2018 •

Copy link
Copy Markdown
Contributor

Fixed #460

Adds in the ability to use the compressed prop on EuiBasicTable and EuiInMemoryTable

@snide

snide commented Apr 18, 2018

Copy link
Copy Markdown
Contributor Author

cc @peteharverson

@snide
snide force-pushed the table/compressed branch from a7bddfe to a8620ec Compare April 18, 2018 20:44
@snide
snide requested a review from cchaos April 18, 2018 20:50
@snide

snide commented Apr 18, 2018

Copy link
Copy Markdown
Contributor Author

@cchaos This is now rebased against your PR. I've noted the compressed prop in the propdocs but not the display docs. That page is getting super heavy now and I don't want to distract from the content.

@cchaos cchaos left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Works.

Quick question, should we be changing the font-size of the header and pagination as well?

screen shot 2018-04-18 at 18 50 29 pm

I just realized that I changed the font size on the header at too low of a level:

screen shot 2018-04-18 at 18 48 14 pm

@snide

snide commented Apr 18, 2018

Copy link
Copy Markdown
Contributor Author

I don't think we want the font bumping down bellow 12px/.75rem. At that point it becomes hard to read for people with not perfect eyes.

I think the header actually looks fine in yours. I like it a little smaller, helps it stand out a bit 👍

@snide
snide merged commit 8e5cedd into elastic:master Apr 18, 2018
@snide
snide deleted the table/compressed branch April 18, 2018 23:22
@timroes

timroes commented May 4, 2018

Copy link
Copy Markdown
Contributor

@snide I think this PR forgot to add the compressed prop to the type definition of the EuiInMemoryTable?

snide added a commit to snide/eui that referenced this pull request May 11, 2018
snide added a commit that referenced this pull request May 14, 2018
* pagination labeling fixes #735
* fixes #621 adds menubar roles to side nav
* fixes #734, adds more descriptive aria labeling for pagination
* fixes #729, apply aria-live to popovers
* fixes #723, provides screen reader notice for bottom bar appearance
* fix ownFocus needing to be true for non-context menu sitations. apply aria labels depending upon ownFocus state
* fixes #616 adds home page label
* fixes #687, documentation button labeling
* fixes #617 applies aria label to theme selector
* fixes #746 applies proper label to select all checkboxes in table
* clone element and id no longer needed for popover
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