Merged
Conversation
* Initial css fixes * works in IE, addresses feedback * remove user select
* Adds basic aria roles and grid navigation Co-Authored-By: Chandler Prall <chandler.prall@gmail.com>
Adds basic styling to the data grid.
* Added pagination to to EuiDataGrid * Move EuiDataGrid row rendering to a sub-component to clean up state management * EuiDataGrid pagination unit tests * fix data grid pagination * revert colors
* Show/hide and re-order datagrid columns * Column visability & ordering tests * column styling * column sizing and bars * blergh * tests * feedback * Fix linting
Styling built into data grid, full screen mode
* API interface for providing column sort order, callback to allow external data sorting * EuiDataGrid renders content into memory, sorts on it * Added tests for EuiDataGrid sorting * Added aria-sort value to a singly-sorted column header * small cleanup * add tests back in, though they are still broken * Clean up some keyboard navigation issues * Fix column sorting & update snapshots
* Refactored EuiDataGrid's hooks * Fix datagrid to react to gridStyle changes
* Automatically detect data schema for in-memory datagrid
* Merge in described schema for field formatting
* Better column type detection
* Tests for euidatagrid schema / column type
* refactor datagrid schema code, add datetime type detection
* some comments
* Allow extra type detectors for EuiDataGrid
* cleanup of docs and type formatting
* Fix datagrid unit test
* Update currency detector
* Allow EuiDataGrid's inMemory prop to be {true}
* Added ability to provide extra props for the containing cell div
* Added test for cell props
* Automatically detect data schema for in-memory datagrid
* Merge in described schema for field formatting
* Better column type detection
* Tests for euidatagrid schema / column type
* refactor datagrid schema code, add datetime type detection
* some comments
* Allow extra type detectors for EuiDataGrid
* cleanup of docs and type formatting
* Fix datagrid unit test
* Update currency detector
* Allow EuiDataGrid's inMemory prop to be {true}
* Added ability to provide extra props for the containing cell div
* Added test for cell props
* Performance cleanups
* Clean up datagrid doc's inMemory selection
* Merged in feature branch
* EuiDataGrid in-memory options
* Performance refactor for in-memory values
* added a comment
* Fix sorting on in-memory and schema datagrid docs
Moved the sorting mechanism to the top toolbar.
Data grid cells now can expand and can render individually based upon their schema.
* cell expansion working mostly * fix double import * add search to field selector * euitext * cell epansion is now optional through a config * keydown event for cells * remove tabbables * Clean up some code & tests * Remove unused line of code * Center popover against cell * Update euidatagridcell popover placement, trigger, dom structure, and auto focusing * Restore focus to grid cell when popover was in response to mouse click * Allow grid column selection to be searchable * Refactor expansion popover formatting, allow custom ones * schema-based sort comparators * reverse boolean sort to be true-false * adds json schema sorting, fixes issue with popover * Weaken the currency type detector when values have a period in their first few characters, and fix test
Contributor
|
@chandlerprall fyi, looks like the last merge broke tests here. |
Contributor
|
Nevermind. Think I got it. Just needed the visibility added. |
* Allow custom ReactNode for column header display * Allow navigation into grid headers if any are interactive * Properly wrap cell focus and use [enter], [f2] to interact * Corrected header cell focus-state on blurring, [escape]. and single interactives * Corrected header cell focus-state on blurring, [escape]. and single interactives * When datagrid header is interactive, default its tabstop to the first header cell * EuiDataGridHeaderCell warns about multiple interactive elements * fix focus, example and screenreader stuffs, looks like tests pass * simplifying screen reader read out
…2443) * EuiGridToolBar toolbar is now configurable through props * better tests * small test typp * Update src/components/datagrid/data_grid_types.ts Co-Authored-By: Greg Thompson <thompsongl@users.noreply.github.com> * feedback
* Render out EuiDataGrid proptypes * Add pagination props to docs * Fill out all datagrid autodoc sections * remove debugger statement * Update src/components/datagrid/data_grid_types.ts Co-Authored-By: Greg Thompson <thompsongl@users.noreply.github.com> * words * docs start * datatype renamed to schema, update docs * docs, fix typo for fullscreen buton * core concepts * better in memory explanation * custom schema example * provide a nice, documented snippet * typos * don't show pagination when only one page * clean up styling, better docs for formatters * more docs cleanup * IE fix * IE fix again * small cleanup of docs * describe how to disable expansion popovers * dark mode tweaks * Fix custom datatype sorting * Update src-docs/src/views/datagrid/datagrid_example.js Co-Authored-By: Michail Yasonik <michail@yasonik.com> * Update src-docs/src/views/datagrid/datagrid_example.js Co-Authored-By: Michail Yasonik <michail@yasonik.com> * Update src-docs/src/views/datagrid/datagrid_example.js Co-Authored-By: Michail Yasonik <michail@yasonik.com> * Update src-docs/src/views/datagrid/datagrid_example.js Co-Authored-By: Michail Yasonik <michail@yasonik.com> * Update src-docs/src/views/datagrid/datagrid_example.js Co-Authored-By: Michail Yasonik <michail@yasonik.com> * Update src-docs/src/views/datagrid/datagrid_example.js Co-Authored-By: Michail Yasonik <michail@yasonik.com> * Update src-docs/src/views/datagrid/datagrid_example.js Co-Authored-By: Michail Yasonik <michail@yasonik.com> * Update src-docs/src/views/datagrid/datagrid_example.js Co-Authored-By: Michail Yasonik <michail@yasonik.com> * PR feedback * typo * feedback to break up docs * better cross linking and summary * fix custom schema display * Update src-docs/src/views/datagrid/datagrid_memory_example.js Co-Authored-By: Greg Thompson <thompsongl@users.noreply.github.com> * Update src-docs/src/views/datagrid/datagrid_memory_example.js Co-Authored-By: Greg Thompson <thompsongl@users.noreply.github.com> * Update src-docs/src/views/datagrid/datagrid_memory_example.js Co-Authored-By: Greg Thompson <thompsongl@users.noreply.github.com> * Update src-docs/src/views/datagrid/datagrid_schema_example.js Co-Authored-By: Greg Thompson <thompsongl@users.noreply.github.com> * Update src-docs/src/views/datagrid/datagrid_memory_example.js Co-Authored-By: Greg Thompson <thompsongl@users.noreply.github.com> * Update src-docs/src/views/datagrid/datagrid_memory_example.js Co-Authored-By: Greg Thompson <thompsongl@users.noreply.github.com> * Update src-docs/src/views/datagrid/datagrid_memory_example.js Co-Authored-By: Greg Thompson <thompsongl@users.noreply.github.com> * Updated some datagrid docs * main dg example page feedback * Eui prefix all the things to be consistant. Adjust the data grid docs to match * rewrite intro based on feedback * more tweaking of words * rename toolbarDisplay->toolbarVisibility * in memory docs reworked to four examples * clean up core example * data grid styling snippets * fix prop list * Minor grammar edits * Added isDetails prop to renderCellValue, reducing the use case for expansionFormatters. Speaking of those, expansionFormatter(s) has been renamed to popoverContent(s) and now recieve the rendered cell div in addition to the renderCellValue ReactElement * fix docs renaming, fix css * last docs edit seems fitting * somewhat decent attempt at putting classnames on schemas * Revert "somewhat decent attempt at putting classnames on schemas" This reverts commit 26542d7.
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Creating this to track the progress & history of
feature/euidatagridbranch.#2177 [META] Data grid features / design to build out
Changelog items in addition to this component
As part of #2392
EuiButtonGroupandEuiButtonTogglenow acceptReactNodefor their label prop instead of stringuseRenderToTextadded toinner_textservice suite which is useful for transforming i18n content into strings for use in labelsAs part of #2230
react-hooksplugin toeslinttableDensityExpanded,tableDensityCompact,tableDensityNormaltoEuiIconlockPropspassdown inEuiFocusTrap, specifically to allowsstyleto be passed down.childrenproperty onI18nTokensShapetype from a singleReactChildto now accept anarray!importantto the animation ofEuiFocusRinganimation to make sure it is always usedAs part of #2176
$euiColorHighlightin dark modeAs part of #2207
EuiPopoverFooterpadding to uniformly adjust with the size of the popoverAs part of #2366
expandMiniicon toEuiIconisDragDisabledpassdown prop toEuiDraggableEuiPopoverto userole="dialog"for better screen-reader announcementsonTrapDeactivationtoEuiPopoverfor when a focus trap is deactivatedEuiPopoverto counteract a race condition upon rendering that can cause styling issues. (fixes SuperDatePicker date popover EuiTabs not firing TransitionEnd event properly #2403)As part of #2421
EuiMutationObserver's handling ofonMutationwhen that prop's value changesChecklist