Skip to content

Commit a679369

Browse files
ref(uptime): Move url and method up in uptime form (#95166)
Split out from #93042
1 parent f579122 commit a679369

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

static/app/views/alerts/rules/uptime/uptimeAlertForm.tsx

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,25 @@ export function UptimeAlertForm({project, handleDelete, rule}: Props) {
197197
</ListItemSubText>
198198
<Configuration>
199199
<ConfigurationPanel>
200+
<TextField
201+
name="url"
202+
label={t('URL')}
203+
placeholder={t('The URL to monitor')}
204+
flexibleControlStateSize
205+
monospace
206+
required
207+
/>
208+
<SelectField
209+
name="method"
210+
label={t('Method')}
211+
defaultValue="GET"
212+
options={HTTP_METHOD_OPTIONS.map(option => ({
213+
value: option,
214+
label: option,
215+
}))}
216+
flexibleControlStateSize
217+
required
218+
/>
200219
<SelectField
201220
options={VALID_INTERVALS_SEC.map(value => ({
202221
value,
@@ -240,25 +259,6 @@ export function UptimeAlertForm({project, handleDelete, rule}: Props) {
240259
flexibleControlStateSize
241260
required
242261
/>
243-
<TextField
244-
name="url"
245-
label={t('URL')}
246-
placeholder={t('The URL to monitor')}
247-
flexibleControlStateSize
248-
monospace
249-
required
250-
/>
251-
<SelectField
252-
name="method"
253-
label={t('Method')}
254-
defaultValue="GET"
255-
options={HTTP_METHOD_OPTIONS.map(option => ({
256-
value: option,
257-
label: option,
258-
}))}
259-
flexibleControlStateSize
260-
required
261-
/>
262262
<UptimeHeadersField
263263
name="headers"
264264
label={t('Headers')}

0 commit comments

Comments
 (0)