@@ -102,7 +102,7 @@ const PlanPage: React.FC = () => {
102102 setInput ( "" ) ;
103103 console . log ( "handleOnchatSubmit called with input:" , chatInput ) ;
104104 if ( ! chatInput . trim ( ) ) {
105- showToast ( "Please enter a clarification" , "error" ) ;
105+ showToast ( "Please enter a clarification. " , "error" ) ;
106106 return ;
107107 }
108108 if ( ! planData ?. plan ) return ;
@@ -115,10 +115,10 @@ const PlanPage: React.FC = () => {
115115 chatInput
116116 ) ;
117117 setInput ( "" ) ;
118- showToast ( "Clarification submitted successfully" , "success" ) ;
118+ showToast ( "Clarification submitted successfully. " , "success" ) ;
119119 await loadPlanData ( false ) ;
120120 } catch ( error ) {
121- showToast ( "Failed to submit clarification" , "error" ) ;
121+ showToast ( "Failed to submit clarification. " , "error" ) ;
122122 console . error ( "Failed to submit clarification:" , error ) ;
123123 } finally {
124124 setInput ( "" ) ;
@@ -135,10 +135,10 @@ const PlanPage: React.FC = () => {
135135 setSubmitting ( true ) ;
136136 try {
137137 await PlanDataService . stepStatus ( step , true ) ;
138- showToast ( "Step approved successfully" , "success" ) ;
138+ showToast ( "Step approved successfully. " , "success" ) ;
139139 await loadPlanData ( false ) ;
140140 } catch ( error ) {
141- showToast ( "Failed to approve step" , "error" ) ;
141+ showToast ( "Failed to approve step. " , "error" ) ;
142142 console . error ( "Failed to reject step:" , error ) ;
143143 } finally {
144144 setProcessingSubtaskId ( null ) ;
@@ -155,10 +155,10 @@ const PlanPage: React.FC = () => {
155155 setSubmitting ( true ) ;
156156 try {
157157 await PlanDataService . stepStatus ( step , false ) ;
158- showToast ( "Step rejected successfully" , "success" ) ;
158+ showToast ( "Step rejected successfully. " , "success" ) ;
159159 await loadPlanData ( false ) ;
160160 } catch ( error ) {
161- showToast ( "Failed to reject step" , "error" ) ;
161+ showToast ( "Failed to reject step. " , "error" ) ;
162162 console . error ( "Failed to reject step:" , error ) ;
163163 } finally {
164164 setProcessingSubtaskId ( null ) ;
0 commit comments