HL7 / ig-template-base

Base IG template managed by HL7 but usable by anyone (no logos). The foundation for most HL7-published IGs
14 stars 27 forks source link

Add ability for IG author to default the tab for StructureDefinitions #236

Open lmckenzi opened 11 months ago

lmckenzi commented 11 months ago

When looking at extensions, profiles, and logical models, sometimes it makes sense for the user to look at the 'differential' view as the default view, and sometimes the 'key elements'. The templates use a cookie to remember what you were looking at previously and continue to look at the same views within the same root website (hl7.org or build.fhir.org). However, if no cookie is set, all users currently default to 'differential'.

We will add an IG parameter that allows the ig author to change what the "no cookie default tab" is - differential, keyelements, snapshot, etc.. NOTE: We won't check the value of this in terms of what the templates are doing. This means you can add more tabs to your layout and default to them. However, it also means that if you mess up the spelling of your tab name in the parameter, you will just default to the first tab.