sourcecred/sourcecred

Weight Config UI: look into replacing a/b with node type descriptors

Open

#3120 aperta il 13 ago 2021

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)JavaScript (165 fork)batch import
good first issue

Metriche repository

Star
 (488 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

The "a authors b" and "a is authored b" on the weight configuration page does a poor job of communicating the critical info needed to reason about the edge configs: which two node types are being connected and in which direction. I think it would be a much better UI if it was more like "author -> message" and "message -> author"

A very simple implementation would repurpose the forwardName and backwardName properties in EdgeType to represent the forward and backward node types (nouns instead of verbs). This would require updating all plugin declarations and refactoring the EdgeTypeConfig react component to output the new UX format.

Guida contributor