From a14133df52201edf275ea14c443ab8bb3c38f892 Mon Sep 17 00:00:00 2001 From: JiWoong Sul Date: Wed, 22 Oct 2025 18:48:00 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9D=B8=EB=B2=A4=ED=86=A0=EB=A6=AC=20include?= =?UTF-8?q?=20=ED=95=84=ED=84=B0=20=EB=AC=B8=EA=B5=AC=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../inventory/inbound/presentation/pages/inbound_page.dart | 1 + .../inbound/presentation/specs/inbound_table_spec.dart | 4 ++-- .../outbound/presentation/pages/outbound_page.dart | 1 + .../outbound/presentation/specs/outbound_table_spec.dart | 4 ++-- .../inventory/rental/presentation/pages/rental_page.dart | 1 + .../rental/presentation/specs/rental_table_spec.dart | 4 ++-- test/features/inventory/inventory_pages_smoke_test.dart | 6 +++--- 7 files changed, 12 insertions(+), 9 deletions(-) diff --git a/lib/features/inventory/inbound/presentation/pages/inbound_page.dart b/lib/features/inventory/inbound/presentation/pages/inbound_page.dart index 3b57562..69038aa 100644 --- a/lib/features/inventory/inbound/presentation/pages/inbound_page.dart +++ b/lib/features/inventory/inbound/presentation/pages/inbound_page.dart @@ -375,6 +375,7 @@ class _InboundPageState extends State { key: ValueKey(_pendingIncludes.hashCode), controller: _includeController, initialValues: _pendingIncludes, + placeholder: const Text(InboundTableSpec.includeEmptyLabel), selectedOptionsBuilder: (context, values) { if (values.isEmpty) { return const Text(InboundTableSpec.includeEmptyLabel); diff --git a/lib/features/inventory/inbound/presentation/specs/inbound_table_spec.dart b/lib/features/inventory/inbound/presentation/specs/inbound_table_spec.dart index 6e2ca0c..33d3111 100644 --- a/lib/features/inventory/inbound/presentation/specs/inbound_table_spec.dart +++ b/lib/features/inventory/inbound/presentation/specs/inbound_table_spec.dart @@ -44,7 +44,7 @@ class InboundTableSpec { static const String allStatusLabel = '전체 상태'; /// include 옵션이 선택되지 않았을 때 표시하는 기본 라벨. - static const String includeEmptyLabel = 'Include 없음'; + static const String includeEmptyLabel = '선택 없음'; /// 테이블 열 폭 계산을 위한 기준 값. static const double columnSpanWidth = 140; @@ -74,7 +74,7 @@ class InboundTableSpec { static String includeLabel(String value) { switch (value) { case 'lines': - return '라인 포함'; + return '상세정보 포함'; default: return value; } diff --git a/lib/features/inventory/outbound/presentation/pages/outbound_page.dart b/lib/features/inventory/outbound/presentation/pages/outbound_page.dart index e0fca9e..da08419 100644 --- a/lib/features/inventory/outbound/presentation/pages/outbound_page.dart +++ b/lib/features/inventory/outbound/presentation/pages/outbound_page.dart @@ -474,6 +474,7 @@ class _OutboundPageState extends State { key: ValueKey(_pendingIncludes.hashCode), controller: _includeController, initialValues: _pendingIncludes, + placeholder: const Text(OutboundTableSpec.includeEmptyLabel), selectedOptionsBuilder: (context, values) { if (values.isEmpty) { return const Text(OutboundTableSpec.includeEmptyLabel); diff --git a/lib/features/inventory/outbound/presentation/specs/outbound_table_spec.dart b/lib/features/inventory/outbound/presentation/specs/outbound_table_spec.dart index 943be93..8a224e0 100644 --- a/lib/features/inventory/outbound/presentation/specs/outbound_table_spec.dart +++ b/lib/features/inventory/outbound/presentation/specs/outbound_table_spec.dart @@ -43,7 +43,7 @@ class OutboundTableSpec { static const String allStatusLabel = '전체 상태'; /// include 선택이 비어 있을 때 보여줄 라벨. - static const String includeEmptyLabel = 'Include 없음'; + static const String includeEmptyLabel = '선택 없음'; /// 테이블 열 폭 기준 값. static const double columnSpanWidth = 140; @@ -61,7 +61,7 @@ class OutboundTableSpec { static String includeLabel(String value) { switch (value) { case 'lines': - return '라인 포함'; + return '상세정보 포함'; case 'customers': return '고객 포함'; default: diff --git a/lib/features/inventory/rental/presentation/pages/rental_page.dart b/lib/features/inventory/rental/presentation/pages/rental_page.dart index 9accc14..0f9a034 100644 --- a/lib/features/inventory/rental/presentation/pages/rental_page.dart +++ b/lib/features/inventory/rental/presentation/pages/rental_page.dart @@ -422,6 +422,7 @@ class _RentalPageState extends State { key: ValueKey(_pendingIncludes.hashCode), controller: _includeController, initialValues: _pendingIncludes, + placeholder: const Text(RentalTableSpec.includeEmptyLabel), selectedOptionsBuilder: (context, values) { if (values.isEmpty) { return const Text(RentalTableSpec.includeEmptyLabel); diff --git a/lib/features/inventory/rental/presentation/specs/rental_table_spec.dart b/lib/features/inventory/rental/presentation/specs/rental_table_spec.dart index 0f1fd40..493da5f 100644 --- a/lib/features/inventory/rental/presentation/specs/rental_table_spec.dart +++ b/lib/features/inventory/rental/presentation/specs/rental_table_spec.dart @@ -48,7 +48,7 @@ class RentalTableSpec { static const String allRentalTypeLabel = '대여구분 전체'; /// include 선택 없음 라벨. - static const String includeEmptyLabel = 'Include 없음'; + static const String includeEmptyLabel = '선택 없음'; /// 테이블 열 폭 기준 값. static const double columnSpanWidth = 140; @@ -66,7 +66,7 @@ class RentalTableSpec { static String includeLabel(String value) { switch (value) { case 'lines': - return '라인 포함'; + return '상세정보 포함'; case 'customers': return '고객 포함'; default: diff --git a/test/features/inventory/inventory_pages_smoke_test.dart b/test/features/inventory/inventory_pages_smoke_test.dart index aa26d00..7c28e16 100644 --- a/test/features/inventory/inventory_pages_smoke_test.dart +++ b/test/features/inventory/inventory_pages_smoke_test.dart @@ -38,7 +38,7 @@ void main() { ); await tester.pumpAndSettle(); - expect(find.text('라인 포함'), findsWidgets); + expect(find.text('상세정보 포함'), findsWidgets); expect(tester.takeException(), isNull); await tester.tap(find.widgetWithText(ShadButton, '입고 등록')); @@ -69,7 +69,7 @@ void main() { ); await tester.pumpAndSettle(); - expect(find.text('라인 포함'), findsWidgets); + expect(find.text('상세정보 포함'), findsWidgets); expect(find.text('고객 포함'), findsWidgets); expect(tester.takeException(), isNull); }); @@ -90,7 +90,7 @@ void main() { ); await tester.pumpAndSettle(); - expect(find.text('라인 포함'), findsWidgets); + expect(find.text('상세정보 포함'), findsWidgets); expect(tester.takeException(), isNull); }); }