Open sstemann opened 1 year ago
This is a very interesting issue and I totally understand the frustration! I think it's one that users will run into as well.
That said, given the wide range of lengths for node names I'm not sure how we could programmatically display the entire name for any entity while using the current design, since we'd need to accommodate a range of character counts from something as short as SNTB1
in the case of a chemical/gene query, all the way up to something as long as (1s,7s)-1-[3-[3,4-dihydroxy-4-[[(e)-8-hydroxy-2,6-dimethyloct-2-enoyl]oxymethyl]oxolan-2-yl]oxy-4,5-dihydroxy-6-(hydroxymethyl)oxan-2-yl]oxy-7-hydroxy-7-methyl-4a,5,6,7a-tetrahydro-1h-cyclopenta[c]pyran-4-carboxylic Acid
in the case of a gene/chemical query.
We could reduce the font size based on the number of characters up to a certain limit which would likely solve the problem in some cases, but it's not an ideal solution. We could also try wrapping long names onto a single line, but that would cause issues with the design and not look great overall in my opinion. Hopefully it's not an incredibly widespread problem, but I can't say either way.
@desiyopp do you have any thoughts on how we could resolve this?
If it were true that most of the differences between similar things were at the beginning and the end of the names, you could ellipse the middle rather than the end? So it would look like
Maturity-Onset ... Young
Maturity-Onset ... Type 1
or something like that?
@cbizon excellent idea, I'll look into how we could possibly implement that!
@dnsmith124 - do you think this might be on the roadmap for September? :)
@sierra-moxon I will tentatively say yes
After looking into what it would take to implement this, I'm pushing it to post-september. The amount of work is not worth the benefit right now, considering the amount of time left until the relay.
Will circle back after.
@dnsmith124 would this be considered for Lobster1 - front end?
@sstemann we are not planning to implement this for the current cycle, I think it warrants further discussion and research given the wide-reaching implications.
is this being considered for Eel? @dnsmith124
@sstemann we currently don't have this listed among our priorities for Eel, but I'm going to create a task in Clickup and share it with Reese to get her thoughts on how we could best resolve it. A resolution here is overdue, I think.
i thought these two paths were exact dupes:
But if you hover one is 'maturity-onset diabetes of the young'
and the other is 'maturity-onset diabetes of the young 1'
maybe users wont care but i struggle bc before i realized the end nodes were different, i was toggle back and forth on the evidence to see how they were different.