@@ -28,7 +28,6 @@ export type NavItem =
2828 | 'section:general:group:commit-messages'
2929 | 'section:web'
3030 | 'section:web:group:web-configurations'
31- | 'section:web:group:chatbots-other'
3231 | 'section:api'
3332 | 'section:api:group:model-providers'
3433 | 'section:api:group:api-configurations'
@@ -67,10 +66,6 @@ const NAV_ITEMS_CONFIG: NavConfigItem[] = [
6766 id : 'section:web:group:web-configurations' ,
6867 label : 'chatbots.configurations.title'
6968 } ,
70- {
71- id : 'section:web:group:chatbots-other' ,
72- label : 'chatbots.behavior.title'
73- } ,
7469 {
7570 id : 'section:api' ,
7671 label : 'api.title'
@@ -112,7 +107,6 @@ type Props = {
112107 gemini_user_id : number | null
113108 ai_studio_user_id : number | null
114109 send_with_shift_enter : boolean
115- reuse_last_tab : boolean
116110 clear_checks_in_workspace_behavior : 'ignore-open-editors' | 'uncheck-all'
117111 auto_run_patch_repair : boolean
118112 templates : Record < string , Template [ ] >
@@ -142,7 +136,6 @@ type Props = {
142136 on_gemini_user_id_change : ( id : number | null ) => void
143137 on_ai_studio_user_id_change : ( id : number | null ) => void
144138 on_send_with_shift_enter_change : ( enabled : boolean ) => void
145- on_reuse_last_tab_change : ( enabled : boolean ) => void
146139 on_clear_checks_in_workspace_behavior_change : (
147140 value : 'ignore-open-editors' | 'uncheck-all'
148141 ) => void
@@ -195,7 +188,6 @@ export const Home: React.FC<Props> = (props) => {
195188 'section:general:group:commit-messages' : null ,
196189 'section:web' : null ,
197190 'section:web:group:web-configurations' : null ,
198- 'section:web:group:chatbots-other' : null ,
199191 'section:api' : null ,
200192 'section:api:group:model-providers' : null ,
201193 'section:api:group:api-configurations' : null ,
@@ -241,12 +233,6 @@ export const Home: React.FC<Props> = (props) => {
241233 ) {
242234 continue
243235 }
244- if (
245- item . id === 'section:web:group:chatbots-other' &&
246- props . web_configurations . length === 0
247- ) {
248- continue
249- }
250236 if (
251237 [
252238 'section:api:group:api-defaults' ,
@@ -262,7 +248,6 @@ export const Home: React.FC<Props> = (props) => {
262248 return last_id
263249 } , [
264250 props . providers . length ,
265- props . web_configurations . length ,
266251 props . api_configurations . length
267252 ] )
268253
@@ -339,13 +324,7 @@ export const Home: React.FC<Props> = (props) => {
339324 ) {
340325 continue
341326 }
342- if (
343- item . id === 'section:web:group:chatbots-other' &&
344- props . web_configurations . length === 0
345- ) {
346- continue
347- }
348- if (
327+ if (
349328 [
350329 'section:api:group:api-defaults' ,
351330 'section:api:group:api-behavior' ,
@@ -379,7 +358,6 @@ export const Home: React.FC<Props> = (props) => {
379358 }
380359 } , [
381360 props . providers . length ,
382- props . web_configurations . length ,
383361 props . api_configurations . length
384362 ] )
385363
@@ -461,12 +439,6 @@ export const Home: React.FC<Props> = (props) => {
461439 ) {
462440 continue
463441 }
464- if (
465- item . id === 'section:web:group:chatbots-other' &&
466- props . web_configurations . length === 0
467- ) {
468- continue
469- }
470442 if (
471443 [
472444 'section:api:group:api-defaults' ,
@@ -647,8 +619,6 @@ export const Home: React.FC<Props> = (props) => {
647619 on_toggle_pinned_web_configuration = {
648620 props . on_toggle_pinned_web_configuration
649621 }
650- reuse_last_tab = { props . reuse_last_tab }
651- on_reuse_last_tab_change = { props . on_reuse_last_tab_change }
652622 gemini_user_id = { props . gemini_user_id }
653623 ai_studio_user_id = { props . ai_studio_user_id }
654624 on_gemini_user_id_change = { props . on_gemini_user_id_change }
0 commit comments