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

Add <CheckForApplicationUpdate> to suggest a reload when the application code has changed #9059

Merged
merged 21 commits into from
Aug 10, 2023

Conversation

djhi
Copy link
Collaborator

@djhi djhi commented Jun 28, 2023

  • Implementation
  • Documentation

image

docs/CheckForApplicationUpdate.md Outdated Show resolved Hide resolved
docs/useCheckForApplicationUpdate.md Outdated Show resolved Hide resolved
packages/ra-core/src/util/useCheckForApplicationUpdate.ts Outdated Show resolved Hide resolved
docs/CheckForApplicationUpdate.md Outdated Show resolved Hide resolved
docs/CheckForApplicationUpdate.md Outdated Show resolved Hide resolved
docs/CheckForApplicationUpdate.md Outdated Show resolved Hide resolved
docs/useCheckForApplicationUpdate.md Outdated Show resolved Hide resolved
docs/useCheckForApplicationUpdate.md Outdated Show resolved Hide resolved
packages/ra-core/src/util/useCheckForApplicationUpdate.ts Outdated Show resolved Hide resolved
docs/CheckForApplicationUpdate.md Show resolved Hide resolved
docs/CheckForApplicationUpdate.md Outdated Show resolved Hide resolved

## Usage

Include this component in a custom layout:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should do it by default in create-react-admin.

docs/CheckForApplicationUpdate.md Outdated Show resolved Hide resolved
docs/CheckForApplicationUpdate.md Show resolved Hide resolved
packages/ra-core/src/util/useCheckForApplicationUpdate.ts Outdated Show resolved Hide resolved
packages/ra-core/src/util/useCheckForApplicationUpdate.ts Outdated Show resolved Hide resolved
docs/img/CheckForApplicationUpdate.png Outdated Show resolved Hide resolved
@fzaninotto fzaninotto merged commit 782386d into next Aug 10, 2023
8 checks passed
@fzaninotto fzaninotto deleted the code-has-changed branch August 10, 2023 14:17
@fzaninotto fzaninotto added this to the 4.13.0 milestone Aug 10, 2023
@fzaninotto fzaninotto changed the title Introduce CheckForApplicationUpdate Add <CheckForApplicationUpdate> to suggest a reload when the application code has changed Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFR Ready For Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants