Rename all 1,169 components to path-based names with namespace support
Component names now reflect filesystem location using / as path separator and : as namespace separator for shared components: ~sx-header → ~layouts/header ~layout-app-body → ~shared:layout/app-body ~blog-admin-dashboard → ~admin/dashboard 209 files, 4,941 replacements across all services. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -33,7 +33,7 @@ def _clean_env():
|
||||
|
||||
class TestRender:
|
||||
def test_basic_render(self):
|
||||
register_components('(defcomp ~badge (&key label) (span :class "badge" label))')
|
||||
register_components('(defcomp ~shared:misc/badge (&key label) (span :class "badge" label))')
|
||||
html = render("badge", label="New")
|
||||
assert html == '<span class="badge">New</span>'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user