You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR addresses GAZEBO-16TG by adding a static import for ace-builds/src-noconflict/ext-searchbox in src/pages/AccountSettings/tabs/YAML/YamlEditor/YamlEditor.tsx.
Previously, when a user triggered the search functionality in the YAML editor, ace would attempt to dynamically load the ext-searchbox module. However, due to an unset basePath, this dynamic load would fail, resulting in an undefined module. This led to a TypeError: Cannot read properties of undefined (reading 'Search') when e.Search(editor) was called.
By statically importing ext-searchbox, the module is bundled with the application, ensuring it is always available and preventing the runtime error.
Statically imports ace-builds/src-noconflict/ext-searchbox in src/pages/AccountSettings/tabs/YAML/YamlEditor/YamlEditor.tsx.
Resolves TypeError: Cannot read properties of undefined (reading 'Search') when using the search functionality in the YAML editor.
Ensures the ext-searchbox module is always available at runtime.
Screenshots
Link to Sample Entry
Legal Boilerplate
Look, I get it. The entity doing business as "Codecov" is owned by Harness, Inc. In 2026 Harness acquired Codecov and as a result Harness is going to need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Harness can use, modify, copy, and redistribute my contributions, under Harness's choice of terms.
Seer wants to keep iterating on this pull request to get CI passing, but the Sentry GitHub App installation is missing permissions it needs to read the failing checks and push a fix.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR addresses GAZEBO-16TG by adding a static import for
ace-builds/src-noconflict/ext-searchboxinsrc/pages/AccountSettings/tabs/YAML/YamlEditor/YamlEditor.tsx.Previously, when a user triggered the search functionality in the YAML editor, ace would attempt to dynamically load the
ext-searchboxmodule. However, due to an unsetbasePath, this dynamic load would fail, resulting in anundefinedmodule. This led to aTypeError: Cannot read properties of undefined (reading 'Search')whene.Search(editor)was called.By statically importing
ext-searchbox, the module is bundled with the application, ensuring it is always available and preventing the runtime error.Code Example
Notable Changes
ace-builds/src-noconflict/ext-searchboxinsrc/pages/AccountSettings/tabs/YAML/YamlEditor/YamlEditor.tsx.TypeError: Cannot read properties of undefined (reading 'Search')when using the search functionality in the YAML editor.ext-searchboxmodule is always available at runtime.Screenshots
Link to Sample Entry
Legal Boilerplate
Look, I get it. The entity doing business as "Codecov" is owned by Harness, Inc. In 2026 Harness acquired Codecov and as a result Harness is going to need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Harness can use, modify, copy, and redistribute my contributions, under Harness's choice of terms.
Fixes GAZEBO-16TG
This PR was automatically generated by Sentry. You can adjust this setting at any time.