fix(core,engine,ecommerce,admin_basic): 렌더 경로 판정·파서 단일화로 표현식 비대칭 일괄 해소
표현식 해석 로직이 엔진 전역에 복제되면서 복사본마다 기능 집합과 판정 기준이 갈라졌고, 같은 작성이 어느 렌더 경로를 타느냐에 따라 다른 결과를 냈다. 증상 대부분이 예외가 아니라 조용한 오답 또는 값 소실이라 재현 위치를 특정하기 어려웠다. 판정만 BindingShape 단일 출처로 모으고 실행은 지점별로 유지했다. 전면 통합은 회귀 위험이 크고, 갈라진 것은 실행이 아니라 판정이었기 때문이다. - 파이프 평가를 문자열 보간에 위임하면서 생긴 비대칭 3건 해소 (중괄호 노출 / _computed stale 전파 / 원본 타입 소실) - 파이프 분기 누락 8지점 보강 — 평가 지점 모집단을 스캔해 가드를 강제하는 회귀선 신설 - 단일 바인딩·복잡식 판정 14곳을 정본으로 치환, 빈 바인딩 봉인 - BINDING_PATTERN 정규식을 수동 스캐너로 교체, resolveObject 를 key 단위 예외 격리로 전환 - iteration + 항목 참조 if 가 목록 전체를 지우던 결함 해소, 반복 경로 기능 격차 정렬 - 템플릿 컴포넌트의 new Function 자체 평가기 제거 → G7Core.evaluateCondition 위임 - 컨텍스트에 식별자가 아닌 키가 하나라도 있으면 그 컨텍스트의 모든 식이 평가되지 못하던 결함 수정 - SEO 봇 렌더러도 같은 규칙으로 정렬 — React 만 고치면 봇 화면에서만 목록이 빈다 - audit walker 가 레이아웃의 74%(partial 루트 444/598)로 내려가지 못하던 사각 해소, 신규 룰 5종 등재
This commit is contained in:
1 parent
ca4fd02e99
commit
953616552f
58 files changed
+5665
-651
No files matched your search
@@ -34,6 +34,11 @@
|
||||
|
||||
### Fixed
|
||||
|
||||
- 모바일·태블릿 화면에서 쿠폰 목록의 카드 보기가 내용 없이 나오던 문제를 수정했습니다. 목록의 각 쿠폰 정보가 카드에 전달되지 않아, 쿠폰이 있어도 빈 카드만 표시됐습니다.
|
||||
- 주문 검색 프리셋 관리 창에서 "프리셋 추가" 버튼을 눌러도 저장 창이 열리지 않던 문제를 수정했습니다.
|
||||
- 상품 리뷰 목록의 작성자 이름과 쿠폰 목록의 쿠폰 이름을 키보드로 선택해 이동할 수 있게 했습니다. 이전에는 마우스 클릭으로만 이동할 수 있었습니다.
|
||||
- 주문 검색 프리셋 관리 창의 수정·삭제 아이콘이 의도한 크기보다 작게 보이던 문제를 수정했습니다.
|
||||
- 할인코드 목록에서 선택 개수·전체 건수·페이지당 표시 개수 문구에 숫자가 채워지지 않고 자리표시자가 그대로 보이던 문제를 수정했습니다.
|
||||
- 미입금 자동취소 기한을 비운 채 저장하면 "저장되었습니다"라고 안내되면서도 값은 사라지던 문제를 수정했습니다. 숫자 항목에 숫자가 아닌 값을 입력하면 입력칸이 비워지는데, 그대로 저장하면 설정이 없는 상태로 남아 화면에 보이는 값과 실제 동작이 어긋났습니다. 이제 비워 둔 채로는 저장되지 않고 값을 입력하라고 안내합니다.
|
||||
- 미입금 자동취소 기한 입력 안내가 실제 입력 하한과 다른 "0일 이상"으로 표시되던 문구를 "1일 이상"으로 바로잡았습니다.
|
||||
- 쿠폰 수정 화면에서 유효기간을 "발급일로부터"로 두고 일수를 비운 채 저장할 수 있던 문제를 수정했습니다. 그렇게 저장된 쿠폰은 발급되는 즉시 만료 상태가 되어, 받은 회원이 사용할 수 없으면서도 아무 오류가 나지 않았습니다. 이제 저장 단계에서 일수를 입력하도록 안내하고, 이미 그렇게 저장돼 있던 쿠폰은 발급 시 유효기간이 설정되지 않았다고 알려 줍니다.
|
||||
|
||||
+2
-1
@@ -1434,7 +1434,7 @@
|
||||
"name": "Button",
|
||||
"props": {
|
||||
"type": "button",
|
||||
"className": "px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 font-medium transition-colors disabled:opacity-50 disabled:cursor-not-allowed",
|
||||
"className": "px-4 py-2 bg-blue-600 dark:bg-blue-500 text-white rounded-lg hover:bg-blue-700 dark:hover:bg-blue-600 font-medium transition-colors disabled:opacity-50 disabled:cursor-not-allowed",
|
||||
"disabled": "{{!_local.batchAction || (_local.selectedReviews ?? []).length === 0}}"
|
||||
},
|
||||
"text": "$t:sirsoft-ecommerce.admin.product_review.batch.apply",
|
||||
@@ -1718,6 +1718,7 @@
|
||||
"name": "A",
|
||||
"if": "{{!!row.user_id}}",
|
||||
"props": {
|
||||
"href": "#",
|
||||
"className": "text-blue-600 dark:text-blue-400 hover:underline cursor-pointer font-medium"
|
||||
},
|
||||
"text": "{{row.user?.name ?? ''}}",
|
||||
|
||||
+24
-24
@@ -67,7 +67,7 @@
|
||||
"name": "Icon",
|
||||
"props": {
|
||||
"name": "percent",
|
||||
"className": "w-6 h-6 text-gray-700 dark:text-gray-300"
|
||||
"className": "text-2xl text-gray-700 dark:text-gray-300"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -107,7 +107,7 @@
|
||||
"name": "Icon",
|
||||
"props": {
|
||||
"name": "plus",
|
||||
"className": "w-4 h-4"
|
||||
"className": "text-base"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -214,7 +214,7 @@
|
||||
"name": "Icon",
|
||||
"props": {
|
||||
"name": "search",
|
||||
"className": "w-4 h-4 absolute right-3 top-1/2 -translate-y-1/2 icon-muted pointer-events-none"
|
||||
"className": "text-base absolute right-3 top-1/2 -translate-y-1/2 icon-muted pointer-events-none"
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -239,7 +239,7 @@
|
||||
"name": "Icon",
|
||||
"props": {
|
||||
"name": "settings-2",
|
||||
"className": "w-4 h-4"
|
||||
"className": "text-base"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -270,7 +270,7 @@
|
||||
"name": "Icon",
|
||||
"props": {
|
||||
"name": "filter",
|
||||
"className": "w-4 h-4"
|
||||
"className": "text-base"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -776,7 +776,7 @@
|
||||
"name": "Icon",
|
||||
"props": {
|
||||
"name": "calendar",
|
||||
"className": "w-4 h-4 absolute left-3 top-1/2 -translate-y-1/2 icon-muted pointer-events-none"
|
||||
"className": "text-base absolute left-3 top-1/2 -translate-y-1/2 icon-muted pointer-events-none"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -821,7 +821,7 @@
|
||||
"name": "Icon",
|
||||
"props": {
|
||||
"name": "calendar",
|
||||
"className": "w-4 h-4 absolute left-3 top-1/2 -translate-y-1/2 icon-muted pointer-events-none"
|
||||
"className": "text-base absolute left-3 top-1/2 -translate-y-1/2 icon-muted pointer-events-none"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -938,7 +938,7 @@
|
||||
"name": "Icon",
|
||||
"props": {
|
||||
"name": "search",
|
||||
"className": "w-4 h-4"
|
||||
"className": "text-base"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -961,7 +961,7 @@
|
||||
"name": "Icon",
|
||||
"props": {
|
||||
"name": "refresh-cw",
|
||||
"className": "w-4 h-4"
|
||||
"className": "text-base"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -1010,7 +1010,7 @@
|
||||
"props": {
|
||||
"className": "text-sm text-secondary"
|
||||
},
|
||||
"text": "0$t:sirsoft-ecommerce.admin.promotion_discount_code.batch.selected_count"
|
||||
"text": "$t:sirsoft-ecommerce.admin.promotion_discount_code.batch.selected_count|count=0"
|
||||
},
|
||||
{
|
||||
"type": "composite",
|
||||
@@ -1088,7 +1088,7 @@
|
||||
"props": {
|
||||
"className": "text-sm text-secondary"
|
||||
},
|
||||
"text": "$t:sirsoft-ecommerce.admin.promotion_discount_code.table.total_count"
|
||||
"text": "$t:sirsoft-ecommerce.admin.promotion_discount_code.table.total_count|count=2"
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
@@ -1144,15 +1144,15 @@
|
||||
"options": [
|
||||
{
|
||||
"value": "10",
|
||||
"label": "10$t:sirsoft-ecommerce.admin.promotion_discount_code.table.per_page"
|
||||
"label": "$t:sirsoft-ecommerce.admin.promotion_discount_code.table.per_page|count=10"
|
||||
},
|
||||
{
|
||||
"value": "20",
|
||||
"label": "20$t:sirsoft-ecommerce.admin.promotion_discount_code.table.per_page"
|
||||
"label": "$t:sirsoft-ecommerce.admin.promotion_discount_code.table.per_page|count=20"
|
||||
},
|
||||
{
|
||||
"value": "50",
|
||||
"label": "50$t:sirsoft-ecommerce.admin.promotion_discount_code.table.per_page"
|
||||
"label": "$t:sirsoft-ecommerce.admin.promotion_discount_code.table.per_page|count=50"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -1238,7 +1238,7 @@
|
||||
"name": "Icon",
|
||||
"props": {
|
||||
"name": "more-horizontal",
|
||||
"className": "w-4 h-4"
|
||||
"className": "text-base"
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -1386,7 +1386,7 @@
|
||||
"name": "Icon",
|
||||
"props": {
|
||||
"name": "eye",
|
||||
"className": "w-3 h-3"
|
||||
"className": "text-xs"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -1481,7 +1481,7 @@
|
||||
"name": "Icon",
|
||||
"props": {
|
||||
"name": "more-horizontal",
|
||||
"className": "w-4 h-4"
|
||||
"className": "text-base"
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -1629,7 +1629,7 @@
|
||||
"name": "Icon",
|
||||
"props": {
|
||||
"name": "eye",
|
||||
"className": "w-3 h-3"
|
||||
"className": "text-xs"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -2016,7 +2016,7 @@
|
||||
"name": "Icon",
|
||||
"props": {
|
||||
"name": "more-horizontal",
|
||||
"className": "w-4 h-4"
|
||||
"className": "text-base"
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -2209,7 +2209,7 @@
|
||||
"name": "Icon",
|
||||
"props": {
|
||||
"name": "more-horizontal",
|
||||
"className": "w-4 h-4"
|
||||
"className": "text-base"
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -2253,7 +2253,7 @@
|
||||
"name": "Icon",
|
||||
"props": {
|
||||
"name": "chevrons-left",
|
||||
"className": "w-4 h-4"
|
||||
"className": "text-base"
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -2272,7 +2272,7 @@
|
||||
"name": "Icon",
|
||||
"props": {
|
||||
"name": "chevron-left",
|
||||
"className": "w-4 h-4"
|
||||
"className": "text-base"
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -2317,7 +2317,7 @@
|
||||
"name": "Icon",
|
||||
"props": {
|
||||
"name": "chevron-right",
|
||||
"className": "w-4 h-4"
|
||||
"className": "text-base"
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -2335,7 +2335,7 @@
|
||||
"name": "Icon",
|
||||
"props": {
|
||||
"name": "chevrons-right",
|
||||
"className": "w-4 h-4"
|
||||
"className": "text-base"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
+5
-7
@@ -58,7 +58,7 @@
|
||||
"name": "Icon",
|
||||
"props": {
|
||||
"name": "edit",
|
||||
"className": "w-4 h-4"
|
||||
"className": "text-base"
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -76,7 +76,7 @@
|
||||
"name": "Icon",
|
||||
"props": {
|
||||
"name": "trash-2",
|
||||
"className": "w-4 h-4"
|
||||
"className": "text-base"
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -120,7 +120,7 @@
|
||||
"name": "Icon",
|
||||
"props": {
|
||||
"name": "edit",
|
||||
"className": "w-4 h-4"
|
||||
"className": "text-base"
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -138,7 +138,7 @@
|
||||
"name": "Icon",
|
||||
"props": {
|
||||
"name": "trash-2",
|
||||
"className": "w-4 h-4"
|
||||
"className": "text-base"
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -165,9 +165,7 @@
|
||||
{
|
||||
"type": "click",
|
||||
"handler": "openModal",
|
||||
"params": {
|
||||
"modalId": "modal_preset_save"
|
||||
}
|
||||
"target": "modal_preset_save"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+3
-2
@@ -73,7 +73,7 @@
|
||||
"name": "Button",
|
||||
"props": {
|
||||
"type": "button",
|
||||
"className": "px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 font-medium transition-colors disabled:opacity-50",
|
||||
"className": "px-4 py-2 bg-blue-600 dark:bg-blue-500 text-white rounded-lg hover:bg-blue-700 dark:hover:bg-blue-600 font-medium transition-colors disabled:opacity-50",
|
||||
"disabled": "{{!(_local.selectedItems || []).length || !_local.bulkIssueStatus || coupons?.data?.abilities?.can_update !== true}}"
|
||||
},
|
||||
"text": "$t:sirsoft-ecommerce.admin.promotion_coupon.bulk.apply",
|
||||
@@ -303,6 +303,7 @@
|
||||
"type": "basic",
|
||||
"name": "A",
|
||||
"props": {
|
||||
"href": "#",
|
||||
"className": "text-blue-600 dark:text-blue-400 hover:underline cursor-pointer font-medium"
|
||||
},
|
||||
"text": "{{row.localized_name}}",
|
||||
@@ -708,7 +709,7 @@
|
||||
{
|
||||
"iteration": {
|
||||
"source": "coupons?.data?.data || []",
|
||||
"item": "coupon",
|
||||
"item_var": "coupon",
|
||||
"key": "coupon.id"
|
||||
},
|
||||
"children": [
|
||||
|
||||
Reference in new issue
Block a user