Remove response format from uploader UI
This commit is contained in:
@@ -1203,7 +1203,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"uploader": {
|
"uploader": {
|
||||||
"format": "Antwort-Format",
|
|
||||||
"hint": "POST mit Mediendatei oder base64-Feld \"media\"; die App nutzt diese Zugangsdaten."
|
"hint": "POST mit Mediendatei oder base64-Feld \"media\"; die App nutzt diese Zugangsdaten."
|
||||||
},
|
},
|
||||||
"actions": {
|
"actions": {
|
||||||
|
|||||||
@@ -916,7 +916,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"uploader": {
|
"uploader": {
|
||||||
"format": "Response format",
|
|
||||||
"hint": "POST with media file or base64 \"media\" field; app uses these credentials."
|
"hint": "POST with media file or base64 \"media\" field; app uses these credentials."
|
||||||
},
|
},
|
||||||
"actions": {
|
"actions": {
|
||||||
|
|||||||
@@ -144,7 +144,6 @@ export default function MobileEventPhotoboothPage() {
|
|||||||
const uploads24h = metrics?.uploads_24h ?? metrics?.uploads_today;
|
const uploads24h = metrics?.uploads_24h ?? metrics?.uploads_today;
|
||||||
const uploadsTotal = metrics?.uploads_total;
|
const uploadsTotal = metrics?.uploads_total;
|
||||||
const uploadUrl = spark?.upload_url ?? status?.upload_url;
|
const uploadUrl = spark?.upload_url ?? status?.upload_url;
|
||||||
const responseFormat = spark?.response_format ?? 'json';
|
|
||||||
const username = spark?.username ?? status?.username ?? null;
|
const username = spark?.username ?? status?.username ?? null;
|
||||||
const password = spark?.password ?? status?.password ?? null;
|
const password = spark?.password ?? status?.password ?? null;
|
||||||
|
|
||||||
@@ -261,7 +260,6 @@ export default function MobileEventPhotoboothPage() {
|
|||||||
<CredentialRow label={t('photobooth.credentials.postUrl', 'Upload URL')} value={uploadUrl ?? '—'} border={border} />
|
<CredentialRow label={t('photobooth.credentials.postUrl', 'Upload URL')} value={uploadUrl ?? '—'} border={border} />
|
||||||
<CredentialRow label={t('photobooth.credentials.username', 'Username')} value={username ?? '—'} border={border} />
|
<CredentialRow label={t('photobooth.credentials.username', 'Username')} value={username ?? '—'} border={border} />
|
||||||
<CredentialRow label={t('photobooth.credentials.password', 'Password')} value={password ?? '—'} border={border} masked />
|
<CredentialRow label={t('photobooth.credentials.password', 'Password')} value={password ?? '—'} border={border} masked />
|
||||||
<CredentialRow label={t('photobooth.uploader.format', 'Response format')} value={responseFormat.toUpperCase()} border={border} />
|
|
||||||
<Text fontSize="$xs" color={muted}>
|
<Text fontSize="$xs" color={muted}>
|
||||||
{t('photobooth.uploader.hint', 'POST with media file or base64 "media" field; app uses these credentials.')}
|
{t('photobooth.uploader.hint', 'POST with media file or base64 "media" field; app uses these credentials.')}
|
||||||
</Text>
|
</Text>
|
||||||
|
|||||||
Reference in New Issue
Block a user