Skip to content

Comments

Variable suggestions feature for Prompt/Graph Prompt inputs#438

Merged
robert-inkeep merged 43 commits intoinkeep:mainfrom
dimaMachina:ctx-variables-autocomplete
Oct 2, 2025
Merged

Variable suggestions feature for Prompt/Graph Prompt inputs#438
robert-inkeep merged 43 commits intoinkeep:mainfrom
dimaMachina:ctx-variables-autocomplete

Conversation

@dimaMachina
Copy link
Collaborator

@dimaMachina dimaMachina commented Oct 1, 2025

ref https://docs.google.com/document/d/1LdXL3t65yyS2cmOOzphQZNeEtNl37LQriKJgbKMGSfk/edit?tab=t.0

@vercel
Copy link

vercel bot commented Oct 1, 2025

Someone is attempting to deploy a commit to the Inkeep Team on Vercel.

A member of the Team first needs to authorize it.


.playwright-mcp
.vercel
.idea/
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to ignore Webstorm settings

Comment on lines +63 to +65
</TooltipTrigger>
<TooltipContent>{expandButtonLabel}</TooltipContent>
</Tooltip>
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added tooltip for full screen icon
image

<div className="space-y-2">
<ExpandableTextArea
id="graph-prompt"
name="graph-prompt"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unlike textarea, Codemirror editor doesn't have name prop

<ExpandableTextArea
ref={(el) => setFieldRef('prompt', el)}
id="prompt"
name="prompt"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unlike textarea, Codemirror editor doesn't have name prop

@dimaMachina dimaMachina marked this pull request as ready for review October 1, 2025 20:57
Copy link
Contributor

@sarah-inkeep sarah-inkeep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, work great!

Comment on lines 22 to 46
<Tooltip>
<TooltipTrigger asChild>
<Button
variant="ghost"
size="icon"
className={cn(
'absolute bottom-2.5 h-6 w-6 hover:text-foreground transition-all backdrop-blur-sm bg-white/90 hover:bg-white/95 dark:bg-card dark:hover:bg-accent border border-border shadow-md dark:shadow-lg',
tooltipClassName
)}
type="button"
onClick={() => {
codemirrorRef.current.insertTemplateVariable();
}}
>
<Braces className="h-4 w-4 text-muted-foreground" />
<span className="sr-only">{variablesText}</span>
</Button>
</TooltipTrigger>
<TooltipContent>
{variablesText}{' '}
<span className="font-mono bg-foreground text-background rounded py-0.5 px-1 ms-1">
&#123;&thinsp;&#125;
</span>
</TooltipContent>
</Tooltip>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah I think moving it to prompt-editor sounds good to me but not a strong opinion.

@vercel
Copy link

vercel bot commented Oct 2, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
agents-docs Ready Ready Preview Comment Oct 2, 2025 2:29pm
agents-manage-api Ready Ready Preview Comment Oct 2, 2025 2:29pm
agents-manage-ui Error Error Oct 2, 2025 2:29pm
agents-run-api Ready Ready Preview Comment Oct 2, 2025 2:29pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants