File tree Expand file tree Collapse file tree
apps/editor/src/commands/apply-chat-response-command
ui/src/components/editor/panel/Responses Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ export const apply_chat_response_command = (params: {
109109 created_at : Date . now ( ) ,
110110 url : args ?. url ,
111111 recent_api_configuration : args ?. recent_api_configuration ,
112- is_unviewed : true
112+ is_not_looked_at : true
113113 }
114114
115115 created_at_for_switch = new_item . created_at
@@ -153,8 +153,8 @@ export const apply_chat_response_command = (params: {
153153 const target_created_at = args . created_at
154154 const history = params . panel_provider . response_history
155155 const existing = history . find ( ( i ) => i . created_at === target_created_at )
156- if ( existing && existing . is_unviewed !== false ) {
157- existing . is_unviewed = false
156+ if ( existing && existing . is_not_looked_at !== false ) {
157+ existing . is_not_looked_at = false
158158 params . panel_provider . send_message ( {
159159 command : 'RESPONSE_HISTORY' ,
160160 history
Original file line number Diff line number Diff line change @@ -16,5 +16,5 @@ export type ResponseHistoryItem = {
1616 relevant_files ?: RelevantFileInPreview [ ]
1717 url ?: string
1818 recent_api_configuration ?: RecentApiConfiguration
19- is_unviewed ?: boolean
19+ is_not_looked_at ?: boolean
2020}
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ export const Responses: React.FC<Props> = (props) => {
5555 } }
5656 >
5757 < div className = { styles . responses__item__content__instructions } >
58- { item . is_unviewed ? (
58+ { item . is_not_looked_at ? (
5959 < span
6060 className = { `codicon codicon-circle-filled ${ styles [ 'responses__item__content__instructions__new-indicator' ] } ` }
6161 />
You can’t perform that action at this time.
0 commit comments