Closed (fixed)
Project:
Starshot Demo Design System
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
14 Aug 2024 at 12:53 UTC
Updated:
23 Sep 2024 at 20:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
akhil babuComment #3
akhil babuHere is the output after running the script
Comment #4
akhil babuThe script didnot convert the properties inside the nested options field (Options -> Options). Current output is
I think it should have been like
Comment #5
akhil babuAlso, properties like
selected,options.options.is_selected,options.options.is_disabledare documented as string fields in the twig file. But shouldn't these be boolean fields? (The logic in the twig confirms the same)Just noticed that, infact, there is no
selectedproperty. It should always beis_selected. So, the twig doc should also be correctedComment #6
akhil babuComment #7
kristen polThanks 🙏 can you compare your work against the recent dev changes? There was just a commit of all baseline yaml and readme files. It would be helpful to compare your results against that to see if they align or the files should be updated with some of your suggestions
Comment #8
anand.toshniwal93 commentedI will check script today for above mentioned issue by Akhil.
Comment #9
kristen polThanks!
Comment #10
akhil babuHi @kristen pol, I checked this commit. The 'options [array]' property does not have any 'items' there as well.

Comment #11
kristen polMarking postponed until we have the updated script.
Comment #12
kristen polLooks like the script isn't quite right but we are leaving this postponed because we need to understand more about arrays and nesting in the yaml files before moving forward.
Comment #13
kristen polI don't think we'll update the script in the future at this point (TBD) and we need to wait on XB to support arrays:
#3470024: Arrays in SDDS SDC YAMLs are causing fatal errors in XB
so closing this as fixed for the testing. Thanks!