Skip to content

Commit f554f11

Browse files
committed
Revert "ref(feedback): Create stub integrations for feedback modal & screenshot integrations (#11342)"
This reverts commit 5542127.
1 parent bb9efed commit f554f11

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+19
-749
lines changed

.craft.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,7 @@ targets:
3232
- name: npm
3333
id: '@sentry-internal/feedback'
3434
includeNames: /^sentry-internal-feedback-\d.*\.tgz$/
35-
## 1.8 Feedback Modal package (browser only)
36-
- name: npm
37-
id: '@sentry-internal/feedback-modal'
38-
includeNames: /^sentry-internal-feedback-modal-\d.*\.tgz$/
39-
## 1.9 Feedback Screenshot package (browser only)
40-
- name: npm
41-
id: '@sentry-internal/feedback-screenshot'
42-
includeNames: /^sentry-internal-feedback-screenshot-\d.*\.tgz$/
43-
## 1.10 ReplayCanvas package (browser only)
35+
## 1.8 ReplayCanvas package (browser only)
4436
- name: npm
4537
id: '@sentry-internal/replay-canvas'
4638
includeNames: /^sentry-internal-replay-canvas-\d.*\.tgz$/

.github/workflows/build.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,6 @@ jobs:
105105
- 'packages/replay/**'
106106
- 'packages/replay-canvas/**'
107107
- 'packages/feedback/**'
108-
- 'packages/feedback-modal/**'
109-
- 'packages/feedback-screenshot/**'
110108
- 'packages/wasm/**'
111109
browser_integration:
112110
- *shared

CODEOWNERS

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,4 @@ packages/replay @getsentry/replay-sdk-web
22
packages/replay-worker @getsentry/replay-sdk-web
33
packages/replay-canvas @getsentry/replay-sdk-web
44
packages/feedback @getsentry/replay-sdk-web
5-
packages/feedback-modal @getsentry/replay-sdk-web
6-
packages/feedback-screenshot @getsentry/replay-sdk-web
75
dev-packages/browser-integration-tests/suites/replay @getsentry/replay-sdk-web

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@
5656
"packages/eslint-config-sdk",
5757
"packages/eslint-plugin-sdk",
5858
"packages/feedback",
59-
"packages/feedback-modal",
60-
"packages/feedback-screenshot",
6159
"packages/gatsby",
6260
"packages/google-cloud-serverless",
6361
"packages/integration-shims",

