Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #4608 +/- ##
==========================================
+ Coverage 48.35% 49.32% +0.97%
==========================================
Files 856 843 -13
Lines 35092 34399 -693
Branches 5997 5822 -175
==========================================
Hits 16969 16969
+ Misses 16152 15534 -618
+ Partials 1971 1896 -75
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
nl0
force-pushed
the
rm-embed
branch
2 times, most recently
from
June 28, 2026 17:12
685a1a1 to
2374390
Compare
Remove the iframe-embeddable catalog variant (embed mode) and all its wiring and documentation. - Delete the catalog/app/embed/ app tree, constants/embed-routes.js, the legacy components/SearchResults module, and the now-dead utils/search hook - Drop the /__embed and /__embed-debug routes from nginx, the dev server, the prod Express middleware, and the webpack entry points / HTML emit - Inline ES_REF_SYNTAX into Search/NoResults (its only non-embed consumer) so components/SearchResults can be removed - Remove the docs/Catalog/Embed.md integration guide, its SUMMARY.md nav entry and screenshots, and embed mentions in README and the PR template Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Member
Author
|
@fiskus fyi. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Retires the iframe-embeddable catalog variant ("embed mode") and all of its wiring and documentation. Embed was an always-on, unflagged surface (a separate
/__embedroute + layout variant) that every file/package-view change had to account for. Telemetry shows no customer-deployed embed instances, so this removes it wholesale rather than deprecating.Removed
catalog/app/embed/tree,constants/embed-routes.js, the legacycomponents/SearchResultsmodule, and the now-deadutils/searchhook (0 importers on master)./__embedand/__embed-debugfrom nginx (nginx-web.conf), the dev server (webpack.dev.js), the prod Express middleware (frontendMiddleware.js), and the webpack entry points + HTML emit (webpack.base.js).docs/Catalog/Embed.mdintegration guide, itsSUMMARY.mdnav entry and 3 screenshots, plus embed mentions indocs/README.mdand.github/pull_request_template.md.Notable edit
Search/NoResults.tsxwas the only non-embed consumer ofcomponents/SearchResults(it importedES_REF_SYNTAX); that constant is now inlined locally so the module can be deleted.Verification
Full
catalogCI pipeline run locally against current master, all green:npm run lint(prettier + eslint),npm run build(incl. TS typecheck — emits only theappentrypoint, no embed chunks), andnpm test(117 files / 1075 tests, 1 skipped). No dangling references to any removed module/route remain. The deployment, enterprise, and e2e repos contain no references to the embed feature.Coordination
ES_REF_SYNTAXfromcomponents/SearchResultsand editsNoResults.tsxin the same region — whichever lands second needsES_REF_SYNTAXreconciled. No other open PR touches the embed surface (#4925 gallery and #4937 preview are disjoint; #4995 Overview v2 is merged and clean).Rebased fresh onto current master — the original draft no longer merged after the repo-wide
.js→.jsxrename.Greptile Summary
This PR removes the catalog embed mode and its supporting files.
Search/NoResults.tsx.Confidence Score: 4/5
The changed flow looks mergeable after adding a clearer response for retired embed URLs.
catalog/server/middlewares/frontendMiddleware.js, catalog/nginx-web.conf, catalog/internals/webpack/webpack.dev.js
Important Files Changed
/__embedand/__embed-debug.SearchResultsimport with the same local Elasticsearch syntax URL constants.Reviews (1): Last reviewed commit: "remove embed" | Re-trigger Greptile