You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To date we've had a flat document with multiple "root" nodes. We should instead enforce a document structure with a single root node, a Head node and a Body node. The Head should allow for Section node that is intended for various states that can override client states. For example, in the SwiftUI client we have disconnected, reconnecting, and error state views. These views are defined on the client. These have allowed for a native client-side views to be used when server is unavailable (disconnected), in-flight (reconnecting), or when an error happens (error). However, you may want to redefine override these from the server. The server's dead render Head node could include overrides for each:
NML -> Native Markup Language. I do think maybe this would justify a rename of the sigil_LVN to sigil_NML:
@carson-katri I considered that but with my desire to eventually de-couple the client from LiveView at some point I figured it would be best to do this now. Besides, the root element in HTML is <html>. I've been considering calling our markup language "Native Markup Language"
To date we've had a flat document with multiple "root" nodes. We should instead enforce a document structure with a single root node, a
Head
node and aBody
node. TheHead
should allow forSection
node that is intended for various states that can override client states. For example, in the SwiftUI client we havedisconnected
,reconnecting
, anderror
state views. These views are defined on the client. These have allowed for a native client-side views to be used when server is unavailable (disconnected), in-flight (reconnecting), or when an error happens (error). However, you may want to redefine override these from the server. The server's dead renderHead
node could include overrides for each:NML
->Native Markup Language
. I do think maybe this would justify a rename of thesigil_LVN
tosigil_NML
:we can include helpers to delegate each section to it's own external template file:
I would prefer to use
{@error_content}
but off the top of my head I'm not sure if that is possible so I'll investigate.The text was updated successfully, but these errors were encountered: