Open epicallan opened 7 years ago
Hi @dw8547 this is the link https://github.com/devinit/digital-platform/blob/master/reference/domestic-budget-level.csv thanks
Hi @epicallan, here is the info I have got so far:
What is domestic-budget-level.csv
for?
domestic-budget-level.csv
is a reference file for domestic.csv
.
Originally, there were special characters in the level names in domestic-budget-level.csv
that couldn't be used as HTML element id
s (needed to run the visual). So this file was a mapping between the sluggified (special characters and spaces replaced with dashes) names and the original names.
What is the workflow here?
"Go to domestic.csv
, draw the boxes using the level id
s in domestic.csv
, look-up an "un-sluggified" version of id
in domestic-budget-level.csv
to draw human-readable name on top of box."
And what do I do if the colour is missing from domestic-budget-level?
"The visual has some sort of default colour???"
Hi @dw8547
Thanks for looking into this. What I want is for us to use colours from domestic-budget-level.csv
instead of hard coded defaults ones within the app. I would prefer if we went a head and added the correct colour values in domestic-budget-level.csv
at some point in the future.
@epicallan, not a problem. Let me know when you are ready to do this.
@epicallan, which reference file? (I.e., do you have a link to the file in the
digital-platform
repo? Might be able to help.