generated from coulomb/repo-seed
fix(WP-0017/E5): Layer 3 error fixes — round 3 (24 files)
Int16→Int in score/stars functions; uuid-based readMay→UUID.fromText; autoRefresh do-notation fix; id→\x->x ambiguity in HubRoutingRules; MarketplaceDashboard replaced raw SQL with IHP query builder; optional hub selector in TypeRegistry views via CanSelect (Text, Maybe Id) instance added to Web.View.Prelude; import consolidations to Web.View.Prelude. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -25,7 +25,7 @@ instance View TutorialView where
|
||||
</p>
|
||||
<div class="bg-gray-900 rounded-lg p-4 text-sm font-mono text-green-400">
|
||||
<div class="text-gray-400 mb-1">-- Every rendered widget wraps its HSX in widgetEnvelope</div>
|
||||
{"widgetEnvelope widgetId viewContext [hsx|...|]" :: Text}
|
||||
{widgetExample}
|
||||
</div>
|
||||
<p class="text-sm text-gray-500 mt-2">
|
||||
The envelope injects <code>data-widget-id</code> and <code>data-view-context</code> attributes,
|
||||
@@ -112,6 +112,8 @@ instance View TutorialView where
|
||||
</div>
|
||||
|]
|
||||
where
|
||||
widgetExample :: Text
|
||||
widgetExample = "widgetEnvelope widgetId viewContext [hsx|...|]"
|
||||
stepBadge n = [hsx|
|
||||
<span class="inline-flex items-center justify-center w-7 h-7 rounded-full bg-indigo-600 text-white text-sm font-bold mr-2">
|
||||
{n :: Text}
|
||||
|
||||
Reference in New Issue
Block a user