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:
@@ -13,14 +13,14 @@
|
||||
:page (or (request-arg "page" "1") "1"))
|
||||
:layout (:orders
|
||||
:list-url (str (route-prefix) (url-for "defpage_orders_list")))
|
||||
:filter (~order-list-header
|
||||
:search-mobile (~search-mobile
|
||||
:filter (~shared:orders/list-header
|
||||
:search-mobile (~shared:controls/search-mobile
|
||||
:current-local-href "/"
|
||||
:search (or search "")
|
||||
:search-count (or search-count "")
|
||||
:hx-select "#main-panel"
|
||||
:search-headers-mobile "{\"X-Origin\":\"search-mobile\",\"X-Search\":\"true\"}"))
|
||||
:aside (~search-desktop
|
||||
:aside (~shared:controls/search-desktop
|
||||
:current-local-href "/"
|
||||
:search (or search "")
|
||||
:search-count (or search-count "")
|
||||
@@ -30,7 +30,7 @@
|
||||
(detail-url-raw (str pfx (url-for "defpage_order_detail" :order-id 0)))
|
||||
(detail-prefix (slice detail-url-raw 0 (- (len detail-url-raw) 2)))
|
||||
(rows-url (str pfx (url-for "orders.orders_rows"))))
|
||||
(~orders-list-content
|
||||
(~shared:orders/list-content
|
||||
:orders orders
|
||||
:page page
|
||||
:total-pages total-pages
|
||||
@@ -49,12 +49,12 @@
|
||||
:list-url (str (route-prefix) (url-for "defpage_orders_list"))
|
||||
:detail-url (str (route-prefix) (url-for "defpage_order_detail" :order-id order-id)))
|
||||
:filter (let* ((pfx (route-prefix)))
|
||||
(~order-detail-filter-content
|
||||
(~shared:orders/detail-filter-content
|
||||
:order order
|
||||
:list-url (str pfx (url-for "defpage_orders_list"))
|
||||
:recheck-url (str pfx (url-for "orders.order.order_recheck" :order-id order-id))
|
||||
:pay-url (str pfx (url-for "orders.order.order_pay" :order-id order-id))
|
||||
:csrf (csrf-token)))
|
||||
:content (~order-detail-content
|
||||
:content (~shared:orders/detail-content
|
||||
:order order
|
||||
:calendar-entries calendar-entries))
|
||||
|
||||
Reference in New Issue
Block a user