Add event photo search changes

This commit is contained in:
Tanuja Pansare 2026-08-05 09:55:52 +05:30
parent 6af4fc1608
commit 0551881365
1 changed files with 4 additions and 4 deletions

View File

@ -519,13 +519,13 @@ setSearchResults(data.data.matches ?? []);
<p style={{ margin: 0, fontSize: 'var(--text-xs)', fontWeight: 600, color: 'var(--foreground)', overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap' }}> <p style={{ margin: 0, fontSize: 'var(--text-xs)', fontWeight: 600, color: 'var(--foreground)', overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap' }}>
{p.originalFileName} {p.originalFileName}
</p> </p>
<p style={{ margin: '4px 0 0', fontSize: 10, color: 'var(--muted)' }}> {/* <p style={{ margin: '4px 0 0', fontSize: 10, color: 'var(--muted)' }}>
Document ID: {p._id} Document ID: {p._id}
</p> </p> */}
<p style={{ margin: '2px 0 0', fontSize: 10, color: 'var(--muted)' }}> <p style={{ margin: '2px 0 0', fontSize: 10, color: 'var(--muted)' }}>
{formatWhen(p.uploadedAt)} {formatWhen(p.uploadedAt)}
</p> </p>
{p.embedding_generated && ( {/* {p.embedding_generated && (
<span <span
style={{ style={{
display: 'inline-block', display: 'inline-block',
@ -540,7 +540,7 @@ setSearchResults(data.data.matches ?? []);
> >
Embedding Ready Embedding Ready
</span> </span>
)} )} */}
<div style={{ marginTop: 6, display: 'flex', gap: 4 }}> <div style={{ marginTop: 6, display: 'flex', gap: 4 }}>
<button <button
type="button" type="button"