fix: Revert "fix(web): avoid legacy dropdown id collisions"#1961
fix: Revert "fix(web): avoid legacy dropdown id collisions"#1961
Conversation
This reverts commit 98d37bb.
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
Disabled knowledge base sources:
WalkthroughThis pull request removes dropdown ID compatibility functionality that previously normalized legacy dropdown-related DOM IDs and ARIA attributes. The changes eliminate the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 070d3cfea1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| export async function mountUnifiedApp() { | ||
| enableDropdownIdCompatibility(); | ||
|
|
||
| // Create a minimal app just for context sharing |
There was a problem hiding this comment.
Re-enable dropdown ID sanitization during mount
Removing the enableDropdownIdCompatibility() call from mountUnifiedApp reintroduces the dropdown ID collision that #1958 fixed: Reka elements keep IDs like reka-dropdown-menu-*, so legacy plugins that target *dropdown-* can still match and immediately hide/break the Connect menu. This is a production regression for systems running those legacy plugins (the deleted regression test in this commit covered exactly this scenario).
Useful? React with 👍 / 👎.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1961 +/- ##
==========================================
- Coverage 51.94% 51.91% -0.04%
==========================================
Files 1030 1029 -1
Lines 71137 71069 -68
Branches 7938 7917 -21
==========================================
- Hits 36953 36896 -57
+ Misses 34061 34050 -11
Partials 123 123 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
This plugin has been deployed to Cloudflare R2 and is available for testing. |
Reverts #1958
Summary by CodeRabbit