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

Table Renames. render* -> *Renderer. Focus -> FocusedCell. *Header -> *HeaderCell. #1890

Merged
merged 10 commits into from
Dec 12, 2017

Conversation

themadcreator
Copy link
Contributor

Renames:

  • allowMultipleSelection enableMultipleSelection
  • fillBodyWithGhostCells enableGhostCells
  • isColumnReorderable enableColumnReordering
  • isColumnResizable enableColumnResizing
  • isRowHeaderShown enableRowHeader
  • isRowReorderable enableRowReordering
  • isRowResizable enableRowResizing
  • enableFocus enableFocusedCell
  • onFocus onFocusedCell
  • renderBody bodyRenderer
  • renderBodyContextMenu bodyContextMenuRenderer
  • renderColumnHeader columnHeaderCellRenderer
  • renderRowHeader rowHeaderCellRenderer
  • useInteractionBar enableColumnInteractionBar

This includes
- allowMultipleSelection enableMultipleSelection
- fillBodyWithGhostCells enableGhostCells
- isColumnReorderable enableColumnReordering
- isColumnResizable enableColumnResizing
- isRowHeaderShown enableRowHeader
- isRowReorderable enableRowReordering
- isRowResizable enableRowResizing
- enableFocus enableFocusedCell
- onFocus onFocusedCell
- renderBody bodyRenderer
- renderBodyContextMenu bodyContextMenuRenderer
- renderColumnHeader columnHeaderCellRenderer
- renderRowHeader rowHeaderCellRenderer
- useInteractionBar enableColumnInteractionBar
@themadcreator themadcreator changed the title Table Renames Table Renames. render* -> *Renderer. Focus -> FocusedCell. *Header -> *HeaderCell. Dec 12, 2017
@blueprint-bot
Copy link

lint

Preview: documentation | table

allowMultipleSelection={this.state.enableMultiSelection}
enableFocus={this.state.showFocusCell}
fillBodyWithGhostCells={this.state.showGhostCells}
enableMultipleSelection={this.state.enableMultiSelection}
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: alphabetize all these

@@ -44,7 +44,7 @@ export interface IColumnProps extends IColumnNameProps, IProps {
* An instance of `IColumnHeaderRenderer`, a function that takes a column
Copy link
Contributor

Choose a reason for hiding this comment

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

I think renderCell (above) should be renamed to cellRenderer as well..?

@@ -248,7 +248,7 @@ export interface ITableProps extends IProps, IRowHeights, IColumnWidths {
* contain all selected regions. Otherwise it will have one `IRegion` that
* represents the clicked cell.
*/
renderBodyContextMenu?: IContextMenuRenderer;
bodyContextMenuRenderer?: IContextMenuRenderer;
Copy link
Contributor

Choose a reason for hiding this comment

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

alphabetize props in interfaces

@@ -40,7 +40,7 @@ export interface ITableBodyProps extends ISelectableProps, ITableBodyCellsProps
* on the table body. The callback is supplied with an `IMenuContext`
* containing the `IRegion`s of interest.
*/
renderBodyContextMenu?: IContextMenuRenderer;
bodyContextMenuRenderer?: IContextMenuRenderer;
Copy link
Contributor

Choose a reason for hiding this comment

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

alph

@blueprint-bot
Copy link

lint

Preview: documentation | table

Copy link
Contributor

@adidahiya adidahiya left a comment

Choose a reason for hiding this comment

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

still a few un-alphabetized spots, but it's not worth fixing without a linter auto-fix

@adidahiya adidahiya merged commit d1fb52e into master Dec 12, 2017
@adidahiya adidahiya deleted the bd/table-renames branch December 12, 2017 20:13
@adidahiya adidahiya mentioned this pull request Jan 12, 2018
12 tasks
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.

4 participants