keystonejs/keystone-classic
Voir sur GitHubMultiple relationship display confusing
Open
#2 319 ouverte le 23 févr. 2016
UXhelp wanted
Métriques du dépôt
- Stars
- (14 656 stars)
- Métriques de merge PR
- (Aucune PR mergée en 30 j)
Description
If I have a list that defines multiple relationships as follows:
MyList.relationship({ ref: 'RefList', path: 'listPath1', refPath: 'refPath1' });
MyList.relationship({ ref: 'RefList', path: 'listPath2', refPath: 'refPath2' });
MyList.relationship({ ref: 'RefList', path: 'listPath3', refPath: 'refPath3' });
then the Admin UI shows it like this:
Relationships
Ref List
No related Ref List
Ref List
No related Ref List
Ref List
Name Foo Bar
refPath1 foo1 bar1
No where is the path defined in the relationship definition used to distinguish the relationship listing, instead the referenced relationship name (ref) is used, which makes looking at the display confusing since it's hard to tell which is which.