1
- [gd_scene load_steps =7 format =2 ]
1
+ [gd_scene load_steps =6 format =2 ]
2
2
3
3
[ext_resource path ="res://addons/github-integration/scripts/Notifications.gd" type ="Script" id =1 ]
4
4
[ext_resource path ="res://addons/github-integration/resources/themes/GitHubTheme.tres" type ="Theme" id =2 ]
@@ -11,9 +11,7 @@ content_margin_bottom = 4.0
11
11
draw_center = false
12
12
border_width_bottom = 1
13
13
14
- [sub_resource type ="StyleBoxFlat" id =3 ]
15
-
16
- [sub_resource type ="StyleBoxEmpty" id =4 ]
14
+ [sub_resource type ="StyleBoxEmpty" id =3 ]
17
15
content_margin_left = 7.0
18
16
19
17
[node name ="Notifications" type ="Control" ]
@@ -70,9 +68,10 @@ custom_styles/separator = SubResource( 1 )
70
68
custom_constants/separation = 10
71
69
72
70
[node name ="Invitations" type ="VBoxContainer" parent ="NotificationsContainer/NotificationsTabs/Tabs" ]
71
+ visible = false
73
72
margin_top = 14.0
74
73
margin_right = 820.0
75
- margin_bottom = 522 .0
74
+ margin_bottom = 256 .0
76
75
size_flags_horizontal = 3
77
76
size_flags_vertical = 3
78
77
@@ -82,17 +81,16 @@ margin_bottom = 22.0
82
81
text = "There are 0 invitations received"
83
82
84
83
[node name ="Settings" type ="VBoxContainer" parent ="NotificationsContainer/NotificationsTabs/Tabs" ]
85
- visible = false
86
84
margin_top = 14.0
87
85
margin_right = 820.0
88
- margin_bottom = 266 .0
86
+ margin_bottom = 536 .0
89
87
size_flags_horizontal = 3
90
88
size_flags_vertical = 3
91
89
custom_constants/separation = 20
92
90
93
91
[node name ="Notifications" type ="VBoxContainer" parent ="NotificationsContainer/NotificationsTabs/Tabs/Settings" ]
94
92
margin_right = 820.0
95
- margin_bottom = 88 .0
93
+ margin_bottom = 84 .0
96
94
custom_constants/separation = 0
97
95
98
96
[node name ="Label" type ="Label" parent ="NotificationsContainer/NotificationsTabs/Tabs/Settings/Notifications" ]
@@ -102,31 +100,25 @@ custom_styles/normal = SubResource( 2 )
102
100
custom_colors/font_color_shadow = Color ( 0 , 0 , 0 , 0.392157 )
103
101
text = "Notifications Settings"
104
102
105
- [node name ="HSeparator" type ="HSeparator" parent ="NotificationsContainer/NotificationsTabs/Tabs/Settings/Notifications" ]
106
- margin_top = 18.0
107
- margin_right = 820.0
108
- margin_bottom = 22.0
109
- custom_styles/separator = SubResource ( 3 )
110
-
111
103
[node name ="AutoUpdateNotificationsChk" type ="CheckButton" parent ="NotificationsContainer/NotificationsTabs/Tabs/Settings/Notifications" ]
112
- margin_top = 22 .0
104
+ margin_top = 18 .0
113
105
margin_right = 820.0
114
- margin_bottom = 56 .0
106
+ margin_bottom = 52 .0
115
107
rect_min_size = Vector2 ( 300 , 0 )
116
108
pressed = true
117
109
text = "Auto update notifications"
118
110
119
111
[node name ="AutoUpdateTimer" type ="HBoxContainer" parent ="NotificationsContainer/NotificationsTabs/Tabs/Settings/Notifications" ]
120
- margin_top = 56 .0
112
+ margin_top = 52 .0
121
113
margin_right = 820.0
122
- margin_bottom = 88 .0
114
+ margin_bottom = 84 .0
123
115
124
116
[node name ="Label" type ="Label" parent ="NotificationsContainer/NotificationsTabs/Tabs/Settings/Notifications/AutoUpdateTimer" ]
125
117
margin_top = 9.0
126
118
margin_right = 687.0
127
119
margin_bottom = 23.0
128
120
size_flags_horizontal = 3
129
- custom_styles/normal = SubResource ( 4 )
121
+ custom_styles/normal = SubResource ( 3 )
130
122
text = "Auto update notifications timer"
131
123
132
124
[node name ="Amount" type ="LineEdit" parent ="NotificationsContainer/NotificationsTabs/Tabs/Settings/Notifications/AutoUpdateTimer" ]
@@ -144,9 +136,9 @@ margin_bottom = 27.0
144
136
text = "minutes"
145
137
146
138
[node name ="Plugin" type ="VBoxContainer" parent ="NotificationsContainer/NotificationsTabs/Tabs/Settings" ]
147
- margin_top = 108 .0
139
+ margin_top = 104 .0
148
140
margin_right = 820.0
149
- margin_bottom = 232 .0
141
+ margin_bottom = 230 .0
150
142
size_flags_vertical = 3
151
143
custom_constants/separation = 0
152
144
@@ -157,56 +149,87 @@ custom_styles/normal = SubResource( 2 )
157
149
custom_colors/font_color_shadow = Color ( 0 , 0 , 0 , 0.392157 )
158
150
text = "Plugin Settings"
159
151
160
- [node name ="HSeparator" type ="HSeparator" parent ="NotificationsContainer/NotificationsTabs/Tabs/Settings/Plugin" ]
161
- margin_top = 18.0
162
- margin_right = 820.0
163
- margin_bottom = 22.0
164
- custom_styles/separator = SubResource ( 3 )
165
-
166
152
[node name ="DebugMessagesChk" type ="CheckButton" parent ="NotificationsContainer/NotificationsTabs/Tabs/Settings/Plugin" ]
167
- margin_top = 22 .0
153
+ margin_top = 18 .0
168
154
margin_right = 820.0
169
- margin_bottom = 56 .0
155
+ margin_bottom = 52 .0
170
156
rect_min_size = Vector2 ( 300 , 0 )
171
157
pressed = true
172
158
text = "Debug messages in output console"
173
159
174
160
[node name ="AutoLoginChk" type ="CheckButton" parent ="NotificationsContainer/NotificationsTabs/Tabs/Settings/Plugin" ]
175
- margin_top = 56 .0
161
+ margin_top = 52 .0
176
162
margin_right = 820.0
177
- margin_bottom = 90 .0
163
+ margin_bottom = 86 .0
178
164
rect_min_size = Vector2 ( 300 , 0 )
179
165
text = "Auto login at plugin startup"
180
166
181
167
[node name ="DarkmodeChk" type ="CheckButton" parent ="NotificationsContainer/NotificationsTabs/Tabs/Settings/Plugin" ]
182
- margin_top = 90 .0
168
+ margin_top = 86 .0
183
169
margin_right = 820.0
184
- margin_bottom = 124 .0
170
+ margin_bottom = 120 .0
185
171
rect_min_size = Vector2 ( 300 , 0 )
172
+ pressed = true
186
173
text = "Darkmode"
187
174
188
- [node name ="ResetPluginBtn" type ="Button" parent ="NotificationsContainer/NotificationsTabs/Tabs/Settings/Plugin" ]
189
- margin_top = 370.0
175
+ [node name ="Repositories" type ="VBoxContainer" parent ="NotificationsContainer/NotificationsTabs/Tabs/Settings" ]
176
+ margin_top = 250.0
177
+ margin_right = 820.0
178
+ margin_bottom = 376.0
179
+ size_flags_vertical = 3
180
+ custom_constants/separation = 0
181
+
182
+ [node name ="Label" type ="Label" parent ="NotificationsContainer/NotificationsTabs/Tabs/Settings/Repositories" ]
183
+ margin_right = 820.0
184
+ margin_bottom = 18.0
185
+ custom_styles/normal = SubResource ( 2 )
186
+ custom_colors/font_color_shadow = Color ( 0 , 0 , 0 , 0.392157 )
187
+ text = "Repositories"
188
+
189
+ [node name ="OwnerAffiliations" type ="HBoxContainer" parent ="NotificationsContainer/NotificationsTabs/Tabs/Settings/Repositories" ]
190
+ margin_top = 18.0
191
+ margin_right = 820.0
192
+ margin_bottom = 40.0
193
+ custom_constants/separation = 10
194
+
195
+ [node name ="Label" type ="Label" parent ="NotificationsContainer/NotificationsTabs/Tabs/Settings/Repositories/OwnerAffiliations" ]
196
+ margin_right = 158.0
197
+ margin_bottom = 22.0
198
+ text = "Filter owner affiliations:"
199
+
200
+ [node name ="Owner" type ="CheckBox" parent ="NotificationsContainer/NotificationsTabs/Tabs/Settings/Repositories/OwnerAffiliations" ]
201
+ margin_left = 470.0
202
+ margin_right = 535.0
203
+ margin_bottom = 22.0
204
+ size_flags_horizontal = 10
205
+ text = "owner"
206
+
207
+ [node name ="Collaborator" type ="CheckBox" parent ="NotificationsContainer/NotificationsTabs/Tabs/Settings/Repositories/OwnerAffiliations" ]
208
+ margin_left = 545.0
209
+ margin_right = 647.0
210
+ margin_bottom = 22.0
211
+ text = "collaborator"
212
+
213
+ [node name ="OrganizationMember" type ="CheckBox" parent ="NotificationsContainer/NotificationsTabs/Tabs/Settings/Repositories/OwnerAffiliations" ]
214
+ margin_left = 657.0
215
+ margin_right = 820.0
216
+ margin_bottom = 22.0
217
+ text = "organization member"
218
+
219
+ [node name ="ResetPluginBtn" type ="Button" parent ="NotificationsContainer/NotificationsTabs/Tabs/Settings" ]
220
+ margin_top = 492.0
190
221
margin_right = 127.0
191
- margin_bottom = 400 .0
222
+ margin_bottom = 522 .0
192
223
size_flags_horizontal = 0
193
224
size_flags_vertical = 10
194
225
custom_colors/font_color = Color ( 1 , 0 , 0 , 1 )
195
226
custom_colors/font_color_hover = Color ( 0 , 0 , 0 , 1 )
196
227
text = "Reset this plugin"
197
228
198
- [node name ="HSeparator2" type ="HSeparator" parent ="NotificationsContainer/NotificationsTabs/Tabs" ]
199
- margin_top = 526.0
200
- margin_right = 820.0
201
- margin_bottom = 536.0
202
- custom_styles/separator = SubResource ( 1 )
203
- custom_constants/separation = 10
204
-
205
229
[node name ="Timer" type ="Timer" parent ="." ]
206
230
wait_time = 300.0
207
231
208
232
[node name ="ResetPluginDialog" type ="ConfirmationDialog" parent ="." ]
209
- visible = true
210
233
anchor_left = 0.5
211
234
anchor_top = 0.5
212
235
anchor_right = 0.5
0 commit comments