Track pending browsing upvotes
This commit is contained in:
1 parent
540590f43e
commit
1fd154e1eb
13 files changed
+73
-27
No files matched your search
@@ -242,8 +242,11 @@ function BrowsingSimulationSection({ account }: { account: GrowthAccountDetail }
|
||||
<a href={`https://www.reddit.com${decision.permalink}`} rel="noreferrer noopener" target="_blank">
|
||||
r/{decision.subreddit} — {decision.thingKind} by u/{decision.author}
|
||||
</a>
|
||||
<span className={`pill ${decision.voteSubmitted ? 'success' : 'neutral'}`}>
|
||||
{decision.voteSubmitted ? 'Upvote submitted' : 'Simulated selection'}
|
||||
<span className={`pill ${decision.voteStatus === 'submitted' ? 'success' : decision.voteStatus === 'failed' ? 'danger' : 'neutral'}`}>
|
||||
{decision.voteStatus === 'pending' ? 'Pending upvote'
|
||||
: decision.voteStatus === 'submitted' ? 'Upvote submitted'
|
||||
: decision.voteStatus === 'failed' ? 'Upvote failed'
|
||||
: 'Simulated selection'}
|
||||
</span>
|
||||
</div>
|
||||
<p className="field-hint">{new Date(decision.decidedAt).toLocaleString()}</p>
|
||||
|
||||
Reference in new issue
Block a user