Skip to content

feat(popup): add AI Studio master toggle#486

Merged
Nagi-ovo merged 3 commits into
mainfrom
Nagi-ovo/aistudio-toggle
Mar 12, 2026
Merged

feat(popup): add AI Studio master toggle#486
Nagi-ovo merged 3 commits into
mainfrom
Nagi-ovo/aistudio-toggle

Conversation

@Nagi-ovo
Copy link
Copy Markdown
Owner

@Nagi-ovo Nagi-ovo commented Mar 12, 2026

Summary

Test plan

  • Open popup on aistudio.google.com → toggle card should appear at the top
  • Open popup on gemini.google.com → toggle card should NOT appear
  • Toggle off → reload AI Studio page → folder/spacing/formula features should not initialize
  • Toggle off → Prompt Manager should still work on AI Studio
  • Toggle on → reload → all AI Studio features restored
  • Verify translations render correctly for non-English locales

🤖 Generated with Claude Code


Open with Devin

Closes #368

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
devin-ai-integration[bot]

This comment was marked as resolved.

@Nagi-ovo
Copy link
Copy Markdown
Owner Author

Nagi-ovo commented Mar 12, 2026

@codex review

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 new potential issue.

View 6 additional findings in Devin Review.

Open in Devin Review

});

if (!aiStudioEnabled) {
console.log('[Gemini Voyager] AI Studio features disabled by user');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 console.log in production code violates AGENTS.md anti-pattern rule

The new console.log at line 303 violates the AGENTS.md DON'Ts rule: "Console Logs: Remove console.log in production code (use LoggerService for critical info)." A LoggerService exists at src/core/services/LoggerService.ts and should be used instead. Note: the same file has ~12 pre-existing console.log calls following the same [Gemini Voyager] pattern, so this follows an established (but non-compliant) pattern.

Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Nagi-ovo Nagi-ovo merged commit 754c071 into main Mar 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] 增添插件设置选项, 使用户选择是否在gemini/ai studio上启用插件

1 participant