refine icon indicating copy to clipboard operation
refine copied to clipboard

feat: `autoSave` for edit pages

Open yildirayunlu opened this issue 2 years ago â€ĸ 8 comments

const { autoSaveProps } = useForm<IPost>({
  warnWhenUnsavedChanges: true,
  autoSave: true,
});
//...
return (
  <Edit
      saveButtonProps={saveButtonProps}
      headerButtons={<AutoSaveIndicator {...autoSaveProps} />}
  >
//..

Kapture 2023-06-23 at 16 26 00

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

yildirayunlu avatar Jun 23 '23 13:06 yildirayunlu

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...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Jun 23 '23 13:06 netlify[bot]

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...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Jun 23 '23 13:06 netlify[bot]

đŸĻ‹ 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

changeset-bot[bot] avatar Jun 23 '23 13:06 changeset-bot[bot]

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...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Jun 23 '23 13:06 netlify[bot]

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...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Jun 23 '23 13:06 netlify[bot]

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...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Jun 23 '23 13:06 netlify[bot]

â˜ī¸ 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.

nx-cloud[bot] avatar Jun 23 '23 13:06 nx-cloud[bot]

Passing run #9594 â†—ī¸Ž

0 389 31 0 Flakiness 0

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.

cypress[bot] avatar Jun 23 '23 16:06 cypress[bot]