feat: add informational message for bulk auto-match operation
Some checks failed
CI / skip-ci-check (pull_request) Successful in 17s
CI / lint-and-type-check (pull_request) Successful in 1m1s
CI / python-lint (pull_request) Successful in 44s
CI / test-backend (pull_request) Successful in 2m51s
CI / build (pull_request) Failing after 3m29s
CI / secret-scanning (pull_request) Successful in 24s
CI / dependency-scan (pull_request) Successful in 21s
CI / sast-scan (pull_request) Successful in 1m37s
CI / workflow-summary (pull_request) Failing after 15s

- Show confirmation dialog before starting auto-match operation
- Inform users that it's a bulk operation processing entire photo library
- Warn that some matches may not be 100% accurate
- Recommend reviewing results after completion
This commit is contained in:
Tanya 2026-02-11 12:15:44 -05:00
parent 4d8158ab94
commit 726b36db80

View File

@ -449,6 +449,22 @@ export default function AutoMatch() {
return
}
// Show informational message about bulk operation
const infoMessage = [
' Bulk Auto-Match Operation',
'',
'This operation will automatically match faces across your entire photo library.',
'While the system uses advanced matching algorithms, some matches may not be 100% accurate.',
'',
'Please review the results after completion to ensure accuracy.',
'',
'Do you want to proceed with the auto-match operation?'
].join('\n')
if (!confirm(infoMessage)) {
return
}
setBusy(true)
try {
const response = await facesApi.autoMatch({