qwen-code/packages/core/src
Jerop Kipruto 98f3a7066e
refactor: rename disableDataCollection to dataCollectionEnabled (#1319)
Renames the `disableDataCollection` flag to the more intuitive and positive `dataCollectionEnabled`.

This change improves code clarity by avoiding double negatives and making the purpose of the flag more direct. The logic has been inverted wherever the flag is used to accommodate the new naming convention.

Using a suffix like `"Enabled"` follows a common convention that improves readability. 
- A condition like `if (dataCollectionEnabled)` reads like a natural language sentence ("if data collection is enabled"), which reduces cognitive load.
- Distinguishes the boolean flag (representing a state) from potential functions that would perform an action (e.g., `enableDataCollection()` or `disableDataCollection()`), avoiding ambiguity between checking a value and calling a function.

#750
2025-06-23 21:19:40 +00:00
..
__mocks__/fs Rename server->core (#638) 2025-05-30 18:25:47 -07:00
code_assist point Code Assist client to prod server (#1201) 2025-06-21 22:25:18 +00:00
config refactor: rename disableDataCollection to dataCollectionEnabled (#1319) 2025-06-23 21:19:40 +00:00
core refactor: rename disableDataCollection to dataCollectionEnabled (#1319) 2025-06-23 21:19:40 +00:00
services Provide a .gitconfig for shadow repos (#1294) 2025-06-22 00:13:03 -04:00
telemetry refactor: rename disableDataCollection to dataCollectionEnabled (#1319) 2025-06-23 21:19:40 +00:00
tools Sanitize MCP FunctionDeclarations to workaround Vertex bug (#1330) 2025-06-23 09:13:53 -07:00
utils Remove .gitignore logging from startup. (#1323) 2025-06-23 11:12:42 -07:00
index.test.ts Rename server->core (#638) 2025-05-30 18:25:47 -07:00
index.ts Auth First Run (#1207) 2025-06-19 16:52:22 -07:00