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

Support configuring <Datagrid> row styles with Material UI sx syntax #8986

Closed
wants to merge 70 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
a2715c1
Update NextJS tutorial
djhi May 23, 2023
72b27eb
Fix tsx code block
djhi May 23, 2023
d82b979
Changed the `shouldRenderEmptyPage` logic to support partial pagination
May 24, 2023
37919df
Added test checking if empty component renders correctly
May 24, 2023
31eb8d6
Fix need help message appears too often
fzaninotto May 25, 2023
0c8976b
Refix
fzaninotto May 25, 2023
8fec49e
Update packages/ra-ui-materialui/src/list/ListView.tsx
yanchesky May 26, 2023
af22898
removed unused prop types, fixed suggested condition
May 26, 2023
83aa214
Merge pull request #8938 from marmelab/update-next-tutorial
fzaninotto May 26, 2023
40d2b14
Revert suggestion by slax57
slax57 May 30, 2023
0d28e66
Merge pull request #8945 from yanchesky/fix-show-empty-list-component
slax57 May 30, 2023
956db99
Fix `<AutocompleteInput>` should not use `matchSuggestion` when in a …
slax57 May 30, 2023
0c2d4fe
Changed `getList` and `getManyReference` error to take partial pagina…
May 30, 2023
6b72346
Merge pull request #8956 from marmelab/fix-AutocompleteInput-matchSug…
fzaninotto May 31, 2023
7194dd7
Merge pull request #8957 from yanchesky/fix-list-dataprovider-error
fzaninotto May 31, 2023
b4cf57c
[Doc] Fix create-react-admin usage with npx
fzaninotto May 31, 2023
2b0252a
[TypeScript] Fix inference errors in Field components
fzaninotto May 31, 2023
ace597f
Merge pull request #8962 from marmelab/Fix-ts-compilation
slax57 May 31, 2023
8ba0f6f
[TypeScript] Fix regression in type of `<FunctionField>` `render`
slax57 Jun 1, 2023
ee60917
Merge pull request #8961 from marmelab/doc-create-react-admin-usage-npx
slax57 Jun 1, 2023
bf84341
Merge pull request #8964 from marmelab/FunctionField-TS-regression
fzaninotto Jun 1, 2023
19b859e
[Doc] Add Next.js app router install instructions
fzaninotto Jun 1, 2023
af7cb53
Add Edit pages to test routing
fzaninotto Jun 1, 2023
a319436
Fix defaultProps warnings in React 18
fzaninotto Jun 1, 2023
a4c334b
Extract render method prop into exportable type
elstgav May 31, 2023
03f526f
Fix render method types
elstgav May 31, 2023
0fb4949
Update examples to remove null record checks
elstgav May 31, 2023
8e2c8fa
Use FunctionFieldRenderer type
elstgav May 31, 2023
136d102
Match WithRecord types to FunctionField types
elstgav Jun 1, 2023
ddde0c5
Create shared RenderRecordFunction type
elstgav Jun 1, 2023
eec01c3
Merge pull request #8965 from marmelab/nextjs-app-router
slax57 Jun 2, 2023
4de35fd
changelog for v4.11.1
slax57 Jun 2, 2023
375b8e9
v4.11.1
slax57 Jun 2, 2023
35a9ff9
update yarn.lock
slax57 Jun 2, 2023
c238fd5
Merge pull request #8963 from elstgav/function-field-render-prop-types
fzaninotto Jun 2, 2023
381ddf4
[Doc] Add `<AutoSave>` documentation
fzaninotto Jun 4, 2023
32d2c08
Fix missing entry in reference
fzaninotto Jun 4, 2023
60f6fb9
i18n(EN) syntax error found while translating to ES
joebordes Jun 4, 2023
42ea7c7
[Doc] Add documentation for `<TreeInput>` and `<ReferenceNodeInput>`
fzaninotto Jun 5, 2023
b54f1fd
[Demo] Fix tag list on Mobile
fzaninotto Jun 5, 2023
b7990f9
Fix ReferenceField line height isn't consistent with other fields
fzaninotto Jun 5, 2023
917b452
Update docs/ReferenceInput.md
fzaninotto Jun 5, 2023
b870796
Review
fzaninotto Jun 5, 2023
d4d4386
Merge pull request #8970 from joebordes/i18n-syntax-001
fzaninotto Jun 5, 2023
f40475a
Fix linter warnings
fzaninotto Jun 5, 2023
750da6d
Fix CRM compilation
fzaninotto Jun 5, 2023
5b387fd
Merge pull request #8974 from marmelab/doc-treeinput
slax57 Jun 5, 2023
72125fd
Review
fzaninotto Jun 5, 2023
312867b
Merge pull request #8969 from marmelab/doc-add-autosave
slax57 Jun 5, 2023
93cb1d6
[Doc] Better explain the type of `getSource` and `scopedFormData` in …
slax57 Jun 5, 2023
0b13432
Merge pull request #8975 from marmelab/demo-tag-list-mobile
slax57 Jun 5, 2023
d48d804
Merge pull request #8976 from marmelab/fix-referencefield-value-verti…
slax57 Jun 5, 2023
a58e365
Fix configurable does not have a targetable root class
djhi Jun 5, 2023
89c0573
Bump vite from 3.2.0 to 3.2.7
dependabot[bot] Jun 6, 2023
91f05c3
Merge pull request #8979 from marmelab/FormDataConsumer-getSource
fzaninotto Jun 6, 2023
efda3cd
Merge pull request #8980 from marmelab/fix-configurable
fzaninotto Jun 6, 2023
b085285
Fix more Linter warnings
fzaninotto Jun 6, 2023
bcc1105
[Doc] Fix Remix tutorial mentions outdated postgrest adapter
fzaninotto Jun 6, 2023
e09bca3
Merge pull request #8982 from marmelab/fix-remix-postgrest-package
djhi Jun 6, 2023
ddf6c40
Fix AutocompleteArrayInput 'custom options' story
slax57 Jun 7, 2023
2e4c31b
Merge pull request #8983 from marmelab/AutocompleteArrayInput-stories…
fzaninotto Jun 7, 2023
a9331d9
Fix more linter warnings
fzaninotto Jun 7, 2023
fec2478
dedupe @types/node in yarn.lock
slax57 Jun 7, 2023
29230e0
Merge pull request #8981 from marmelab/dependabot/npm_and_yarn/vite-3…
slax57 Jun 7, 2023
2e81b49
[Doc] Fix Confirm prop table overflows
fzaninotto Jun 7, 2023
2007d28
Merge pull request #8978 from marmelab/fix-linter-warnings
slax57 Jun 7, 2023
6a8b1c9
Merge pull request #8985 from marmelab/doc-confirm-scroll
slax57 Jun 7, 2023
e6bd7b3
Sx Row
mshd Jun 7, 2023
934892a
remove empty line
mshd Jun 7, 2023
f43a2fe
Update docs/SimpleList.md
mshd Jun 13, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_"
"caughtErrorsIgnorePattern": "^_",
"ignoreRestSiblings": true
}
]
}
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## v4.11.1

* Fix `<AutocompleteInput>` should not use `matchSuggestion` when in a `<ReferenceInput>` ([#8956](https://github.com/marmelab/react-admin/pull/8956)) ([slax57](https://github.com/slax57))
* Fix `<ListView>` should show custom empty component with partial pagination ([#8945](https://github.com/marmelab/react-admin/pull/8945)) ([yanchesky](https://github.com/yanchesky))
* [TypeScript] Fix inference errors in Field components ([#8962](https://github.com/marmelab/react-admin/pull/8962)) ([fzaninotto](https://github.com/fzaninotto))
* [TypeScript] Fix regression in type of `<FunctionField>` `render` ([#8964](https://github.com/marmelab/react-admin/pull/8964)) ([slax57](https://github.com/slax57))
* [Doc] Add Next.js app router install instructions ([#8965](https://github.com/marmelab/react-admin/pull/8965)) ([fzaninotto](https://github.com/fzaninotto))
* [Doc] Fix NextJS tutorial for the latest version of create-next-app ([#8938](https://github.com/marmelab/react-admin/pull/8938)) ([djhi](https://github.com/djhi))
* [Doc] Fix `dataProvider.getList()` response format error message does not take partial pagination into account ([#8957](https://github.com/marmelab/react-admin/pull/8957)) ([yanchesky](https://github.com/yanchesky))
* [Doc] Fix create-react-admin usage with npx ([#8961](https://github.com/marmelab/react-admin/pull/8961)) ([fzaninotto](https://github.com/fzaninotto))

## v4.11.0

* Add `<WithListContext>` component ([#8917](https://github.com/marmelab/react-admin/pull/8917)) ([fzaninotto](https://github.com/fzaninotto))
Expand Down
2 changes: 1 addition & 1 deletion cypress/cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default defineConfig({
e2e: {
// We've imported your old cypress plugins here.
// You may want to clean this up later by importing these.
setupNodeEvents(on, config) {
setupNodeEvents(on) {
on('before:browser:launch', (browser = {}, launchOptions) => {
// Fix for Cypress 4:
// https://docs.cypress.io/api/plugins/browser-launch-api.html#Usage
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/edit.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ describe('Edit Page', () => {
cy.contains('Required');
// FIXME: We navigate away from the page and confirm the unsaved changes
// This is needed because HashHistory would prevent further navigation
cy.window().then(win => {
cy.window().then(() => {
cy.on('window:confirm', () => true);
});
cy.get('.RaSidebar-fixed [role="menuitem"]:first-child').click();
Expand Down
Loading