Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(feedback): Implements Report a Bug button #4378

Open
wants to merge 138 commits into
base: feedback-ui-2
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
138 commits
Select commit Hold shift + click to select a range
817eac8
Update the client implementation to use the new capture feedback js api
antonis Nov 27, 2024
5370a99
Updates SDK API
antonis Nov 27, 2024
42e2fa1
Adds new feedback button in the sample
antonis Nov 27, 2024
514b102
Adds changelog
antonis Nov 27, 2024
0935bbd
Removes unused mock
antonis Nov 27, 2024
9ea5496
Update CHANGELOG.md
antonis Nov 28, 2024
da0d4ac
Directly use captureFeedback from sentry/core
antonis Nov 28, 2024
3e36c6d
Use import from core
antonis Nov 28, 2024
5f3df64
Fixes imports order lint issue
antonis Nov 28, 2024
71b28e8
Fixes build issue
antonis Nov 28, 2024
f9d2b59
Adds captureFeedback tests from sentry-javascript
antonis Nov 28, 2024
d05d531
Update CHANGELOG.md
krystofwoldrich Nov 28, 2024
2bb104b
Only deprecate client captureUserFeedback
antonis Nov 28, 2024
4339274
Add simple form UI
antonis Nov 29, 2024
6ce799b
Adds basic form functionality
antonis Nov 29, 2024
f2cefc6
Update imports
antonis Nov 29, 2024
694ee33
Update imports
antonis Dec 2, 2024
18b1c33
Merge branch 'main' into antonis/3859-newCaptureFeedbackAPI-Form
antonis Dec 2, 2024
034efde
Remove useState hook to avoid multiple react instances issues
antonis Dec 2, 2024
67a492d
Move types and styles in different files
antonis Dec 2, 2024
8eaa61d
Removes attachment button to be added back separately along with the …
antonis Dec 2, 2024
0b88cc5
Add basic field validation
antonis Dec 2, 2024
ae11b8d
Adds changelog
antonis Dec 2, 2024
7f2ca06
Updates changelog
antonis Dec 2, 2024
064b6c4
Updates changelog
antonis Dec 2, 2024
e2add4a
Merge branch 'main' into antonis/3859-newCaptureFeedbackAPI-Form
antonis Dec 2, 2024
e21718a
Trim whitespaces from the submitted feedback
antonis Dec 2, 2024
407f179
Adds tests
antonis Dec 2, 2024
14ac005
Merge branch 'main' into antonis/3859-newCaptureFeedbackAPI-Form
antonis Dec 2, 2024
ddade00
Renames FeedbackFormScreen to FeedbackForm
antonis Dec 6, 2024
1bc1e4c
Add beta label
antonis Dec 6, 2024
7934756
Extract default text to constants
antonis Dec 6, 2024
95e1e0f
Merge branch 'main' into antonis/3859-newCaptureFeedbackAPI-Form
antonis Dec 10, 2024
a169362
Moves constant to a separate file and aligns naming with JS
antonis Dec 10, 2024
4b5df7a
Adds input text labels
antonis Dec 10, 2024
4fa81ce
Close screen before sending the feedback to minimise wait time
antonis Dec 10, 2024
4fff82f
Rename file for consistency
antonis Dec 10, 2024
0258bf2
Flatten configuration hierarchy and clean up
antonis Dec 10, 2024
458ebc2
Align required values with JS
antonis Dec 10, 2024
f0e1bef
Use Sentry user email and name when set
antonis Dec 10, 2024
b9235f2
Simplifies email validation
antonis Dec 10, 2024
6717a84
Merge branch 'main' into antonis/3859-newCaptureFeedbackAPI-Form
antonis Dec 11, 2024
39a67bd
Show success alert message
antonis Dec 11, 2024
501a134
Aligns naming with JS and unmounts the form by default
antonis Dec 11, 2024
4b290a2
Use the minimum config without props in the changelog
antonis Dec 11, 2024
7109deb
Adds development not for unimplemented function
antonis Dec 11, 2024
c80c5cb
Show email and name conditionally
antonis Dec 11, 2024
8c56753
Adds sentry branding (png logo)
antonis Dec 11, 2024
d6e9229
Adds sentry logo resource
antonis Dec 11, 2024
5292475
Add assets in module exports
antonis Dec 11, 2024
efd809f
Revert "Add assets in module exports"
antonis Dec 11, 2024
bc7ae65
Revert "Adds sentry logo resource"
antonis Dec 11, 2024
79ee5ba
Revert "Adds sentry branding (png logo)"
antonis Dec 11, 2024
ba13320
Add last event id
antonis Dec 11, 2024
1f5fb56
Mock lastEventId
antonis Dec 11, 2024
439367a
Merge branch 'main' into antonis/3859-newCaptureFeedbackAPI-Form
antonis Dec 13, 2024
9831482
Adds beta note in the changelog
antonis Dec 13, 2024
d92ea89
Autoinject feedback form
antonis Dec 13, 2024
4097347
Updates changelog
antonis Dec 13, 2024
f8a82fd
Merge branch 'main' into antonis/3859-newCaptureFeedbackAPI-Form
antonis Dec 13, 2024
8b9f4d5
Merge branch 'antonis/3859-newCaptureFeedbackAPI-Form' into antonis/4…
antonis Dec 13, 2024
30a7b10
Align colors with JS
antonis Dec 13, 2024
3eccf25
Update CHANGELOG.md
antonis Dec 13, 2024
bc96fce
Update CHANGELOG.md
antonis Dec 13, 2024
995a9ca
Update CHANGELOG.md
antonis Dec 13, 2024
3aacaf7
Use regular fonts for both buttons
antonis Dec 13, 2024
20e3a6c
Merge branch 'antonis/3859-newCaptureFeedbackAPI-Form' of https://git…
antonis Dec 13, 2024
78e412c
Handle keyboard properly
antonis Dec 13, 2024
c45a5e6
Adds an option on whether the email should be validated
antonis Dec 13, 2024
6e39119
Merge properties only once
antonis Dec 13, 2024
57d99e9
Loads current user data on form construction
antonis Dec 13, 2024
6fb8ab4
Remove unneeded extra padding
antonis Dec 13, 2024
fd2e317
Fix background color issue
antonis Dec 13, 2024
0261e04
Merge branch 'antonis/3859-newCaptureFeedbackAPI-Form' into antonis/4…
antonis Dec 13, 2024
d4168c1
Adds feedback button
antonis Dec 16, 2024
5a9c02d
Updates the changelog
antonis Dec 16, 2024
b793937
Fixes changelog typo
antonis Dec 16, 2024
b209ad6
Merge branch 'main' into antonis/3859-newCaptureFeedbackAPI-Form
antonis Dec 16, 2024
4408071
Merge branch 'antonis/3859-newCaptureFeedbackAPI-Form' into antonis/4…
antonis Dec 16, 2024
bdee51b
Merge branch 'antonis/4358-Feedback-Form-Autoinject' into antonis/435…
antonis Dec 16, 2024
a40fde6
Merge branch 'main' into antonis/3859-newCaptureFeedbackAPI-Form
antonis Dec 17, 2024
2a8f13f
Updates styles background color
antonis Dec 17, 2024
0f3a244
Merge branch 'main' into antonis/3859-newCaptureFeedbackAPI-Form
antonis Dec 17, 2024
9a96e74
Use defaultProps
antonis Dec 17, 2024
10c1c0e
Merge branch 'main' into antonis/3859-newCaptureFeedbackAPI-Form
antonis Dec 17, 2024
2be08a6
Correct defaultProps
antonis Dec 17, 2024
0588552
Adds test to verify when getUser is called
antonis Dec 17, 2024
89c66d3
Merge branch 'antonis/3859-newCaptureFeedbackAPI-Form' into antonis/4…
antonis Dec 17, 2024
851b63e
Merge branch 'antonis/4358-Feedback-Form-Autoinject' into antonis/435…
antonis Dec 17, 2024
f05497c
Use smaller image
antonis Dec 18, 2024
0eb4f68
Add margin next to the icon
antonis Dec 18, 2024
fbc8f77
Adds bottom spacing in the ErrorScreen so that the feedback button do…
antonis Dec 18, 2024
e0ec92d
Merge branch 'main' into antonis/3859-newCaptureFeedbackAPI-Form
antonis Dec 18, 2024
fada0fb
Merge branch 'antonis/3859-newCaptureFeedbackAPI-Form' into antonis/4…
antonis Dec 18, 2024
2d30fd7
Merge branch 'antonis/4358-Feedback-Form-Autoinject' into antonis/435…
antonis Dec 18, 2024
265e629
(2.2) feat: Add Feedback Form UI Branding logo (#4357)
antonis Dec 19, 2024
da0e3ea
Autoinject feedback form (#4370)
antonis Dec 19, 2024
a931ba9
Merge branch 'main' into antonis/3859-newCaptureFeedbackAPI-Form
antonis Dec 19, 2024
5de8841
Merge branch 'antonis/3859-newCaptureFeedbackAPI-Form' into antonis/4…
antonis Dec 19, 2024
5f9dec6
Align changelog entry
antonis Dec 19, 2024
8359696
Merge branch 'main' into antonis/3859-newCaptureFeedbackAPI-Form
antonis Dec 19, 2024
1e8aa8f
Merge branch 'antonis/3859-newCaptureFeedbackAPI-Form' into antonis/4…
antonis Dec 19, 2024
76518cc
Merge branch 'main' into antonis/3859-newCaptureFeedbackAPI-Form
antonis Dec 23, 2024
cabd570
Merge branch 'antonis/3859-newCaptureFeedbackAPI-Form' into antonis/4…
antonis Dec 23, 2024
b0384ed
Merge branch 'main' into antonis/3859-newCaptureFeedbackAPI-Form
antonis Dec 30, 2024
61886c2
Merge branch 'main' into antonis/3859-newCaptureFeedbackAPI-Form
antonis Jan 9, 2025
9853630
Update changelog
antonis Jan 9, 2025
209a29b
Merge branch 'antonis/3859-newCaptureFeedbackAPI-Form' into antonis/4…
antonis Jan 9, 2025
fe3dc15
Disable bouncing
antonis Jan 30, 2025
72eef2d
Add modal ui appearance
antonis Jan 30, 2025
ccc808b
Update snapshot tests
antonis Jan 30, 2025
fd47fd2
Fix bottom margin
antonis Jan 30, 2025
dcc5d3b
Merge branch 'feedback-ui' into antonis/feedback-modal-ui
antonis Jan 31, 2025
9ecd8a2
Fix sheet height
antonis Jan 31, 2025
05f94f8
Remove extra modal border
antonis Jan 31, 2025
d88a599
Do not expose modal styles
antonis Jan 31, 2025
ce1de86
Animate background color
antonis Jan 31, 2025
a7a4e56
Avoid keyboard in modal
antonis Jan 31, 2025
22fd47b
Merge branch 'feedback-ui' into antonis/4358-Feedback-Form-Autoinject…
antonis Feb 3, 2025
8779886
Merge branch 'feedback-ui' into antonis/feedback-modal-ui
antonis Feb 3, 2025
7832765
Merge branch 'antonis/feedback-modal-ui' into antonis/4358-Feedback-F…
antonis Feb 3, 2025
447e3fe
Update changelog
antonis Feb 3, 2025
47f0fc4
Fix changelog
antonis Feb 3, 2025
63bfc6d
Updates comment
antonis Feb 3, 2025
6f60162
Extract FeedbackButtonProps
antonis Feb 3, 2025
ae80f7d
Merge branch 'feedback-ui' into antonis/feedback-modal-ui
antonis Feb 7, 2025
079a436
Merge branch 'antonis/feedback-modal-ui' into antonis/4358-Feedback-F…
antonis Feb 7, 2025
3e5be69
Merge branch 'feedback-ui' into antonis/4358-Feedback-Form-Autoinject…
antonis Feb 11, 2025
0dc5f27
Merge branch 'feedback-ui' into antonis/4358-Feedback-Form-Autoinject…
antonis Feb 14, 2025
f80a48d
Merge branch 'feedback-ui' into antonis/4358-Feedback-Form-Autoinject…
antonis Feb 18, 2025
b3eec7e
Merge branch 'feedback-ui' into antonis/4358-Feedback-Form-Autoinject…
antonis Feb 20, 2025
a79951c
Merge branch 'feedback-ui' into antonis/4358-Feedback-Form-Autoinject…
antonis Feb 20, 2025
b08debb
Merge branch 'feedback-ui-2' into antonis/4358-Feedback-Form-Autoinje…
antonis Feb 25, 2025
e601785
Add public function description to satisfy lint check
antonis Feb 25, 2025
2e0e5d2
Adds tests
antonis Feb 25, 2025
2620101
Merge branch 'feedback-ui-2' into antonis/4358-Feedback-Form-Autoinje…
antonis Feb 25, 2025
9f631e2
Fix tests
antonis Feb 25, 2025
90402cb
Merge branch 'feedback-ui-2' into antonis/4358-Feedback-Form-Autoinje…
antonis Mar 7, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixes imports order lint issue
antonis committed Nov 28, 2024
commit 5f3df64d0ecca29e826782239e37d796cee81b7a
3 changes: 1 addition & 2 deletions packages/core/src/js/client.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { eventFromMessage } from '@sentry/core';
import { eventFromException } from '@sentry/browser';
import { BaseClient } from '@sentry/core';
import { BaseClient, eventFromMessage } from '@sentry/core';
import type {
ClientReportEnvelope,
ClientReportItem,