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

[Doc] Improve tutorial screencast #9298

Merged
merged 1 commit into from
Sep 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 2 additions & 0 deletions docs/ReferenceOneInput.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ Name of the field carrying the relationship on the referenced resource. For inst

In this example, the `<TextInput>` component is wrapped inside a `<MyCustomInput>` component. That adds an icon and additional styling.

{% raw %}
```tsx
import AccountCircle from '@mui/icons-material/AccountCircle';
import AutoStoriesIcon from '@mui/icons-material/AutoStories';
Expand Down Expand Up @@ -279,6 +280,7 @@ export const CustomInputs = () => (
</ReferenceOneInput>
);
```
{% endraw %}

![ReferenceOneInput with custom inputs](https://marmelab.com/ra-enterprise/modules/assets/ra-relationships/latest/reference-one-input-custom-inputs.png)

Expand Down
4 changes: 1 addition & 3 deletions docs/Tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ This 30 minutes tutorial will expose how to create a new admin app based on an e

Here is an overview of the result:

<video controls autoplay playsinline muted loop>
<source src="./img/tutorial_overview.webm" type="video/webm"/>
<video controls autoplay playsinline muted loop poster="./img/tutorial_overview.png">
<source src="./img/tutorial_overview.mp4" type="video/mp4"/>
Your browser does not support the video tag.
</video>
Expand Down Expand Up @@ -874,7 +873,6 @@ The first filter, 'q', takes advantage of a full-text functionality offered by J
Your browser does not support the video tag.
</video>


Filters are "search-as-you-type", meaning that when the user enters new values in the filter form, the list refreshes (via an API request) immediately.

**Tip**: Note that the `label` property can be used on any input to customize its label.
Expand Down
Binary file removed docs/img/tutorial_overview.gif
Binary file not shown.
Binary file modified docs/img/tutorial_overview.mp4
Binary file not shown.
Binary file added docs/img/tutorial_overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/img/tutorial_overview.webm
Binary file not shown.