pldb icon indicating copy to clipboard operation
pldb copied to clipboard

Some enum valued nodes could use definition

Open tif-calin opened this issue 3 years ago • 4 comments

When typing out certain columns we get a nice explanatory comment along with the autocomplete name. This seems to be defined with the description attribute in the grammar files

image

With columns such as type where we have an enum of possible values, it'd be extremely helpful to have descriptions listed out of all the possible answers since there's soooo many

image

What's plzoo?

Another suggestion I'd have specifically for the type column (since it's one of the most important) is to have a frequency count on the righthand sidebar. This would make it easy to parse out which values are "niche" or highly specific and which are more common.

I'm not really sure how jtree works and haven't had much time to dig into the sourcecode for that but I assume this means these enums would have to be spread out into separate nodes? @breck7 would you know the best way of accomplishing this?

tif-calin avatar Nov 29 '22 07:11 tif-calin

@tif-calin : Could i add a related issues link to this issue ??

ghost avatar Nov 29 '22 12:11 ghost

This is a great issue and suggestions @tif-calin ! I like the suggestion about frequency count as well. This can be done upstream in JTree/Grammar so CancerDB.com et cetera can benefit too.

breck7 avatar Nov 29 '22 14:11 breck7

@SRS-WRKS ofc! I can edit the main post too

tif-calin avatar Nov 29 '22 16:11 tif-calin

@tif-calin : Editing would not be required. I just like cross linking related issues. Thank you and have a wonderful day.

Related issue: https://github.com/breck7/pldb/discussions/130

ghost avatar Nov 30 '22 06:11 ghost

https://github.com/breck7/jtree/issues/182

breck7 avatar May 18 '24 12:05 breck7