packages/browser/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@
4343
},
4444
"dependencies": {
4545
"@sentry-internal/browser-utils": "8.0.0-alpha.9",
46-
"@sentry-internal/feedback-modal": "8.0.0-alpha.9",
47-
"@sentry-internal/feedback-screenshot": "8.0.0-alpha.9",
4846
"@sentry-internal/feedback": "8.0.0-alpha.9",
4947
"@sentry-internal/replay": "8.0.0-alpha.9",
5048
"@sentry-internal/replay-canvas": "8.0.0-alpha.9",

packages/browser/src/index.bundle.feedback.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
// This is exported so the loader does not fail when switching off Replay/Tracing
22
import { feedbackIntegration, getFeedback } from '@sentry-internal/feedback';
3-
import { feedbackModalIntegration } from '@sentry-internal/feedback-modal';
4-
import { feedbackScreenshotIntegration } from '@sentry-internal/feedback-screenshot';
53
import {
64
addTracingExtensionsShim,
75
browserTracingIntegrationShim,
@@ -14,8 +12,6 @@ export {
1412
addTracingExtensionsShim as addTracingExtensions,
1513
replayIntegrationShim as replayIntegration,
1614
feedbackIntegration,
17-
feedbackModalIntegration,
18-
feedbackScreenshotIntegration,
1915
getFeedback,
2016
};
2117
// Note: We do not export a shim for `Span` here, as that is quite complex and would blow up the bundle

packages/browser/src/index.bundle.replay.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ import {
33
addTracingExtensionsShim,
44
browserTracingIntegrationShim,
55
feedbackIntegrationShim,
6-
feedbackModalIntegrationShim,
7-
feedbackScreenshotIntegrationShim,
86
} from '@sentry-internal/integration-shims';
97
import { replayIntegration } from '@sentry-internal/replay';
108

@@ -14,7 +12,5 @@ export {
1412
addTracingExtensionsShim as addTracingExtensions,
1513
replayIntegration,
1614
feedbackIntegrationShim as feedbackIntegration,
17-
feedbackModalIntegrationShim as feedbackModalIntegration,
18-
feedbackScreenshotIntegrationShim as feedbackScreenshotIntegration,
1915
};
2016
// Note: We do not export a shim for `Span` here, as that is quite complex and would blow up the bundle

packages/browser/src/index.bundle.tracing.replay.feedback.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ import {
44
startBrowserTracingPageLoadSpan,
55
} from '@sentry-internal/browser-utils';
66
import { feedbackIntegration, getFeedback } from '@sentry-internal/feedback';
7-
import { feedbackModalIntegration } from '@sentry-internal/feedback-modal';
8-
import { feedbackScreenshotIntegration } from '@sentry-internal/feedback-screenshot';
97
import { replayIntegration } from '@sentry-internal/replay';
108
import { addTracingExtensions } from '@sentry/core';
119

@@ -25,8 +23,6 @@ export {
2523

2624
export {
2725
feedbackIntegration,
28-
feedbackModalIntegration,
29-
feedbackScreenshotIntegration,
3026
replayIntegration,
3127
browserTracingIntegration,
3228
addTracingExtensions,

packages/browser/src/index.bundle.tracing.replay.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@ import {
33
startBrowserTracingNavigationSpan,
44
startBrowserTracingPageLoadSpan,
55
} from '@sentry-internal/browser-utils';
6-
import {
7-
feedbackIntegrationShim,
8-
feedbackModalIntegrationShim,
9-
feedbackScreenshotIntegrationShim,
10-
} from '@sentry-internal/integration-shims';
6+
import { feedbackIntegrationShim } from '@sentry-internal/integration-shims';
117
import { replayIntegration } from '@sentry-internal/replay';
128
import { addTracingExtensions } from '@sentry/core';
139

@@ -28,8 +24,6 @@ export {
2824
export {
2925
replayIntegration,
3026
feedbackIntegrationShim as feedbackIntegration,
31-
feedbackModalIntegrationShim as feedbackModalIntegration,
32-
feedbackScreenshotIntegrationShim as feedbackScreenshotIntegration,
3327
browserTracingIntegration,
3428
addTracingExtensions,
3529
startBrowserTracingNavigationSpan,

packages/browser/src/index.bundle.tracing.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,7 @@ import {
44
startBrowserTracingPageLoadSpan,
55
} from '@sentry-internal/browser-utils';
66
// This is exported so the loader does not fail when switching off Replay
7-
import {
8-
feedbackIntegrationShim,
9-
feedbackModalIntegrationShim,
10-
feedbackScreenshotIntegrationShim,
11-
replayIntegrationShim,
12-
} from '@sentry-internal/integration-shims';
7+
import { feedbackIntegrationShim, replayIntegrationShim } from '@sentry-internal/integration-shims';
138
import { addTracingExtensions } from '@sentry/core';
149

1510
// We are patching the global object with our hub extension methods
@@ -28,8 +23,6 @@ export {
2823

2924
export {
3025
feedbackIntegrationShim as feedbackIntegration,
31-
feedbackModalIntegrationShim as feedbackModalIntegration,
32-
feedbackScreenshotIntegrationShim as feedbackScreenshotIntegration,
3326
replayIntegrationShim as replayIntegration,
3427
browserTracingIntegration,
3528
addTracingExtensions,

packages/browser/src/index.bundle.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ import {
33
addTracingExtensionsShim,
44
browserTracingIntegrationShim,
55
feedbackIntegrationShim,
6-
feedbackModalIntegrationShim,
7-
feedbackScreenshotIntegrationShim,
86
replayIntegrationShim,
97
} from '@sentry-internal/integration-shims';
108

@@ -13,8 +11,6 @@ export {
1311
addTracingExtensionsShim as addTracingExtensions,
1412
browserTracingIntegrationShim as browserTracingIntegration,
1513
feedbackIntegrationShim as feedbackIntegration,
16-
feedbackModalIntegrationShim as feedbackModalIntegration,
17-
feedbackScreenshotIntegrationShim as feedbackScreenshotIntegration,
1814
replayIntegrationShim as replayIntegration,
1915
};
2016
// Note: We do not export a shim for `Span` here, as that is quite complex and would blow up the bundle

packages/browser/src/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ export {
3535
getFeedback,
3636
sendFeedback,
3737
} from '@sentry-internal/feedback';
38-
export { feedbackModalIntegration } from '@sentry-internal/feedback-modal';
39-
export { feedbackScreenshotIntegration } from '@sentry-internal/feedback-screenshot';
4038

4139
export {
4240
defaultRequestInstrumentationOptions,
Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
import { replayIntegrationShim } from '@sentry-internal/integration-shims';
2-
import { feedbackIntegration, feedbackModalIntegration, feedbackScreenshotIntegration } from '@sentry/browser';
2+
import { feedbackIntegration } from '@sentry/browser';
33

4-
import * as FeedbackBundle from '../../src/index.bundle.feedback';
4+
import * as TracingReplayBundle from '../../src/index.bundle.feedback';
55

66
describe('index.bundle.feedback', () => {
77
it('has correct exports', () => {
8-
expect(FeedbackBundle.replayIntegration).toBe(replayIntegrationShim);
9-
expect(FeedbackBundle.feedbackIntegration).toBe(feedbackIntegration);
10-
expect(FeedbackBundle.feedbackModalIntegration).toBe(feedbackModalIntegration);
11-
expect(FeedbackBundle.feedbackScreenshotIntegration).toBe(feedbackScreenshotIntegration);
8+
expect(TracingReplayBundle.replayIntegration).toBe(replayIntegrationShim);
9+
expect(TracingReplayBundle.feedbackIntegration).toBe(feedbackIntegration);
1210
});
1311
});
Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
1-
import {
2-
feedbackIntegrationShim,
3-
feedbackModalIntegrationShim,
4-
feedbackScreenshotIntegrationShim,
5-
} from '@sentry-internal/integration-shims';
1+
import { feedbackIntegrationShim } from '@sentry-internal/integration-shims';
62
import { replayIntegration } from '@sentry/browser';
73

8-
import * as ReplayBundle from '../../src/index.bundle.replay';
4+
import * as TracingReplayBundle from '../../src/index.bundle.replay';
95

106
describe('index.bundle.replay', () => {
117
it('has correct exports', () => {
12-
expect(ReplayBundle.replayIntegration).toBe(replayIntegration);
13-
expect(ReplayBundle.feedbackIntegration).toBe(feedbackIntegrationShim);
14-
expect(ReplayBundle.feedbackModalIntegration).toBe(feedbackModalIntegrationShim);
15-
expect(ReplayBundle.feedbackScreenshotIntegration).toBe(feedbackScreenshotIntegrationShim);
8+
expect(TracingReplayBundle.replayIntegration).toBe(replayIntegration);
9+
expect(TracingReplayBundle.feedbackIntegration).toBe(feedbackIntegrationShim);
1610
});
1711
});
Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
1-
import {
2-
feedbackIntegrationShim,
3-
feedbackModalIntegrationShim,
4-
feedbackScreenshotIntegrationShim,
5-
replayIntegrationShim,
6-
} from '@sentry-internal/integration-shims';
1+
import { feedbackIntegrationShim, replayIntegrationShim } from '@sentry-internal/integration-shims';
72

8-
import * as Bundle from '../../src/index.bundle';
3+
import * as TracingBundle from '../../src/index.bundle';
94

105
describe('index.bundle', () => {
116
it('has correct exports', () => {
12-
expect(Bundle.replayIntegration).toBe(replayIntegrationShim);
13-
expect(Bundle.feedbackIntegration).toBe(feedbackIntegrationShim);
14-
expect(Bundle.feedbackModalIntegration).toBe(feedbackModalIntegrationShim);
15-
expect(Bundle.feedbackScreenshotIntegration).toBe(feedbackScreenshotIntegrationShim);
7+
expect(TracingBundle.replayIntegration).toBe(replayIntegrationShim);
8+
expect(TracingBundle.feedbackIntegration).toBe(feedbackIntegrationShim);
169
});
1710
});
Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
import { browserTracingIntegration } from '@sentry-internal/browser-utils';
2-
import {
3-
feedbackIntegration,
4-
feedbackModalIntegration,
5-
feedbackScreenshotIntegration,
6-
replayIntegration,
7-
} from '@sentry/browser';
2+
import { feedbackIntegration, replayIntegration } from '@sentry/browser';
83

94
import * as TracingReplayFeedbackBundle from '../../src/index.bundle.tracing.replay.feedback';
105

@@ -13,7 +8,5 @@ describe('index.bundle.tracing.replay.feedback', () => {
138
expect(TracingReplayFeedbackBundle.replayIntegration).toBe(replayIntegration);
149
expect(TracingReplayFeedbackBundle.browserTracingIntegration).toBe(browserTracingIntegration);
1510
expect(TracingReplayFeedbackBundle.feedbackIntegration).toBe(feedbackIntegration);
16-
expect(TracingReplayFeedbackBundle.feedbackModalIntegration).toBe(feedbackModalIntegration);
17-
expect(TracingReplayFeedbackBundle.feedbackScreenshotIntegration).toBe(feedbackScreenshotIntegration);
1811
});
1912
});
Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
import { browserTracingIntegration } from '@sentry-internal/browser-utils';
2-
import {
3-
feedbackIntegrationShim,
4-
feedbackModalIntegrationShim,
5-
feedbackScreenshotIntegrationShim,
6-
} from '@sentry-internal/integration-shims';
2+
import { feedbackIntegrationShim } from '@sentry-internal/integration-shims';
73
import { replayIntegration } from '@sentry/browser';
84

95
import * as TracingReplayBundle from '../../src/index.bundle.tracing.replay';
@@ -15,7 +11,5 @@ describe('index.bundle.tracing.replay', () => {
1511
expect(TracingReplayBundle.browserTracingIntegration).toBe(browserTracingIntegration);
1612

1713
expect(TracingReplayBundle.feedbackIntegration).toBe(feedbackIntegrationShim);
18-
expect(TracingReplayBundle.feedbackModalIntegration).toBe(feedbackModalIntegrationShim);
19-
expect(TracingReplayBundle.feedbackScreenshotIntegration).toBe(feedbackScreenshotIntegrationShim);
2014
});
2115
});
Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
import { browserTracingIntegration } from '@sentry-internal/browser-utils';
2-
import {
3-
feedbackIntegrationShim,
4-
feedbackModalIntegrationShim,
5-
feedbackScreenshotIntegrationShim,
6-
replayIntegrationShim,
7-
} from '@sentry-internal/integration-shims';
2+
import { feedbackIntegrationShim, replayIntegrationShim } from '@sentry-internal/integration-shims';
83

94
import * as TracingBundle from '../../src/index.bundle.tracing';
105

@@ -13,7 +8,5 @@ describe('index.bundle.tracing', () => {
138
expect(TracingBundle.replayIntegration).toBe(replayIntegrationShim);
149
expect(TracingBundle.browserTracingIntegration).toBe(browserTracingIntegration);
1510
expect(TracingBundle.feedbackIntegration).toBe(feedbackIntegrationShim);
16-
expect(TracingBundle.feedbackModalIntegration).toBe(feedbackModalIntegrationShim);
17-
expect(TracingBundle.feedbackScreenshotIntegration).toBe(feedbackScreenshotIntegrationShim);
1811
});
1912
});

packages/feedback-modal/.eslintignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

packages/feedback-modal/.eslintrc.js

Lines changed: 0 additions & 16 deletions
This file was deleted.

packages/feedback-modal/.gitignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

packages/feedback-modal/LICENSE

Lines changed: 0 additions & 14 deletions
This file was deleted.

packages/feedback-modal/README.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

packages/feedback-modal/jest.config.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)