Truncate "text" arg value summaries by default (#6754)
Splitting out some work I had in #6254 that wasn't directly related to onboarding into its own tiny PR.
This commit is contained in:
		@ -148,6 +148,8 @@ function CommandBarHeader({ children }: React.PropsWithChildren<object>) {
 | 
			
		||||
                            ),
 | 
			
		||||
                            4
 | 
			
		||||
                          )
 | 
			
		||||
                        ) : arg.inputType === 'text' && !arg.valueSummary ? (
 | 
			
		||||
                          `${argValue.slice(0, 12)}${argValue.length > 12 ? '...' : ''}`
 | 
			
		||||
                        ) : typeof argValue === 'object' ? (
 | 
			
		||||
                          arg.valueSummary ? (
 | 
			
		||||
                            arg.valueSummary(argValue)
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user