Skip to content

Conversation

@atlassian
Copy link
Contributor

@atlassian atlassian bot commented Dec 11, 2025

No description provided.

@atlassian-cla-bot
Copy link

Thank you for your submission! Like many open source projects, we ask that you sign our CLA (Contributor License Agreement) before we can accept your contribution.
If your email is listed below, please ensure that you sign the CLA with the same email address.

The following users still need to sign our CLA:
[email protected]

Already signed the CLA? To re-check, try refreshing the page.

padding: 8px;
}

#prompt-settings-context {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

🔥 Code Bugs

Consider using a class selector instead of an ID selector since PromptSettingsItem component can be rendered multiple times, creating duplicate IDs which violates HTML standards.

Details

📖 Explanation: The #prompt-settings-context ID is used in the PromptSettingsItem component which gets rendered multiple times (for Plan, Full-Context mode, and YOLO settings), creating duplicate IDs in the DOM. This violates HTML specifications where IDs should be unique, and could cause unexpected behavior with CSS selectors and JavaScript.

Uses AI. Verify results. Give Feedback

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.

1 participant