Closed levaphenyl closed 2 years ago
Nice find, @levaphenyl. @rushk014 would you be able to fix this? When using the attached CSV, the label selector tool fails to load. testset.csv
The problem is located in Labeler.vue
. When there is only one series, the seriesSelector
element is hidden: https://github.com/Geocene/trainset/blob/master/src/views/Labeler.vue#L404
This is fully correct. However, the problem is that the labelSelector
is nested inside the seriesSelector
here: https://github.com/Geocene/trainset/blob/master/src/views/Labeler.vue#L57
Consequently, when hiding the series selector, the labels selectors also gets hidden. Hence the bug!
I tried to fix this locally with the intent of opening a PR but un-nesting labelSelector
messes up the CSS layout. I am not competent here :sweat_smile:.
I've created a PR to fix this, see above
@abroekhof - we have penciled in a day this week to close out a lot of these PRs. Hopefully it's integrated and deployed by the end of the week.
When uploading a CSV file with a unique value in the column
series
, the label selector does not show. Quite embarrassing! ;)How to reproduce
Label selector does not show (bug):
It shows up when adding the workaround last line: