MCPcopy Create free account
hub / github.com/codeaashu/claude-code / onChangeVerbose

Function onChangeVerbose

src/components/Settings/Config.tsx:232–261  ·  view source on GitHub ↗
(value_0: boolean)

Source from the content-addressed store, hash-verified

230 });
231 }
232 function onChangeVerbose(value_0: boolean): void {
233 // Update the global config to persist the setting
234 saveGlobalConfig(current => ({
235 ...current,
236 verbose: value_0
237 }));
238 setGlobalConfig({
239 ...getGlobalConfig(),
240 verbose: value_0
241 });
242
243 // Update the app state for immediate UI feedback
244 setAppState(prev_1 => ({
245 ...prev_1,
246 verbose: value_0
247 }));
248 setChanges(prev_2 => {
249 if ('verbose' in prev_2) {
250 const {
251 verbose: verbose_0,
252 ...rest_0
253 } = prev_2;
254 return rest_0;
255 }
256 return {
257 ...prev_2,
258 verbose: value_0
259 };
260 });
261 }
262
263 // TODO: Add MCP servers
264 const settingsItems: Setting[] = [

Callers

nothing calls this directly

Calls 2

saveGlobalConfigFunction · 0.85
getGlobalConfigFunction · 0.85

Tested by

no test coverage detected