React-admin: how can display author 's name in comments listview ?

Created on 30 Sep 2016  路  6Comments  路  Source: marmelab/react-admin

how can display author 's name in comments listview ?

"comments": [
{
"id": 1,
"author": {
"name": "Luciano Berge"
},
"post_id": 5,
"body": "While the Panther were sharing a pie--' [later editions continued as follows.",
"created_at": new Date("2012-09-06")
},
{
"id": 2,
"author": {
"name": "Annamarie Mayer"
},
"post_id": 5,
"body": "I tell you, you coward!' and at once and put it more clearly,' Alice.",
"created_at": new Date("2012-10-03")
}
]

Most helpful comment

Nope. This is a voluntary project, and we have day jobs.

All 6 comments

It's fairly easy to create a custom Field component that handles this on your side. But since it's such a common requirement, I'll add a way to do it easily.

Hey thanks for adding this in. I've looked through the PR, but I can see there are still a few items in your todo. Any guestimate on an ETA?

Nope. This is a voluntary project, and we have day jobs.

Fair play. I just wanted to know because I can do it the way you originally suggested with a custom component, but I saw you started work on it so if it was something that was coming really soon I could wait :) Thanks for the tool so far. It's really cool and actually a pretty nice example of how to do redux with side effects as well as how to structure a complex 'real world app'. It's hard to find much besides 'todo' apps which reminds me a little of this

Love the image. Yes, you're right, it's hard to find larger examples. We've struggled ourselves to understand (and sometimes design) best practices in the Redux world.

Fixed by #62

Was this page helpful?
0 / 5 - 0 ratings

Related issues

keulu-ing picture keulu-ing  路  22Comments

MhdSyrwan picture MhdSyrwan  路  24Comments

ragboyjr picture ragboyjr  路  29Comments

christiaanwesterbeek picture christiaanwesterbeek  路  19Comments

Weakky picture Weakky  路  20Comments