mirror of
https://github.com/vxcontrol/pentagi.git
synced 2026-07-20 23:57:11 -04:00
[PR #141] [MERGED] fix: remove debug console.log statements from settings-prompt #187
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/vxcontrol/pentagi/pull/141
Author: @mason5052
Created: 2/23/2026
Status: ✅ Merged
Merged: 2/23/2026
Merged by: @asdek
Base:
feature/project_improvements← Head:fix/remove-debug-console-logs📝 Commits (1)
eda4764fix: remove debug console.log statements from settings-prompt📊 Changes
1 file changed (+0 additions, -7 deletions)
View changed files
📝
frontend/src/pages/settings/settings-prompt.tsx(+0 -7)📄 Description
Description of the Change
Problem
settings-prompt.tsxcontains 7 leftoverconsole.logcalls on success paths that were introduced during development but should not be present in production code:'Prompt reset to default successfully''Template is identical to default, skipping save''System prompt updated successfully''System prompt created successfully''Human template is identical to default, skipping save''Human prompt updated successfully''Human prompt created successfully'Solution
Remove all 7 debug
console.logstatements. Error paths usingconsole.errorare intentionally kept.Type of Change
Areas Affected
Testing and Verification
Test Steps
Security Considerations
No security implications.
Checklist
Code Quality
npm run prettierandnpm run lint(for TypeScript code)Security
Compatibility
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.