feat: `autoSave` for edit pages
const { autoSaveProps } = useForm<IPost>({
warnWhenUnsavedChanges: true,
autoSave: true,
});
//...
return (
<Edit
saveButtonProps={saveButtonProps}
headerButtons={<AutoSaveIndicator {...autoSaveProps} />}
>
//..
Test plan (required)
TODO:
Self Check before Merge
Please check all items below before review.
- [x] Corresponding issues are created/updated or not needed
- [ ] Docs are updated/provided or not needed
- [x] Examples are updated/provided or not needed
- [x] TypeScript definitions are updated/provided or not needed
- [ ] Tests are updated/provided or not needed
- [ ] Changesets are provided or not needed
Deploy Preview for lighthearted-pastelito-e86ad1 ready!
| Name | Link |
|---|---|
| Latest commit | 2afa0349cf8534c55fa764a284e6da08dc9f833d |
| Latest deploy log | https://app.netlify.com/sites/lighthearted-pastelito-e86ad1/deploys/64ad435f40e1d30008280fce |
| Deploy Preview | https://deploy-preview-4591--lighthearted-pastelito-e86ad1.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Deploy Preview for imaginative-sundae-1fd394 ready!
| Name | Link |
|---|---|
| Latest commit | 2afa0349cf8534c55fa764a284e6da08dc9f833d |
| Latest deploy log | https://app.netlify.com/sites/imaginative-sundae-1fd394/deploys/64ad435fe1af5800080bd3be |
| Deploy Preview | https://deploy-preview-4591--imaginative-sundae-1fd394.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
đĻ Changeset detected
Latest commit: 2afa0349cf8534c55fa764a284e6da08dc9f833d
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Deploy Preview for refine-doc-live-previews ready!
| Name | Link |
|---|---|
| Latest commit | 2afa0349cf8534c55fa764a284e6da08dc9f833d |
| Latest deploy log | https://app.netlify.com/sites/refine-doc-live-previews/deploys/64ad435fc8204a0008e329d4 |
| Deploy Preview | https://deploy-preview-4591--refine-doc-live-previews.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Deploy Preview for stupendous-taffy-33f80c ready!
| Name | Link |
|---|---|
| Latest commit | 2afa0349cf8534c55fa764a284e6da08dc9f833d |
| Latest deploy log | https://app.netlify.com/sites/stupendous-taffy-33f80c/deploys/64ad435f61e9f00008bf1d01 |
| Deploy Preview | https://deploy-preview-4591--stupendous-taffy-33f80c.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Deploy Preview for aquamarine-panda-e208bf ready!
| Name | Link |
|---|---|
| Latest commit | 2afa0349cf8534c55fa764a284e6da08dc9f833d |
| Latest deploy log | https://app.netlify.com/sites/aquamarine-panda-e208bf/deploys/64ad435f150bb50008a9ee03 |
| Deploy Preview | https://deploy-preview-4591--aquamarine-panda-e208bf.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
âī¸ Nx Cloud Report
CI is running/has finished running commands for commit 2afa0349cf8534c55fa764a284e6da08dc9f833d. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.
đ See all runs for this branch
â Successfully ran 2 targets
Sent with đ from NxCloud.
Passing run #9594 âī¸
Details:
| Merge 2afa0349cf8534c55fa764a284e6da08dc9f833d into 38e3a1d7799850559449f7e2c3c8... | |||
| Project: refine | Commit: 30bea743cc âšī¸ |
||
| Status: Passed | Duration: 31:13 đĄ | ||
| Started: Jul 11, 2023 11:59 AM | Ended: Jul 11, 2023 12:30 PM | ||
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.