Files
lobehub/apps
Innei 47fd5e6875 🔨 chore: clean up unnecessary comments (#11659)
* 🔨 chore: clean up unnecessary comments

Remove 358 lines of unnecessary comments across 33 files:
- Remove commented-out code blocks and unused implementations
- Remove redundant single-line comments that repeat code logic
- Remove empty comments and placeholder comments
- Remove commented-out import/export statements

This improves code readability and reduces visual clutter without affecting functionality.

* 🔨 chore: clean up additional unnecessary comments

Remove 28 more lines of unnecessary comments:
- Remove commented-out PostgresViewer menu item in DevPanel
- Remove commented-out OAuth fallback endpoints in SSO helpers
- Remove commented-out copy menu item in page dropdown
- Remove commented-out debugger script in root layout
- Remove commented-out Tooltip component in ModelItem

This further improves code cleanliness and maintainability.

* 🔨 chore: clean up additional unnecessary comments (round 3)

Removed commented-out code and empty comment blocks:
- GlobalProvider: removed commented FaviconTestPanel
- TaskDetailPanel: removed commented Instruction Header section
- ImportDetail: removed commented duplicate data handling UI
- Header: removed commented MarketSourceSwitch
- router: removed empty if block with placeholder comments

* 🔨 chore: clean up commented-out code (round 4)

Removed unnecessary commented code:
- parseModels: removed commented deploymentName fallback
- I18nManager: removed commented window notification code
- conversationLifecycle: removed commented file addition note

* 🔨 chore: clean up commented-out tests (round 5)

Removed commented-out test blocks:
- session.test.ts: removed commented getAgentConfigById describe block (29 lines)
- app.test.ts: removed commented OPENAI_FUNCTION_REGIONS test (5 lines)
2026-01-20 21:26:07 +08:00
..