Add commenter targeting mode

This commit is contained in:
Jamie Brunton committed 2026-08-14 08:51:27 +01:00
1 parent 0dfdda61fd
commit e9a4c965ee
23 files changed
+374 -10

No files matched your search

@@ -164,6 +164,19 @@ export function SubredditEditor({
options={[{ value: 'image', label: 'Image posts' }, { value: 'chat', label: 'Chat and text posts' }]}
value={draft.type}
/>
<SelectField
hint="Comment mode scans reactions on each new image post and contacts only high-confidence matches."
label="Recipient"
name="subreddit-targeting-mode"
onChange={(targetingMode) => update({ targetingMode })}
options={draft.type === 'chat'
? [{ value: 'post-author', label: 'Post author' }]
: [
{ value: 'post-author', label: 'Post author' },
{ value: 'comment-author', label: 'Qualifying commenter' },
]}
value={draft.type === 'chat' ? 'post-author' : draft.targetingMode}
/>
</div>
</fieldset>