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

Convert products demo example into typescript #4758

Merged
merged 4 commits into from
May 27, 2020
Merged

Convert products demo example into typescript #4758

merged 4 commits into from
May 27, 2020

Conversation

MohammedFaragallah
Copy link
Contributor

@MohammedFaragallah MohammedFaragallah commented May 3, 2020

this depends on #4516, refs #4505

@@ -75,6 +83,7 @@ const LoadedGridList = ({ ids, data, basePath, width }) => {
>
{ids.map(id => (
<GridListTile
// @ts-ignore
Copy link
Member

Choose a reason for hiding this comment

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

It seems another attempt was done at migrating this file (see #4592). Would you mind collaborating with the author of that PR instead of including GridList in your PR?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sure

@fzaninotto
Copy link
Member

Now that #4516 is merged, can you please rebase your PR to make your changes more apparent?

@MohammedFaragallah
Copy link
Contributor Author

@fzaninotto sorry I forgot to mention you after rebase I think this is ready for review, should I remove GridList from this PR?

@fzaninotto
Copy link
Member

Yes, please remove GridList and share your efforts on #4592 for that component.

@@ -73,6 +73,7 @@ export interface FieldProps<T extends Record = Record> {
record?: T;
source?: string;
basePath?: string;
resource: string;
Copy link
Member

Choose a reason for hiding this comment

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

should be optional as it's injected by react-admin

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed in #4847

@fzaninotto fzaninotto merged commit e1269b8 into marmelab:next May 27, 2020
@fzaninotto
Copy link
Member

Thanks!

@fzaninotto fzaninotto added this to the 3.6.0 milestone May 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants