Skip to content

improvement(ux): added tab key navigation for agent messages, made variables styling match chat, added neo4j and calendly#2056

Merged
waleedlatif1 merged 11 commits intostagingfrom
improvement/agent
Nov 20, 2025
Merged

improvement(ux): added tab key navigation for agent messages, made variables styling match chat, added neo4j and calendly#2056
waleedlatif1 merged 11 commits intostagingfrom
improvement/agent

Conversation

@waleedlatif1
Copy link
Copy Markdown
Collaborator

Summary

added tab key navigation for agent messages, made variables styling match chat

Type of Change

  • Bug fix

Testing

Tested manually

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

@vercel
Copy link
Copy Markdown

vercel Bot commented Nov 19, 2025

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

Project Deployment Preview Comments Updated (UTC)
docs Ready Ready Preview Comment Nov 20, 2025 1:39am

@waleedlatif1 waleedlatif1 changed the title improvement(ux): added tab key navigation for agent messages, made variables styling match chat improvement(ux): added tab key navigation for agent messages, made variables styling match chat, added neo4j and calendly Nov 19, 2025
@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented Nov 20, 2025

Greptile Summary

  • Added Neo4j and Calendly integrations with comprehensive tool definitions, API routes, blocks, and documentation
  • Implemented Tab key navigation for agent messages and fuzzy search functionality with fuzzysort library
  • Updated UI styling for variables component and various deployment modal components to match design system

Confidence Score: 2/5

  • Critical Cypher injection vulnerability makes this PR unsafe to merge
  • Neo4j query route concatenates LIMIT values directly into queries instead of using parameterized queries, creating a Cypher injection vulnerability that could allow malicious users to execute arbitrary database operations
  • Fix the Cypher injection vulnerability in apps/sim/app/api/tools/neo4j/query/route.ts before merging

Important Files Changed

Filename Overview
apps/sim/app/api/tools/neo4j/query/route.ts Added Neo4j query endpoint with Cypher injection vulnerability in LIMIT concatenation
apps/sim/app/api/tools/neo4j/utils.ts Neo4j utility functions with validation, driver creation, and type conversion logic
apps/sim/app/api/webhooks/route.ts Added Calendly webhook subscription creation with proper authentication and error handling

Sequence Diagram

sequenceDiagram
    participant User
    participant WebhooksAPI as "Webhooks API"
    participant DB as "Database"
    participant Calendly as "Calendly API"
    participant Workflow as "Workflow"

    User->>WebhooksAPI: "POST /api/webhooks (create Calendly webhook)"
    WebhooksAPI->>DB: "Verify workflow exists and permissions"
    DB-->>WebhooksAPI: "Workflow details"
    WebhooksAPI->>Calendly: "POST /webhook_subscriptions"
    Calendly-->>WebhooksAPI: "Webhook URI and ID"
    WebhooksAPI->>DB: "Save webhook with externalId"
    DB-->>WebhooksAPI: "Webhook created"
    WebhooksAPI-->>User: "Webhook details"
    
    Calendly->>WebhooksAPI: "POST /api/webhooks/trigger/{path} (event notification)"
    WebhooksAPI->>Workflow: "Execute workflow with event data"
    Workflow-->>WebhooksAPI: "Execution result"
    WebhooksAPI-->>Calendly: "200 OK"
Loading

Copy link
Copy Markdown
Contributor

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

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

65 files reviewed, 1 comment

Edit Code Review Agent Settings | Greptile
React with 👍 or 👎 to share your feedback on this new summary format

Comment thread apps/sim/app/api/tools/neo4j/query/route.ts Outdated
@waleedlatif1 waleedlatif1 merged commit becd19b into staging Nov 20, 2025
9 checks passed
@waleedlatif1 waleedlatif1 deleted the improvement/agent branch November 20, 2025 01:40
@waleedlatif1 waleedlatif1 mentioned this pull request Nov 20, 2025
10 tasks
waleedlatif1 added a commit that referenced this pull request Nov 20, 2025
…riables styling match chat, added neo4j and calendly (#2056)

* improvement(ux): added tab key navigation for agent messages, made variables styling match chat

* added neo4j tools, added calendly tools and triggers

* more style improvements

* consolidate wand generation type

* more ui improvements

* fix calendly

* tested all neo4j tools

* added fuzzy search for search modal, tested and fixed calendly

* updated docs

* fix various broken docs links, neo4j param validation

* removed limit from neo4j block
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.

1 participant