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

[Next] Backport changes from master #9923

Merged
merged 41 commits into from
Jun 17, 2024
Merged

[Next] Backport changes from master #9923

merged 41 commits into from
Jun 17, 2024

Conversation

slax57
Copy link
Contributor

@slax57 slax57 commented Jun 17, 2024

No description provided.

erwanMarmelab and others added 30 commits May 21, 2024 13:22
[Doc] Update ra-tree documentation
docs: changed ressource to resource
Added Genezio as a data provider
When filters with a complex object as defaultValue
the "empty value" was not considered empty by the UI.
This commit ensure we don't display empty filters on the
UI.

Refs: #9893
…-link

[Doc] Add link to Codesandbox of the simple demo
Fix `<SelectInput resettable>` does not reset the value
Comment on lines +17 to +25
export interface IMessages
extends Record<string, string | ((options?: any) => string) | IMessages> {}

export const testI18nProvider = ({
translate,
messages,
}: {
translate?: I18nProvider['translate'];
messages?: Record<string, string | ((options?: any) => string)>;
messages?: IMessages;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Had to make this change because otherwise TypeScript (rightfully) complains when messages contains nested keys.

Example:

messages: {
  resources: {
    posts: {
      title: 'Post'
    }
  }
}

@slax57 slax57 added RFR Ready For Review and removed WIP Work In Progress labels Jun 17, 2024
@fzaninotto fzaninotto merged commit c445440 into next Jun 17, 2024
14 checks passed
@fzaninotto fzaninotto deleted the backport-from-master-05 branch June 17, 2024 11:41
@fzaninotto fzaninotto added this to the 5.0.0 milestone Jun 17, 2024
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.

9 participants