feat(FN-4202): complete Step 2 — align ntfy test labels and feedback wording

Fusion-Task-Id: FN-4202
Fusion-Task-Lineage: 80626869-c2ef-4a57-ba94-e3fe37cfc2b8
This commit is contained in:
Fusion
2026-05-13 04:31:34 -07:00
committed by gsxdsm
parent 3a6f64b579
commit e6d522b8b2

View File

@@ -5108,7 +5108,7 @@ export function SettingsModal({
!/^[a-zA-Z0-9_-]{1,64}$/.test(form.ntfyTopic) !/^[a-zA-Z0-9_-]{1,64}$/.test(form.ntfyTopic)
} }
> >
{testNotificationLoading["ntfy-message"] ? "Sending…" : "Test message notification"} {testNotificationLoading["ntfy-message"] ? "Sending…" : "Test direct message"}
</button> </button>
<button <button
type="button" type="button"
@@ -5123,24 +5123,24 @@ export function SettingsModal({
!/^[a-zA-Z0-9_-]{1,64}$/.test(form.ntfyTopic) !/^[a-zA-Z0-9_-]{1,64}$/.test(form.ntfyTopic)
} }
> >
{testNotificationLoading["ntfy-room"] ? "Sending…" : "Send test room notification"} {testNotificationLoading["ntfy-room"] ? "Sending…" : "Test room reply"}
</button> </button>
</div> </div>
{(testNotificationResult["ntfy"] || testNotificationResult["ntfy-message"] || testNotificationResult["ntfy-room"]) && ( {(testNotificationResult["ntfy"] || testNotificationResult["ntfy-message"] || testNotificationResult["ntfy-room"]) && (
<div className="notification-test-feedback" aria-live="polite"> <div className="notification-test-feedback" aria-live="polite">
{testNotificationResult["ntfy"] && ( {testNotificationResult["ntfy"] && (
<small className={`notification-test-feedback-item notification-test-feedback-item--${testNotificationResult["ntfy"].status}`}> <small className={`notification-test-feedback-item notification-test-feedback-item--${testNotificationResult["ntfy"].status}`}>
{testNotificationResult["ntfy"].message} General: {testNotificationResult["ntfy"].message}
</small> </small>
)} )}
{testNotificationResult["ntfy-message"] && ( {testNotificationResult["ntfy-message"] && (
<small className={`notification-test-feedback-item notification-test-feedback-item--${testNotificationResult["ntfy-message"].status}`}> <small className={`notification-test-feedback-item notification-test-feedback-item--${testNotificationResult["ntfy-message"].status}`}>
{testNotificationResult["ntfy-message"].message} Direct message: {testNotificationResult["ntfy-message"].message}
</small> </small>
)} )}
{testNotificationResult["ntfy-room"] && ( {testNotificationResult["ntfy-room"] && (
<small className={`notification-test-feedback-item notification-test-feedback-item--${testNotificationResult["ntfy-room"].status}`}> <small className={`notification-test-feedback-item notification-test-feedback-item--${testNotificationResult["ntfy-room"].status}`}>
{testNotificationResult["ntfy-room"].message} Room reply: {testNotificationResult["ntfy-room"].message}
</small> </small>
)} )}
</div> </div>