In the context of a monday.com app that integrates with… · The Chat Archive
Explore In the context of a monday.com app that integrates with Docusign, we have mainly two… Save Share Download ▾ ReportIn the context of a monday.com app that integrates with Docusign, we have mainly
two features, an item view and sentence recipes automations. For the
automations, we handle both flows, monday -> Docusign, and Docusign -> monday
and we do things like "When status changes to {something}, create envelope with
this {data}" or "When envelope in completed, upload certificate of completion in
file column" and other automations of course. The item view was initially
thought out as being used mainly for Docusign Sender View (when an automation
created a draft envelope), or sending envelope manually with basic data, like
usiing a name or email from a column, supporting sending from scratch or using a
template.
But now come to think it could be way better, even the manual sending process
could be greatly improved like having more advanced mapping, like adding more
recipients and displaying all recipients and tabs from a template like we do in
our backend for the automations with dynamic mapping (shown below) and we could
improve UI/UX overall. We could also show more about the envelope attached to
the item like if the signers have viewed and what signers left to sign.
Help me with an improved version. You can use mock data for now. It's important
we use the themeColors and the themes to adapt to multiple monday themes, but
can also use more colors if the fit the design.
first of all. this is from our backend to show the fields for mapping for the
monday -> Docusign flow when using a template. It shows the recipients, their
tabs and prefill (sender) tabs too:
Then, the following is the current front end (just the item view);
///+page.svelte:
///src\lib\components\EmptyEnvelopes.svelte
//src\lib\components\EnvelopeCreator.svelte
{#if error} {error} {/if}
{#if currentStep === 'credentials'}
{#if isLoading}
{:else}
{#each credentials as cred}
<button
onclick={() => selectedCredential = cred.value}
class="cursor-pointer w-full p-4 rounded-md border transition-all text-left"
style="border-color: {selectedCredential === cred.value ? 'var(--primary-color)' : 'var(--border-color)'};
background-color: {selectedCredential === cred.value ? 'var(--primary-selected-color)' : 'var(--input-bg-color)'};">
{#if selectedCredential === cred.value}
{/if}
{cred.title}
{/each}
<button
onclick={connectNewAccount}
disabled={isConnectingAccount}
class="cursor-pointer w-full p-4 rounded-md border border-dashed transition-all text-left flex items-center gap-3 disabled:opacity-50 disabled:cursor-not-allowed"
style="border-color: var(--border-color); background-color: transparent"
onmouseenter={(e) => !isConnectingAccount && (e.currentTarget.style.backgroundColor = themeCssVars['--input-bg-color'])}
onmouseleave={(e) => e.currentTarget.style.backgroundColor = 'transparent'}>
{#if isConnectingAccount}
<div class="animate-spin rounded-full h-5 w-5 border-b-2" style="border-color: var(--primary-color)"></div>
<span style="color: var(--text-secondary-color)">
{#if oauthWindowOpen}
Complete sign-in in the popup window...
{:else}
Connecting...
{/if}
</span>
{:else}
<svg class="h-5 w-5" style="color: var(--primary-color)" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 4v16m8-8H4" />
</svg>
<span style="color: var(--primary-color)">Connect New Account</span>
{/if}
</button>
</div>
AssistantCopy response Copy first prompt
Other models, same or similar prompt Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Details
Provider Anthropic
Model provenance As recorded by source dataset
Turns 1 (2 messages)
Language en
Conversation date Jul 15, 2026
Added to archive Nov 19, 2026
ID 01m7tp690dxrzpcrewtmmw66f1Source & license Imported from Arena WebDev Preferences (2026) (source ). Imported records earn no Research Points.
Upstream record: 019f63b0-9f19-7a07-9718-f210cca9a609:a
Chi et al., Interaction-as-a-Judge (2026). arXiv:2610.17895.
License: Prompts CC-BY-4.0; outputs governed by provider terms
Dataset releases Not yet included in a published release.
{#if currentStep === 'source'}
<button
onclick={() => sourceType = 'scratch'}
class="cursor-pointer p-6 rounded-md border transition-all text-center"
style="border-color: {sourceType === 'scratch' ? 'var(--primary-color)' : 'var(--border-color)'};
background-color: {sourceType === 'scratch' ? 'var(--primary-selected-color)' : 'var(--input-bg-color)'};">
<svg class="h-12 w-12 mx-auto mb-3" style="color: {sourceType === 'scratch' ? 'var(--primary-color)' : 'var(--text-secondary-color)'}" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 4v16m8-8H4" />
</svg>
<span class="font-medium" style="color: var(--text-color)">Create from Scratch</span>
<p class="text-sm mt-1" style="color: var(--text-secondary-color)">Upload or select documents</p>
</button>
{#if currentStep === 'template'}
{#if isLoadingTemplates}
{:else if templates.length === 0}
No templates found in your DocuSign account.
{:else}
{#each templates as template}
<button
onclick={() => selectedTemplate = template.value}
class="cursor-pointer w-full p-3 rounded-md border transition-all text-left"
style="border-color: {selectedTemplate === template.value ? 'var(--primary-color)' : 'var(--border-color)'};
background-color: {selectedTemplate === template.value ? 'var(--primary-selected-color)' : 'var(--input-bg-color)'};">
{#if selectedTemplate === template.value}
{/if}
{template.title}
{/each}
{/if}
{/if}
{#if currentStep === 'documents'}
<button
onclick={() => documentSource = 'column'}
class="cursor-pointer p-4 rounded-md border transition-all text-center"
style="border-color: {documentSource === 'column' ? 'var(--primary-color)' : 'var(--border-color)'};
background-color: {documentSource === 'column' ? 'var(--primary-selected-color)' : 'var(--input-bg-color)'};">
<svg class="h-8 w-8 mx-auto mb-2" style="color: {documentSource === 'column' ? 'var(--primary-color)' : 'var(--text-secondary-color)'}" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />
</svg>
<span class="text-sm font-medium" style="color: var(--text-color)">From Column</span>
<p class="text-xs mt-1" style="color: var(--text-secondary-color)">Select file column</p>
</button>
</div>
{#if documentSource === 'column'}
<div class="mt-4">
<span class="block text-sm font-medium mb-2" style="color: var(--text-color)">
Select File Column
</span>
{#if fileColumns.length === 0}
<p class="text-sm" style="color: var(--text-secondary-color)">
No file columns found in this board.
</p>
{:else}
<div class="space-y-2">
{#each fileColumns as column}
<button
onclick={() => selectedFileColumn = column.id}
class="cursor-pointer w-full p-3 rounded-md border transition-all text-left"
style="border-color: {selectedFileColumn === column.id ? 'var(--primary-color)' : 'var(--border-color)'};
background-color: {selectedFileColumn === column.id ? 'var(--primary-selected-color)' : 'var(--input-bg-color)'};">
<span class="text-sm" style="color: var(--text-color)">{column.title}</span>
</button>
{/each}
</div>
{/if}
</div>
{/if}
{#if currentStep === 'recipients'}
{#if peopleColumns.length > 0}
<div>
<span class="block text-sm font-medium mb-2" style="color: var(--text-color)">
People Columns
</span>
<div class="space-y-2">
{#each peopleColumns as column}
<button
onclick={() => selectRecipientColumn(column.id, 'people')}
class="cursor-pointer w-full p-3 rounded-md border transition-all text-left"
style="border-color: {recipientColumnId === column.id ? 'var(--primary-color)' : 'var(--border-color)'};
background-color: {recipientColumnId === column.id ? 'var(--primary-selected-color)' : 'var(--input-bg-color)'};">
<div class="flex items-center gap-2">
<svg class="h-4 w-4" style="color: var(--text-secondary-color)" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z" />
</svg>
<span class="text-sm" style="color: var(--text-color)">{column.title}</span>
</div>
</button>
{/each}
</div>
</div>
{/if}
{#if emailColumns.length === 0 && peopleColumns.length === 0}
<p class="text-sm text-center py-4" style="color: var(--text-secondary-color)">
No email or people columns found. You can add recipients manually in DocuSign.
</p>
{/if}
{#if recipientColumnId}
<button
onclick={() => { recipientColumnId = null; recipientColumnType = null; }}
class="cursor-pointer text-sm"
style="color: var(--text-secondary-color)">
Clear selection
</button>
{/if}
{#if currentStep === 'review'}
<div class="flex justify-between py-2 border-b" style="border-color: var(--border-color)">
<span style="color: var(--text-secondary-color)">Source:</span>
<span style="color: var(--text-color)">{sourceType === 'template' ? 'Template' : 'Create from Scratch'}</span>
</div>
{#if sourceType === 'template'}
<div class="flex justify-between py-2 border-b" style="border-color: var(--border-color)">
<span style="color: var(--text-secondary-color)">Template:</span>
<span style="color: var(--text-color)">{selectedTemplateTitle}</span>
</div>
{:else}
<div class="flex justify-between py-2 border-b" style="border-color: var(--border-color)">
<span style="color: var(--text-secondary-color)">Documents:</span>
<span style="color: var(--text-color)">
{documentSource === 'upload' ? 'Will upload in DocuSign' : selectedFileColumnTitle}
</span>
</div>
{/if}
<div class="flex justify-between py-2" style="border-color: var(--border-color)">
<span style="color: var(--text-secondary-color)">Recipients:</span>
<span style="color: var(--text-color)">{selectedRecipientColumnTitle}</span>
</div>
{#if currentStep === 'creating'}
{#if currentStep !== 'creating'} <button onclick={goToPreviousStep}
disabled={currentStep === 'credentials'} class="cursor-pointer px-4 py-2
rounded-md transition-colors disabled:opacity-50 disabled:cursor-not-allowed"
style="color: var(--text-color); border: 1px solid var(--border-color)"
onmouseenter={(e) => e.currentTarget.style.backgroundColor =
themeCssVars['--input-bg-color']} onmouseleave={(e) =>
e.currentTarget.style.backgroundColor = 'transparent'}> Back
{#if currentStep === 'review'}
<button
onclick={createDraftEnvelope}
class="cursor-pointer px-6 py-2 text-white rounded-md transition-colors font-medium"
style="background-color: var(--primary-color)"
onmouseenter={(e) => e.currentTarget.style.backgroundColor = themeCssVars['--primary-hover-color']}
onmouseleave={(e) => e.currentTarget.style.backgroundColor = themeCssVars['--primary-color']}>
Create Envelope
{:else}
<button
onclick={goToNextStep}
disabled={
(currentStep === 'credentials' && !selectedCredential) ||
(currentStep === 'source' && !sourceType) ||
(currentStep === 'template' && !selectedTemplate) ||
(currentStep === 'documents' && documentSource === 'column' && !selectedFileColumn) ||
(currentStep === 'documents' && !documentSource)
}
class="cursor-pointer px-6 py-2 text-white rounded-md transition-colors font-medium disabled:opacity-50 disabled:cursor-not-allowed"
style="background-color: var(--primary-color)"
onmouseenter={(e) => e.currentTarget.style.backgroundColor = themeCssVars['--primary-hover-color']}
onmouseleave={(e) => e.currentTarget.style.backgroundColor = themeCssVars['--primary-color']}>
{currentStep === 'recipients' ? 'Review' : 'Next'}
{/if}
////src\lib\components\EnvelopeDetail.svelte
{#if isDraft} <EnvelopeDraft {envelope} {isOwner} {senderViewUrl}
{senderViewWindowOpen} {isUpdatingStatus} {themeCssVars} {onOpenSenderView}
{onLoadSenderView} onCheckStatus={onRefreshStatus} /> {:else} <EnvelopeSent
{envelope} {isOwner} {isUpdatingStatus} {themeCssVars} {onRefreshStatus} />
{/if}
////src\lib\components\EnvelopeDraft.svelte
{#if senderViewUrl && !senderViewWindowOpen}
<button
onclick={onOpenSenderView}
class="cursor-pointer mt-6 px-6 py-3 text-white rounded-md transition-all duration-200 font-medium shadow-lg hover:shadow-xl"
style="background-color: var(--primary-color)"
onmouseenter={(e) => e.currentTarget.style.backgroundColor = themeCssVars['--primary-hover-color']}
onmouseleave={(e) => e.currentTarget.style.backgroundColor = themeCssVars['--primary-color']}
>
Open Sender View
{:else if senderViewWindowOpen}
Sender view is open in another window...
{isUpdatingStatus ? 'Checking...' : 'Check Status'}
{:else}
<button
onclick={onLoadSenderView}
class="cursor-pointer mt-6 px-6 py-3 text-white rounded-md transition-colors font-medium"
style="background-color: var(--primary-color)"
onmouseenter={(e) => e.currentTarget.style.backgroundColor = themeCssVars['--primary-hover-color']}
onmouseleave={(e) => e.currentTarget.style.backgroundColor = themeCssVars['--primary-color']}
>
Load Sender View
{/if}
///src\lib\components\EnvelopeList.svelte
{#if envelopes.length === 0} {:else} Envelope ID Status Last Updated
Actions {#each envelopes as envelope} <tr class="cursor-pointer
transition-colors" style="border-top: 1px solid var(--border-color)" onclick={()
=> onSelectEnvelope(envelope)} onmouseenter={(e) =>
e.currentTarget.style.backgroundColor = themeCssVars['--input-bg-color']}
onmouseleave={(e) => e.currentTarget.style.backgroundColor = 'transparent'} >
{envelope.envelopeId.slice(0, 8)}... {getStatusLabel(envelope.status)}
{formatShortDate(envelope.lastUpdated || envelope.statusDateTime)} <button
onclick={(e) => { e.stopPropagation(); onSelectEnvelope(envelope); }}
class="cursor-pointer text-sm font-medium transition-colors" style="color:
var(--primary-color)" onmouseenter={(e) => e.currentTarget.style.color =
themeCssVars['--primary-hover-color']} onmouseleave={(e) =>
e.currentTarget.style.color = themeCssVars['--primary-color']} > View Details →
{/each} {/if}
////src\lib\components\EnvelopeSent.svelte
{#if envelope.sentDateTime}
{#if envelope.deliveredDateTime}
{#if envelope.completedDateTime}
{#if envelope.voidedDateTime}
{#if envelope.declinedDateTime}
{#if envelope.voidedReason}
{#if envelope.lastUpdated}
{#if isOwner && envelope.status !== 'completed'} <button
onclick={onRefreshStatus} disabled={isUpdatingStatus} class="cursor-pointer px-6
py-2 text-white rounded-md transition-all duration-200 disabled:opacity-50
disabled:cursor-not-allowed flex items-center gap-2" style="background-color:
var(--primary-color)" onmouseenter={(e) => !isUpdatingStatus &&
(e.currentTarget.style.backgroundColor = themeCssVars['--primary-hover-color'])}
onmouseleave={(e) => !isUpdatingStatus && (e.currentTarget.style.backgroundColor
= themeCssVars['--primary-color'])} > {#if isUpdatingStatus} Updating...
{:else} Refresh Status {/if} {:else if envelope.status !== 'completed'}
Only the envelope creator can refresh the status. {/if}
///src\lib\components\ErrorState.svelte
///src\lib\components\Header.svelte
///src\lib\components\LoadingState.svelte
///src\lib\components\SenderViewIframe.svelte
////src\lib\components\SupportModal.svelte
<h4 class="text-xl font-medium" style="color: var(--text-color)">
Here to help
</h4>
<p style="color: var(--text-secondary-color)">
If you need support, please drop an email to:
</p>
<a href="mailto:{EMAIL}"
class="text-lg font-semibold hover:underline transition-all"
style="color: var(--primary-color)"
>
{EMAIL}
</a>
<p class="text-sm px-4 leading-relaxed" style="color: var(--text-secondary-color)">
Don't worry, your email won't be lost in the ether. There's a real human who reads and responds to every email.
</p>
</div>
<!-- Divider DEMO
<div class="relative py-2">
<div class="absolute inset-0 flex items-center" aria-hidden="true">
<div class="w-full border-t" style="border-color: var(--border-color)"></div>
</div>
<div class="relative flex justify-center">
<span class="px-2 text-sm bg-transparent" style="background-color: var(--surface-color); color: var(--text-secondary-color)">
OR
</span>
</div>
</div>
-->
<!-- Booking Section
<div class="flex flex-col items-center gap-4">
<p style="color: var(--text-color)">
If you prefer, we can book a demo:
</p>
<a href={CALENDLY_URL}
target="_blank"
rel="noopener noreferrer"
class="cursor-pointer px-6 py-3 text-white rounded-md transition-all duration-200 font-medium flex items-center gap-2 shadow-sm hover:shadow-md w-full sm:w-auto justify-center"
style="background-color: var(--primary-color)"
onmouseenter={(e) => e.currentTarget.style.backgroundColor = 'var(--primary-hover-color)'}
onmouseleave={(e) => e.currentTarget.style.backgroundColor = 'var(--primary-color)'}
>
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z" />
</svg>
Book a Demo via Calendly
</a>
</div> -->
///src\lib\types\envelope.ts export interface EnvelopeData { envelopeId: string;
userId: number; credentialsId: string; isSent: boolean; status: 'created' |
'sent' | 'delivered' | 'completed' | 'declined' | 'voided'; statusDateTime?:
string; sentDateTime?: string; deliveredDateTime?: string; completedDateTime?:
string; voidedDateTime?: string; declinedDateTime?: string; voidedReason?:
string; lastUpdated?: string; }
export type PlanType = 'free' | 'starter' | 'business' | 'unlimited' | null;
export type ActiveView = 'envelopes' | 'tutorial' | 'support';
export const PLAN_LIMITS: Record<Exclude<PlanType, null>, number | null> = {
free: 7, starter: 80, business: 210, unlimited: null };
export interface ThemeCssVars { '--primary-color': string;
'--primary-hover-color': string; '--primary-selected-color': string;
'--bg-color': string; '--surface-color': string; '--text-color': string;
'--text-secondary-color': string; '--border-color': string; '--input-bg-color':
string; }
///src\lib\types.ts export interface SenderViewData { url: string; isSent:
boolean; createdAt: Date; }
export type Themes = 'light' | 'dark' | 'black' | 'hacker_theme' export const
possibleThemes = ['light', 'dark', 'black', 'hacker_theme']
export const themeColors = { light: { "primary-color": "#007f9b",
"primary-hover-color": "#006278", "primary-selected-color": "#d1ecef", bg:
'#ffffff', surface: '#f5f6f8', text: '#323338', secondaryText: '#676879',
border: '#d0d4e4', inputBg: '#ffffff' }, dark: { "primary-color": "#007f9b",
"primary-hover-color": "#006278", "primary-selected-color": "#0e435d", bg:
'#181b34', surface: '#30324e', text: '#d5d8df', secondaryText: '#9699a6',
border: '#4b4e69', inputBg: '#30324e' }, black: { "primary-color": "#007f9b",
"primary-hover-color": "#006278", "primary-selected-color": "#0e435d", bg:
'#111111', surface: '#2c2c2c', text: '#eeeeee', secondaryText: '#aaaaaa',
border: '#636363', inputBg: '#2c2c2c' }, hacker_theme: { "primary-color":
"#fe78c6", "primary-hover-color": "#fe5ab9", "primary-selected-color":
"#9f4077", bg: '#282a36', surface: '#30324e', text: '#d5d8df', secondaryText:
'#9699a6', border: '#797e93', inputBg: '#30324e' } }
Give me a full version using only mock data so I can visualize
I'll create an improved version of the monday.com + DocuSign item view with advanced mapping, better UX, and rich envelope details. Let me start by exploring the project structure.
Now I have a good understanding. Let me build the improved DocuSign item view. I'll create a comprehensive React version with theme support, advanced mapping (recipients + tabs + prefill tabs), envelope details showing signer progress, and improved UX.
Now let me create the shared UI primitives and helper components:
Now the ColumnPicker (used for dynamic mapping of tabs → columns), the main mapping components, and the envelope creator wizard:
Now the recipient & tab mapping component (the key new feature):
Now the envelope creator wizard:
Now the envelope detail view with signer activity and progress:
Now the envelope list and the main App:
Now the App with header, theme switcher, item context, and toast:
Build successful. Here's what I built:
Summary
I created a fully-functional, themed React demo of an improved DocuSign item view for monday.com using only mock data. All colors flow through CSS variables driven by the four monday themes (light, dark, black, hacker_theme) via a switcher in the header.
Files
src/theme.ts — theme colors + getThemeCssVars() helper (matches your existing themeColors).
src/mockData.ts — realistic mock: monday columns of every relevant type, 3 templates (NDA, MSA, Offer Letter) with recipients, tabs, and prefill tabs, plus 3 existing envelopes with signer activity, timestamps, and documents.
src/components/ui.tsx — reusable Button, Card, Badge, Modal, Icon, status color helper.
src/components/ColumnPicker.tsx — the star primitive: searchable dropdown that maps a value to either a column ({{ColumnTitle}}) or a static string , filtered by allowed column types per tab.
src/components/RecipientMapping.tsx — the advanced mapping UI you asked for. Shows each template recipient (with routing order, type badge, missing-required count), lets you map name & email + all their tabs, and has a separate collapsible Prefill (sender) tabs section — mirroring your backend automation UI. Also supports adding extra recipients on top of the template.
src/components/EnvelopeCreator.tsx — 6-step wizard with a visual stepper: Account → Source → Template/Documents → Mapping → Options → Review. Options step lets you map the subject to a column, edit the email body, choose Send immediately vs Open Sender View , and toggle reminders. Review shows all mappings in a summary.
src/components/EnvelopeDetail.tsx — rich detail view with status badge, signing progress bar, per-signer cards showing avatar, status, sent/viewed/signed timestamps, quick actions (Send reminder, Copy signing link), documents list, and a chronological timeline sidebar.
src/components/EnvelopeList.tsx — summary tiles (Total / In progress / Completed / Drafts), search, status filter chips, and a rich row layout showing signer avatars (color-coded by their status) and a mini progress bar.
src/App.tsx — header with theme switcher, usage bar, tabs, toast notifications, void action, mock "Open Sender View" trigger.
Key UX improvements over the current version
Full dynamic recipient + tab mapping in the item view (previously only a single email/people column).
Prefill/sender tabs section, matching your backend automation flow.
Add extra recipients on top of a template (CC, signer, etc.).
Signer activity : who viewed, who signed, who's waiting — plus per-signer reminder / copy-link actions.
Envelope progress bar and timeline for full visibility.
Envelope list is now a scannable dashboard with summary tiles, filters, search, and stacked signer avatars.
Consistent stepper with completed/active/pending states, and a mapping validation hint ("2 required missing") per recipient.
Files built: index.html, src/theme.ts, src/mockData.ts, src/components/ui.tsx, src/components/ColumnPicker.tsx, src/components/RecipientMapping.tsx, src/components/EnvelopeCreator.tsx, src/components/EnvelopeDetail.tsx, src/components/EnvelopeList.tsx, src/App.tsx
Copy first response