Skip to content

Commit c4d4741

Browse files
authored
feat: User feedback form (#422)
1 parent 624b9c2 commit c4d4741

13 files changed

+785
-6
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Project-related
2-
project/addons/
2+
project/addons/gdUnit4
3+
project/addons/sentry/*
4+
!project/addons/sentry/user_feedback/
35
project/export_presets.cfg
46
project/.vscode/
57
project/reports/

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Features
66

77
- Add user feedback API for collecting and sending user feedback to Sentry ([#418](https://github.com/getsentry/sentry-godot/pull/418))
8+
- Add customizable User Feedback form that can be used for feedback submission, and as an example for custom implementations ([#422](https://github.com/getsentry/sentry-godot/pull/422))
89
- Access event exception values in `before_send` handler ([#415](https://github.com/getsentry/sentry-godot/pull/415))
910
- Add support for Structured Logging ([#409](https://github.com/getsentry/sentry-godot/pull/409))
1011

Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[remap]
2+
3+
importer="svg"
4+
type="DPITexture"
5+
uid="uid://d0o3nt85ac67i"
6+
path="res://.godot/imported/logo.svg-25820d7157ee760c1db8b8ba461e2e2f.dpitex"
7+
8+
[deps]
9+
10+
source_file="res://addons/sentry/user_feedback/logo.svg"
11+
dest_files=["res://.godot/imported/logo.svg-25820d7157ee760c1db8b8ba461e2e2f.dpitex"]
12+
13+
[params]
14+
15+
base_scale=1.0
16+
saturation=1.0
17+
color_map={}
18+
compress=true
Lines changed: 283 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,283 @@
1+
[gd_resource type="Theme" load_steps=15 format=3 uid="uid://bw0anqwp7xj8t"]
2+
3+
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_hffoe"]
4+
content_margin_left = 12.0
5+
content_margin_top = 10.0
6+
content_margin_right = 12.0
7+
content_margin_bottom = 10.0
8+
bg_color = Color(0.954, 0.954, 0.954, 1)
9+
draw_center = false
10+
border_width_left = 4
11+
border_width_top = 4
12+
border_width_right = 4
13+
border_width_bottom = 4
14+
border_color = Color(0.39607844, 0.34901962, 0.77254903, 1)
15+
corner_radius_top_left = 6
16+
corner_radius_top_right = 6
17+
corner_radius_bottom_right = 6
18+
corner_radius_bottom_left = 6
19+
corner_detail = 5
20+
anti_aliasing = false
21+
22+
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_e23mj"]
23+
content_margin_left = 12.0
24+
content_margin_top = 10.0
25+
content_margin_right = 12.0
26+
content_margin_bottom = 10.0
27+
bg_color = Color(0.49787024, 0.43896988, 0.9101726, 1)
28+
border_color = Color(0.98099995, 0.98099995, 0.98099995, 1)
29+
corner_radius_top_left = 6
30+
corner_radius_top_right = 6
31+
corner_radius_bottom_right = 6
32+
corner_radius_bottom_left = 6
33+
corner_detail = 5
34+
anti_aliasing = false
35+
36+
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_g6gn8"]
37+
content_margin_left = 12.0
38+
content_margin_top = 10.0
39+
content_margin_right = 12.0
40+
content_margin_bottom = 10.0
41+
bg_color = Color(0.42352942, 0.37254903, 0.78039217, 1)
42+
border_color = Color(0.98099995, 0.98099995, 0.98099995, 1)
43+
corner_radius_top_left = 6
44+
corner_radius_top_right = 6
45+
corner_radius_bottom_right = 6
46+
corner_radius_bottom_left = 6
47+
corner_detail = 5
48+
anti_aliasing = false
49+
50+
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_63sqy"]
51+
content_margin_left = 12.0
52+
content_margin_top = 10.0
53+
content_margin_right = 12.0
54+
content_margin_bottom = 10.0
55+
bg_color = Color(0.42352942, 0.37254903, 0.78039217, 1)
56+
border_color = Color(0.98099995, 0.98099995, 0.98099995, 1)
57+
corner_radius_top_left = 6
58+
corner_radius_top_right = 6
59+
corner_radius_bottom_right = 6
60+
corner_radius_bottom_left = 6
61+
corner_detail = 5
62+
anti_aliasing = false
63+
64+
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_5o1s5"]
65+
content_margin_left = 12.0
66+
content_margin_top = 10.0
67+
content_margin_right = 12.0
68+
content_margin_bottom = 10.0
69+
bg_color = Color(0.90999997, 0.90999997, 0.90999997, 1)
70+
border_color = Color(0.93, 0.93, 0.93, 1)
71+
corner_radius_top_left = 6
72+
corner_radius_top_right = 6
73+
corner_radius_bottom_right = 6
74+
corner_radius_bottom_left = 6
75+
corner_detail = 5
76+
anti_aliasing = false
77+
78+
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_4sisp"]
79+
content_margin_left = 12.0
80+
content_margin_top = 10.0
81+
content_margin_right = 12.0
82+
content_margin_bottom = 10.0
83+
bg_color = Color(0.954, 0.954, 0.954, 1)
84+
draw_center = false
85+
border_width_left = 4
86+
border_width_top = 4
87+
border_width_right = 4
88+
border_width_bottom = 4
89+
border_color = Color(0.39607844, 0.34901962, 0.77254903, 1)
90+
corner_radius_top_left = 6
91+
corner_radius_top_right = 6
92+
corner_radius_bottom_right = 6
93+
corner_radius_bottom_left = 6
94+
corner_detail = 5
95+
anti_aliasing = false
96+
97+
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_gix2e"]
98+
content_margin_left = 12.0
99+
content_margin_top = 10.0
100+
content_margin_right = 12.0
101+
content_margin_bottom = 10.0
102+
bg_color = Color(0.9607843, 0.9529412, 0.96862745, 1)
103+
border_color = Color(0, 0, 0, 0.05)
104+
corner_radius_top_left = 6
105+
corner_radius_top_right = 6
106+
corner_radius_bottom_right = 6
107+
corner_radius_bottom_left = 6
108+
corner_detail = 5
109+
anti_aliasing = false
110+
111+
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_7qvkq"]
112+
content_margin_left = 12.0
113+
content_margin_top = 10.0
114+
content_margin_right = 12.0
115+
content_margin_bottom = 10.0
116+
bg_color = Color(0.96862745, 0.9647059, 0.9764706, 1)
117+
border_width_left = 2
118+
border_width_top = 2
119+
border_width_right = 2
120+
border_width_bottom = 2
121+
border_color = Color(0.98099995, 0.98099995, 0.98099995, 1)
122+
corner_radius_top_left = 6
123+
corner_radius_top_right = 6
124+
corner_radius_bottom_right = 6
125+
corner_radius_bottom_left = 6
126+
corner_detail = 5
127+
anti_aliasing = false
128+
129+
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_6xjsq"]
130+
content_margin_left = 12.0
131+
content_margin_top = 10.0
132+
content_margin_right = 12.0
133+
content_margin_bottom = 10.0
134+
bg_color = Color(0.83475, 0.83475, 0.83475, 1)
135+
border_color = Color(0.98099995, 0.98099995, 0.98099995, 1)
136+
corner_radius_top_left = 6
137+
corner_radius_top_right = 6
138+
corner_radius_bottom_right = 6
139+
corner_radius_bottom_left = 6
140+
corner_detail = 5
141+
anti_aliasing = false
142+
143+
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_sfof1"]
144+
content_margin_left = 8.0
145+
content_margin_top = 8.0
146+
content_margin_right = 8.0
147+
content_margin_bottom = 8.0
148+
149+
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_pmhvd"]
150+
content_margin_left = 12.0
151+
content_margin_top = 10.0
152+
content_margin_right = 12.0
153+
content_margin_bottom = 10.0
154+
bg_color = Color(0.96862745, 0.9647059, 0.9764706, 1)
155+
draw_center = false
156+
border_width_left = 4
157+
border_width_top = 4
158+
border_width_right = 4
159+
border_width_bottom = 4
160+
border_color = Color(0.42352942, 0.37254903, 0.78039217, 1)
161+
corner_radius_top_left = 6
162+
corner_radius_top_right = 6
163+
corner_radius_bottom_right = 6
164+
corner_radius_bottom_left = 6
165+
corner_detail = 5
166+
anti_aliasing = false
167+
168+
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ij1qw"]
169+
content_margin_left = 12.0
170+
content_margin_top = 10.0
171+
content_margin_right = 12.0
172+
content_margin_bottom = 10.0
173+
bg_color = Color(0.96862745, 0.9647059, 0.9764706, 1)
174+
border_width_bottom = 4
175+
border_color = Color(0.8784314, 0.8627451, 0.8980392, 1)
176+
corner_radius_top_left = 6
177+
corner_radius_top_right = 6
178+
corner_detail = 5
179+
anti_aliasing = false
180+
181+
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_3wai3"]
182+
content_margin_left = 12.0
183+
content_margin_top = 10.0
184+
content_margin_right = 12.0
185+
content_margin_bottom = 10.0
186+
bg_color = Color(0.9607843, 0.9529412, 0.96862745, 1)
187+
border_width_bottom = 4
188+
border_color = Color(0.9411765, 0.9254902, 0.9529412, 1)
189+
corner_radius_top_left = 6
190+
corner_radius_top_right = 6
191+
corner_detail = 5
192+
anti_aliasing = false
193+
194+
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_qfyhw"]
195+
content_margin_left = 12.0
196+
content_margin_top = 10.0
197+
content_margin_right = 12.0
198+
content_margin_bottom = 10.0
199+
bg_color = Color(1, 1, 1, 1)
200+
border_color = Color(0.98099995, 0.98099995, 0.98099995, 1)
201+
corner_radius_top_left = 6
202+
corner_radius_top_right = 6
203+
corner_radius_bottom_right = 6
204+
corner_radius_bottom_left = 6
205+
corner_detail = 5
206+
anti_aliasing = false
207+
208+
[resource]
209+
default_font_size = 20
210+
ActionButton/base_type = &"Button"
211+
ActionButton/colors/font_color = Color(1, 1, 1, 1)
212+
ActionButton/colors/font_focus_color = Color(1, 1, 1, 1)
213+
ActionButton/colors/font_hover_color = Color(1, 1, 1, 1)
214+
ActionButton/colors/font_pressed_color = Color(0.9607843, 0.9529412, 0.96862745, 1)
215+
ActionButton/styles/focus = SubResource("StyleBoxFlat_hffoe")
216+
ActionButton/styles/hover = SubResource("StyleBoxFlat_e23mj")
217+
ActionButton/styles/normal = SubResource("StyleBoxFlat_g6gn8")
218+
ActionButton/styles/pressed = SubResource("StyleBoxFlat_63sqy")
219+
BoxContainer/constants/separation = 4
220+
Button/colors/font_color = Color(0.24313726, 0.20392157, 0.27450982, 1)
221+
Button/colors/font_disabled_color = Color(0.44313726, 0.3882353, 0.49411765, 1)
222+
Button/colors/font_focus_color = Color(0.24313726, 0.20392157, 0.27450982, 1)
223+
Button/colors/font_hover_color = Color(0.24313726, 0.20392157, 0.27450982, 1)
224+
Button/colors/font_hover_pressed_color = Color(0.39607844, 0.34901962, 0.77254903, 1)
225+
Button/colors/font_outline_color = Color(0, 0, 0, 0)
226+
Button/colors/font_pressed_color = Color(0.39607844, 0.34901962, 0.77254903, 1)
227+
Button/colors/icon_disabled_color = Color(1, 1, 1, 0.4)
228+
Button/colors/icon_focus_color = Color(1.45, 1.45, 1.45, 1)
229+
Button/colors/icon_hover_color = Color(1.45, 1.45, 1.45, 1)
230+
Button/colors/icon_hover_pressed_color = Color(0.63, 1.75, 3.5, 1)
231+
Button/colors/icon_normal_color = Color(1, 1, 1, 1)
232+
Button/colors/icon_pressed_color = Color(0.63, 1.75, 3.5, 1)
233+
Button/constants/align_to_largest_stylebox = 1
234+
Button/constants/h_separation = 8
235+
Button/constants/outline_size = 0
236+
Button/styles/disabled = SubResource("StyleBoxFlat_5o1s5")
237+
Button/styles/focus = SubResource("StyleBoxFlat_4sisp")
238+
Button/styles/hover = SubResource("StyleBoxFlat_gix2e")
239+
Button/styles/normal = SubResource("StyleBoxFlat_7qvkq")
240+
Button/styles/pressed = SubResource("StyleBoxFlat_6xjsq")
241+
HeaderMedium/colors/font_color = Color(0.24313726, 0.20392157, 0.27450982, 1)
242+
HeaderMedium/font_sizes/font_size = 26
243+
Label/colors/font_color = Color(0.24313726, 0.20392157, 0.27450982, 1)
244+
Label/colors/font_outline_color = Color(0, 0, 0, 0)
245+
Label/colors/font_shadow_color = Color(0, 0, 0, 0)
246+
Label/constants/line_spacing = 6
247+
Label/constants/outline_size = 0
248+
Label/constants/shadow_offset_x = 2
249+
Label/constants/shadow_offset_y = 2
250+
Label/constants/shadow_outline_size = 2
251+
Label/styles/focus = SubResource("StyleBoxFlat_4sisp")
252+
Label/styles/normal = SubResource("StyleBoxEmpty_sfof1")
253+
LineEdit/colors/caret_color = Color(0.24313726, 0.20392157, 0.27450982, 1)
254+
LineEdit/colors/clear_button_color = Color(0.24313726, 0.20392157, 0.27450982, 1)
255+
LineEdit/colors/clear_button_color_pressed = Color(0.39607844, 0.34901962, 0.77254903, 1)
256+
LineEdit/colors/font_color = Color(0.24313726, 0.20392157, 0.27450982, 1)
257+
LineEdit/colors/font_outline_color = Color(0, 0, 0, 0)
258+
LineEdit/colors/font_placeholder_color = Color(0.44313726, 0.3882353, 0.49411765, 1)
259+
LineEdit/colors/font_selected_color = Color(0.24313726, 0.20392157, 0.27450982, 1)
260+
LineEdit/colors/font_uneditable_color = Color(0, 0, 0, 0.65)
261+
LineEdit/colors/selection_color = Color(0.39607844, 0.34901962, 0.77254903, 0.4)
262+
LineEdit/constants/caret_width = 1
263+
LineEdit/constants/minimum_character_width = 4
264+
LineEdit/constants/outline_size = 0
265+
LineEdit/styles/focus = SubResource("StyleBoxFlat_pmhvd")
266+
LineEdit/styles/normal = SubResource("StyleBoxFlat_ij1qw")
267+
LineEdit/styles/read_only = SubResource("StyleBoxFlat_3wai3")
268+
MainBoxContainer/constants/separation = 10
269+
PanelContainer/styles/panel = SubResource("StyleBoxFlat_qfyhw")
270+
TextEdit/colors/background_color = Color(0, 0, 0, 0)
271+
TextEdit/colors/caret_color = Color(0.24313726, 0.20392157, 0.27450982, 1)
272+
TextEdit/colors/font_color = Color(0.24313726, 0.20392157, 0.27450982, 1)
273+
TextEdit/colors/font_outline_color = Color(0, 0, 0, 0)
274+
TextEdit/colors/font_placeholder_color = Color(0.44313726, 0.3882353, 0.49411765, 1)
275+
TextEdit/colors/font_readonly_color = Color(0, 0, 0, 0.65)
276+
TextEdit/colors/font_selected_color = Color(0.24313726, 0.20392157, 0.27450982, 1)
277+
TextEdit/colors/selection_color = Color(0.39607844, 0.34901962, 0.77254903, 0.4)
278+
TextEdit/constants/caret_width = 1
279+
TextEdit/constants/line_spacing = 8
280+
TextEdit/constants/outline_size = 0
281+
TextEdit/styles/focus = SubResource("StyleBoxFlat_pmhvd")
282+
TextEdit/styles/normal = SubResource("StyleBoxFlat_ij1qw")
283+
TextEdit/styles/read_only = SubResource("StyleBoxFlat_3wai3")

0 commit comments

Comments
 (0)