File tree Expand file tree Collapse file tree
packages/app/src/app/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -93,14 +93,22 @@ export default function ReloadWorkspaceToast(props: ReloadWorkspaceToastProps) {
9393 </ Show >
9494 </ div >
9595
96- < Show when = { props . description || props . error } >
97- < div class = "text-xs text-gray-10 truncate leading-none mt-0.5" >
98- { props . hasActiveRuns
99- ? < span class = "text-amber-11 font-medium" > Reloading will stop active tasks.</ span >
100- : props . error
101- ? < span class = "text-red-9 font-medium" > { props . error } </ span >
102- : getDescription ( )
103- }
96+ < Show when = { props . description || props . error || props . warning || props . blockedReason } >
97+ < div class = "text-xs text-gray-10 leading-snug mt-0.5 space-y-1" >
98+ < div >
99+ { props . hasActiveRuns
100+ ? < span class = "text-amber-11 font-medium" > Reloading will stop active tasks.</ span >
101+ : props . error
102+ ? < span class = "text-red-9 font-medium" > { props . error } </ span >
103+ : getDescription ( )
104+ }
105+ </ div >
106+ < Show when = { props . warning } >
107+ < div class = "text-amber-11" > { props . warning } </ div >
108+ </ Show >
109+ < Show when = { props . blockedReason } >
110+ < div class = "text-gray-9" > Blocked: { props . blockedReason } </ div >
111+ </ Show >
104112 </ div >
105113 </ Show >
106114 </ div >
Original file line number Diff line number Diff line change @@ -1134,6 +1134,12 @@ export default function Composer(props: ComposerProps) {
11341134 </ Show >
11351135 </ div >
11361136
1137+ < Show when = { ! props . prompt . trim ( ) && ! attachments ( ) . length } >
1138+ < div class = "mt-2 text-[10px] text-gray-8" >
1139+ Enter to send · Shift+Enter for newline
1140+ </ div >
1141+ </ Show >
1142+
11371143 < div class = "absolute bottom-0 right-0 z-20 flex items-center gap-2" >
11381144 < input
11391145 ref = { fileInputRef }
You can’t perform that action at this time.
0 commit comments