Shopify theme extension app block needs to go within the header section of the theme, it is an icon that should be displayed along the search, account and cart icons. This is doable using the theme editor under sectionGroup:header, section:header but i can’t seem to do it using deep links.
I am using the Dawn theme as a basis, and in its code files header-group.json template is in the section folder
so targetting using sectionId does not work
Targetting using the sectiongroup creates a new App section which is also not what i am trying to do (adding a block in the Header:header section).
https://${shopDomain}/admin/themes/current/editor?template=index&addAppBlockId=${appBlockId}/search-button&target=sectionGroup:header
Next steps would be to modify assets directly using the Admin API (which is not recommended). Or make an app embed that injects the button in the header.
Question 1: What is the way to do this correctly?
Question 2: Is my assumption of getting this to work on the Dawn theme, mean it will transition easily other 2.0 themes?