Skip to content

Add offline support to <ReferenceOneFieldBase> and <ReferenceOneField>#10861

Merged
fzaninotto merged 2 commits intonextfrom
offline-support-reference-one-field
Aug 12, 2025
Merged

Add offline support to <ReferenceOneFieldBase> and <ReferenceOneField>#10861
fzaninotto merged 2 commits intonextfrom
offline-support-reference-one-field

Conversation

@djhi
Copy link
Contributor

@djhi djhi commented Jul 28, 2025

Problem

Our components and hooks can't leverage the offline support provided by Tanstack Query.

Solution

  • Make sure our data loading hooks returns the data needed to detect those cases
  • Provide components, hooks and props allowing to handle offline scenarios
  • Provide default offline components in ra-ui-materialui

How To Test

Additional Checks

  • The PR targets master for a bugfix or a documentation fix, or next for a feature
  • The PR includes unit tests (if not possible, describe why)
  • The PR includes one or several stories (if not possible, describe why)
  • The documentation is up to date

Also, please make sure to read the contributing guidelines.

@Madeorsk Madeorsk force-pushed the offline-support-reference-fields branch from e050735 to d416811 Compare August 12, 2025 09:21
@Madeorsk Madeorsk force-pushed the offline-support-reference-one-field branch from 2f737ed to 29c4c07 Compare August 12, 2025 09:22
Base automatically changed from offline-support-reference-fields to next August 12, 2025 10:40
@fzaninotto fzaninotto merged commit e857f1b into next Aug 12, 2025
10 of 11 checks passed
@fzaninotto fzaninotto deleted the offline-support-reference-one-field branch August 12, 2025 11:44
@fzaninotto fzaninotto added this to the 5.11.0 milestone Aug 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

RFR Ready For Review

Development

Successfully merging this pull request may close these issues.

3 participants