-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[discussion] Preparing v6 #3287
Comments
@alexfauquette could you add a line in the list above to match the comment |
I didn't understand this one. I added:
|
I didn't either 😆 , but there is a
Yes
Could you describe that one / link an issue ? |
I think it refers to this TODO filterPanelOperators: 'Operator', // TODO v6: rename to filterPanelOperator |
@alexfauquette oh that's funny, the script updating the locale files is putting the comment in the wrong place // Filter panel text
filterPanelAddFilter: 'إضافة مرشِح',
filterPanelDeleteIconLabel: 'حذف',
filterPanelLinkOperator: 'عامل منطقي',
filterPanelOperators: 'عامل',
// TODO v6: rename to filterPanelOperator
filterPanelOperatorAnd: 'و',
filterPanelOperatorOr: 'أو',
filterPanelColumns: 'الأعمدة',
filterPanelInputLabel: 'القيمة',
filterPanelInputPlaceholder: 'ترشِيح قيمة', |
Column reordering disabled by default? It's inconsistent with the row reordering. And should columns have the six-dot icon to indicate "re-orderability", the same as rows? |
Don't show the keyboard focus indicator when a cell is not keyboard focused. At the moment a cell gets a blue outline when it is clicked. Not sure that's so much of a breaking change as a bug fix, bit it's enough of a change in behaviour that it probably deserves to wait for v6. |
@mbrookes It's not consistent because, although both are "reordering", they have different use cases. Column reordering is meant to only change the order of the columns that the user, using the grid, sees. The new order might be persisted, by saving the session, but in essence it's only for visualization. The row reordering is meant to reorder rows and save this new order in a database, so it can be presented in the same order in another page, that might not be using the grid. It's not enabled by default because if the backend is not prepared it has no use. If it was enabled by default, it would be too easy to mess with the saved order since rows change more often than columns. If a new row is added we can't trust the saved order anymore.
Maybe, but we're already fighting to fit the column menu icon. We still need to support column reordering in mobile so the icon could go into the columns panel. |
This is an umbrella issue that centralizes and lists all the potential improvements that we can consider in MUI X v6. The potential improvements being listed here require breaking changes. We do intend to ship v6 in the coming months. We plan, as much as possible, to release the next major features in minor versions without breaking changes.
Same issue for MUI Core v6: mui/material-ui#30660
Infrastructure
Data Grid packages
Publicly deprecated APIs.
GridFeatureModeConstant
#6077Columns
all
field #5607columnTypes
prop #242onColumnOrderChange
behaviour to matchonRowsOrderChange
#6126As discussed in #4769
valueParser
andvalueFormatter
to singleSelect columns #5615unknown
instead ofany
in GridCellParams #5614hide
property ofGridColDef
#6001Rows
gridRowsStateSelector
#5623Cells
onCellFocusOut
and add documentation for alternative recommended approach. #6300Filtering
gridFilterStateSelector
#5619filterPanelOperators
translation keyfilterPanelOperator
#6963TODO: Deprecate the old selectors and create new one
@DanailH
GridFilterModel['linkOperator']
toGridFilterModel['logicOperator']
and same for translations #7270[DataGrid] Accept date objects in filter items #6564seems to be backwards compatibleGridFilterInputValue
#7271Sorting
gridSortingStateSelector
#5622Editing
[data grid] Use(not easily viable, can be done after beta)React.useState
to track the cells in edit mode. #5625gridEditRowsStateSelector
#5626TODO:
Create a newwrapgridEditingStateSelector
selector andgridEditRowsStateSelector
withwrapWithWarningOnCall
Pagination
pageSize
andpage
into a singlepagination
prop #5624Density
headerHeight
androwHeight
from state #5620Row Grouping
gridRowGroupingStateSelector
#5621Virtualization / Rendering
disableExtendRowFullWidth
prop #4308rowsScroll
event to a wider name #5610Detail Panel
Keyboard navigation
NavigationKeyDown
events #5617Styling
General events topics
GridEvents
enum #4684It will allow to not define pro-only and premium-only events in the community package
Focus management
GridCellCoordinates
andGridCellIdentifier
. They could be merged. Context: [DataGrid] Store the outlined cell in the state #7111 (comment)Error management
ErrorOverlay
#5609Remove default error boundary
Slots
components
->slots
API rename #6986 (we can make it backwards compatible)Header
component slot #6977The text was updated successfully, but these errors were encountered: