Skip to content

Commit fcf76b9

Browse files
committed
Merge remote-tracking branch 'origin/master' into gif-to-webm
2 parents 2042b91 + c1e75f8 commit fcf76b9

44 files changed

Lines changed: 326 additions & 151 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## v4.9.2
4+
5+
* Fix `addRefreshAuthToAuthProvider` should not try to call `getIdentity` if it does not exist on the original `AuthProvider` ([#8810](https://github.com/marmelab/react-admin/pull/8810)) ([djhi](https://github.com/djhi))
6+
* Fix `editorProps` prop is ignored in `<RichTextInput>` ([#8809](https://github.com/marmelab/react-admin/pull/8809)) ([ArnaudD](https://github.com/ArnaudD))
7+
* Fix `useReferenceArrayInputController` does not pass `meta` to `getMany` ([#8803](https://github.com/marmelab/react-admin/pull/8803)) ([djhi](https://github.com/djhi))
8+
* Fix `<FilterForm>` infinite loop when used in a `<ReferenceManyField>` ([#8800](https://github.com/marmelab/react-admin/pull/8800)) ([fzaninotto](https://github.com/fzaninotto))
9+
* Fix layout padding inconsistency on low resolution screens ([#8794](https://github.com/marmelab/react-admin/pull/8794)) ([soullivaneuh](https://github.com/soullivaneuh))
10+
* [Doc] Fix various markdown syntax warnings causing incorrect HTML ([#8818](https://github.com/marmelab/react-admin/pull/8818)) ([fzaninotto](https://github.com/fzaninotto))
11+
* [Doc] Update chinese(zh) locale package ([#8813](https://github.com/marmelab/react-admin/pull/8813)) ([haxqer](https://github.com/haxqer))
12+
313
## v4.9.1
414

515
* Fix `<ReferenceInput>` logs warning on deselection ([#8788](https://github.com/marmelab/react-admin/pull/8788)) ([slax57](https://github.com/slax57))

docs/AppBar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ title: "The AppBar Component"
88
The default react-admin layout renders a horizontal app bar at the top, which is rendered by the `<AppBar>` component.
99

1010
<video controls autoplay muted loop width="100%">
11-
<source src="./img/AppBar.webm" type="video/webm"/>
11+
<source src="./img/AppBar.webm" type="video/webm" />
1212
Your browser does not support the video tag.
1313
</video>
1414

docs/AuthRBAC.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ export const PostList = () => (
449449

450450
### `<Datagrid>`
451451

452-
Alternative to react-admin's <Datagrid> that adds RBAC control to columns
452+
Alternative to react-admin's `<Datagrid>` that adds RBAC control to columns
453453

454454
To see a column, the user must have the permission to read the resource column:
455455

docs/Breadcrumb.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This [Enterprise Edition](https://marmelab.com/ra-enterprise)<img class="icon" s
1010
The `<Breadcrumb>` component is designed to be integrated into the app layout. Each page can define its location using a hook, and the breadcrumb reflects that location. Breadcrumb items can be customized to include data from the current context (e.g. the name of the current record).
1111

1212
<video controls autoplay muted loop width="100%">
13-
<source src="https://marmelab.com/ra-enterprise/modules/assets/ra-navigation/latest/breadcumb-nested-resource.webm" type="video/webm"/>
13+
<source src="https://marmelab.com/ra-enterprise/modules/assets/ra-navigation/latest/breadcumb-nested-resource.webm" type="video/webm" />
1414
Your browser does not support the video tag.
1515
</video>
1616

docs/DataProviderLive.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ title: "Real-Time Updates And Locks"
88
Teams where several people work in parallel on a common task need to allow live updates, real-time notifications, and prevent data loss when two editors work on the same resource concurrently.
99

1010
<video controls autoplay muted>
11-
<source src="./img/CollaborativeDemo.mp4" type="video/mp4">
11+
<source src="./img/CollaborativeDemo.mp4" type="video/mp4" />
1212
Your browser does not support the video tag.
1313
</video>
1414

docs/Features.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ We call this type of interface a "CRUD" interface because it allows us to Create
3535
React-admin started as an engine to generate such CRUD interfaces, and it still does it very well. **Building CRUD interfaces with react-admin requires little to no effort**, and it's very easy to customize them.
3636

3737
<video controls autoplay muted loop width="100%">
38-
<source src="./img/CRUD.webm" type="video/webm"/>
38+
<source src="./img/CRUD.webm" type="video/webm" />
3939
Your browser does not support the video tag.
4040
</video>
4141

@@ -221,7 +221,7 @@ const BookList = () => (
221221
```
222222

223223
<video controls autoplay muted loop width="100%">
224-
<source src="./img/reference-input-filter.webm" type="video/webm"/>
224+
<source src="./img/reference-input-filter.webm" type="video/webm" />
225225
Your browser does not support the video tag.
226226
</video>
227227

@@ -250,7 +250,7 @@ Let's be realistic: Many developers focus on features first and don't have much
250250
React-admin provides **components that look pretty good out of the box**, so even if you don't spend time on the UI, it won't look bad (unless you try hard). React-admin uses [MUI](https://mui.com), which is a React implementation of the [Material Design](https://m3.material.io/) guidelines, the most battle-tested design system.
251251

252252
<video controls autoplay muted loop width="100%">
253-
<source src="https://user-images.githubusercontent.com/99944/116970434-4a926480-acb8-11eb-8ce2-0602c680e45e.mp4" type="video/webm"/>
253+
<source src="https://user-images.githubusercontent.com/99944/116970434-4a926480-acb8-11eb-8ce2-0602c680e45e.mp4" type="video/webm" />
254254
Your browser does not support the video tag.
255255
</video>
256256

@@ -323,7 +323,7 @@ In most admin and B2B apps, the most common task is to look for a record. React-
323323
<td style="width:50%;border:none;text-align:center">
324324
<a title="Stacked Filters" href="https://marmelab.com/ra-enterprise/modules/assets/ra-form-layout/latest/stackedfilters-overview.webm">
325325
<video controls autoplay muted loop width="90%" style="margin:1rem;box-shadow:0px 4px 4px 0px rgb(0 0 0 / 24%);">
326-
<source src="https://marmelab.com/ra-enterprise/modules/assets/ra-form-layout/latest/stackedfilters-overview.webm" type="video/mp4">
326+
<source src="https://marmelab.com/ra-enterprise/modules/assets/ra-form-layout/latest/stackedfilters-overview.webm" type="video/mp4" />
327327
Your browser does not support the video tag.
328328
</video>
329329
</a>
@@ -890,7 +890,7 @@ And if you want to create your building blocks, you can use any of the [75+ hook
890890
React-admin provides hooks and UI components for **collaborative applications** where several people work in parallel. It allows publishing and subscribing to real-time events, updating views when another user pushes a change, notifying end users of events, and **preventing data loss** when two editors work on the same resource concurrently.
891891

892892
<video controls autoplay muted width="100%">
893-
<source src="./img/CollaborativeDemo.mp4" type="video/mp4">
893+
<source src="./img/CollaborativeDemo.mp4" type="video/mp4" />
894894
Your browser does not support the video tag.
895895
</video>
896896

@@ -1341,7 +1341,7 @@ We routinely test react-admin with the [WAVE](https://wave.webaim.org/) and [Axe
13411341
The react-admin layouts and components are primarily designed for desktop screens. But they also **work well on mobile devices**. On mobile, buttons with a label become icon buttons, the sidebar menu becomes a drawer, the size of clickable elements is increased, the form toolbar becomes fixed, and many more adjustments.
13421342
13431343
<video controls autoplay muted loop width="100%">
1344-
<source src="./img/responsive.webm" type="video/webm"/>
1344+
<source src="./img/responsive.webm" type="video/webm" />
13451345
Your browser does not support the video tag.
13461346
</video>
13471347
@@ -1413,7 +1413,7 @@ React-admin is written in TypeScript. That doesn't mean you have to use TypeScri
14131413
And if your IDE supports TypeScript, you get autocompletion and inline documentation for all react-admin components and hooks.
14141414
14151415
<video controls autoplay muted loop width="100%">
1416-
<source src="./img/typescript.webm" type="video/webm"/>
1416+
<source src="./img/typescript.webm" type="video/webm" />
14171417
Your browser does not support the video tag.
14181418
</video>
14191419

docs/FilteringTutorial.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ One of the most important features of the List page is the ability to filter the
3434
<td style="width:50%;border:none;text-align:center">
3535
<a title="Stacked Filters" href="https://marmelab.com/ra-enterprise/modules/assets/ra-form-layout/latest/stackedfilters-overview.webm">
3636
<video controls autoplay muted loop width="90%" style="margin:1rem;box-shadow:0px 4px 4px 0px rgb(0 0 0 / 24%);">
37-
<source src="https://marmelab.com/ra-enterprise/modules/assets/ra-form-layout/latest/stackedfilters-overview.webm" type="video/mp4">
37+
<source src="https://marmelab.com/ra-enterprise/modules/assets/ra-form-layout/latest/stackedfilters-overview.webm" type="video/mp4" />
3838
Your browser does not support the video tag.
3939
</video>
4040
</a>
@@ -211,7 +211,7 @@ Finally, a filter sidebar is the ideal place to display the user's favorite filt
211211
## The `<StackedFilters>` Component
212212

213213
<video controls autoplay muted loop width="100%">
214-
<source src="https://marmelab.com/ra-enterprise/modules/assets/ra-form-layout/latest/stackedfilters-overview.webm" type="video/mp4">
214+
<source src="https://marmelab.com/ra-enterprise/modules/assets/ra-form-layout/latest/stackedfilters-overview.webm" type="video/mp4" />
215215
Your browser does not support the video tag.
216216
</video>
217217

docs/JsonSchemaForm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ For instance, to generate the following form:
1111

1212
![JsonSchemaForm](https://marmelab.com/ra-enterprise/modules/assets/jsonschemaform.webp)
1313

14-
Configure the <Edit> view with a <JsonSchemaForm> child as follows:
14+
Configure the `<Edit>` view with a `<JsonSchemaForm>` child as follows:
1515

1616
{% raw %}
1717
```jsx

docs/ListTutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ The [`<Pagination>`](./Pagination.md) component gets the following constants fro
768768
* `actions`: A component that displays the pagination buttons (default: `<PaginationActions>`)
769769
* `limit`: An element that is displayed if there is no data to show (default: `<PaginationLimit>`)
770770

771-
If you want to replace the default pagination by a "<previous - next>" pagination, create a pagination component like the following:
771+
If you want to replace the default pagination by a "&lt; previous - next &gt;" pagination, create a pagination component like the following:
772772

773773
```jsx
774774
import { useListContext } from 'react-admin';

docs/Realtime.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ title: "Realtime"
88
React-admin provides hooks and UI components for collaborative applications where several people work in parallel. It allows publishing and subscribing to real-time events, updating views when another user pushes a change, notifying end users of events, and preventing data loss when two editors work on the same resource concurrently.
99

1010
<video controls autoplay muted width="100%">
11-
<source src="./img/CollaborativeDemo.mp4" type="video/mp4">
11+
<source src="./img/CollaborativeDemo.mp4" type="video/mp4" />
1212
Your browser does not support the video tag.
1313
</video>
1414

0 commit comments

Comments
 (0)