Open shehjadkhan-ansys opened 1 year ago
@shehjadkhan-ansys If these variables are changing per environment / section / page - then applying some techniques documented here - https://www.hlx.live/developer/spreadsheets would help manage them as regular content.
For instance - same variable could exist in multiple sheets , and which sheet to be fetched can be determined in the corresponding javaScript file and use ?sheet query param. Since the .json of the sheet will be delivered from CDN , the fetch operation should not be a performance hit.
Currently we have lot static labels and handled in zemax-config.js, consider moving to file and pull details using fetch
Discuss technical approach to make it more manageable