-
-
Notifications
You must be signed in to change notification settings - Fork 355
(2.2) feat: Add Feedback Form UI Branding logo #4357
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
Changes from 5 commits
b6953a3
d22d660
c02d84f
61e4d4d
fbb402b
bb79879
1350545
727a423
449a803
c6dff03
b668999
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,7 +2,7 @@ import { captureFeedback, lastEventId } from '@sentry/core'; | |
| import type { SendFeedbackParams } from '@sentry/types'; | ||
| import * as React from 'react'; | ||
| import type { KeyboardTypeOptions } from 'react-native'; | ||
| import { Alert, Text, TextInput, TouchableOpacity, View } from 'react-native'; | ||
| import { Alert, Image, Text, TextInput, TouchableOpacity, View } from 'react-native'; | ||
|
|
||
| import { defaultConfiguration } from './defaults'; | ||
| import defaultStyles from './FeedbackForm.styles'; | ||
|
|
@@ -80,7 +80,16 @@ export class FeedbackForm extends React.Component<FeedbackFormProps, FeedbackFor | |
|
|
||
| return ( | ||
| <View style={styles.container}> | ||
| <Text style={styles.title}>{text.formTitle}</Text> | ||
| <View style={styles.titleContainer}> | ||
| <Text style={styles.title}>{text.formTitle}</Text> | ||
| {config.showBranding && ( | ||
| <Image | ||
| source={{ uri: 'https://sentry-brand.storage.googleapis.com/sentry-glyph-black.png' }} | ||
|
||
| style={styles.sentryLogo} | ||
| testID='sentry-logo' | ||
| /> | ||
| )} | ||
| </View> | ||
|
|
||
| {config.showName && ( | ||
| <> | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.