Skip to content

Conversation

@Khanisic
Copy link

Summary

This PR adds cursor pointer styling to improve clarity and interactivity across key UI elements.
Specifically, cursor pointer has been added to:
• the theme toggler in the navbar
• sidebar navigation buttons
• the language selector button in the navbar

These elements are all interactive, so adding proper pointer feedback improves usability and aligns with standard UI behavior.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation
  • Other: UI Improvement

Testing

Confirmed that the cursor changes to the correct pointer type on hover.

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)

Screenshots/Videos

image image image

waleedlatif1 and others added 24 commits October 11, 2025 22:23
…oai#1608)

* improvement(performance): remove unused source/target indices, add index on snapshot id (simstudioai#1603)

* fix(blog): rename building to blogs with redirect (simstudioai#1604)

* improvement(privacy-policy): updated privacy policy for google (simstudioai#1602)

* updated privacy policy for google

* update terms, privacy, and emails to incl address and update verbiage

* feat(guardrails): added guardrails block/tools and docs (simstudioai#1605)

* Adding guardrails block

* ack PR comments

* cleanup checkbox in dark mode

* cleanup

* fix supabase tools

* fix(inference-billing): fix inference billing when stream is true via API, add drag-and-drop functionality to deployed chat (simstudioai#1606)

* fix(inference): fix inference billing when stream is true via API

* add drag-and-drop to deployed chat

* feat(mistal): added mistral as a provider, updated model prices (simstudioai#1607)

* feat(mistal): added mistral as a provider, updated model prices

* remove the ability for a block to reference its own outluts

* fixed order of responses for guardrails block

* feat(versions): added the ability to rename deployment versions (simstudioai#1610)

* fix(vulns): fix various vulnerabilities and enhanced code security (simstudioai#1611)

* fix(vulns): fix SSRF vulnerabilities

* cleanup

* cleanup

* regen docs

* remove unused deps

* fix failing tests

* cleanup

* update deps

* regen bun lock
)

* fix(debug-mode): remove duplicate debug mode flag (simstudioai#1714)

* feat(i18n): update translations (simstudioai#1709)

* improvement(condition): added variable and envvar highlighting for condition input (simstudioai#1718)

* fix(dashboard): add additional context for paginated logs in dashboard, add empty state when selected cell has no data (simstudioai#1719)

* fix(dashboard): add additional context for paginated logs in dashboard, add empty state when selected cell has no data

* apps/sim

* renaming

* remove relative import

* feat(tools): added webflow OAuth + tools (simstudioai#1720)

* feat(tools): added webflow OAuth + tools

* remove itemId from delete item

* remove siteId

* added webhook triggers + oauth scopes + site/collection selector

* update sample payload for webflow triggers

* cleanup

* fix discord color

* feat(i18n): update translations (simstudioai#1721)

* improvement(schedule): fix UI bug with schedule modal (simstudioai#1722)
* fix(already-cancelled-sub): UI should allow restoring subscription

* restore functionality fixed

* fix
* fix(cmd-k): z-index + reoder tools, triggers

* fix more z-index styling
…loy when redeploy is not necessary (simstudioai#1973)

* fix(workflow-block): fix redeploy header to not repeatedly show redeploy when redeploy is not necessary

* cleanup
…#1974)

* improvement(usage-indicator): layout

* improvement: expand default terminal height

* fix: swap workflow block ports

* improvement: chat initial positioning

* improvement(chat): display; improvement(emcn): popover attributes
@vercel
Copy link

vercel bot commented Nov 14, 2025

@Khanisic is attempting to deploy a commit to the Sim Team on Vercel.

A member of the Team first needs to authorize it.

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Nov 14, 2025

Greptile Overview

Greptile Summary

This PR has significant scope creep - while titled "Fix/UI Cursor pointer on docs", only 3 of 30 files actually relate to cursor pointer styling. The cursor pointer changes themselves add redundant cursor-pointer classes to button elements, which already have pointer cursors by default in browsers.

Major Issues:

  • 27 of 30 files contain unrelated changes including terminal height adjustments, popover enhancements, deployment refactoring, brand color updates, email styling, provider changes, store modifications, and executor logic changes
  • globals.css was modified in violation of the project's custom instruction which explicitly states to avoid editing this file unless absolutely necessary
  • The cursor pointer additions are redundant on <button> elements since browsers already apply cursor: pointer by default

Recommendations:

  • Split this PR into multiple focused PRs - one for cursor pointer changes (if needed at all), one for terminal/UI improvements, one for deployment refactoring, one for brand color updates, etc.
  • Remove the cursor-pointer classes from button elements as they're unnecessary
  • Revert the globals.css change and move the terminal height adjustment to the local component file instead

Confidence Score: 1/5

  • This PR is not safe to merge due to massive scope creep and custom instruction violations
  • Score of 1 reflects: (1) 27 of 30 files contain unrelated changes not mentioned in PR description, (2) direct violation of custom instruction against editing globals.css, (3) redundant cursor-pointer classes on button elements, (4) mixing of unrelated features makes it difficult to review and roll back if issues arise
  • apps/sim/app/globals.css needs immediate attention for custom instruction violation. apps/sim/executor/execution/block-executor.ts contains significant logic changes that should be in a separate PR and thoroughly reviewed

Important Files Changed

File Analysis

Filename Score Overview
apps/docs/components/ui/theme-toggle.tsx 4/5 Added redundant cursor-pointer class to button element (browsers already apply pointer cursor to buttons)
apps/docs/components/docs-layout/sidebar-components.tsx 4/5 Added redundant cursor-pointer class to button element
apps/docs/components/ui/language-dropdown.tsx 4/5 Added redundant cursor-pointer class to two button elements
apps/sim/app/globals.css 1/5 Changed terminal height - violates custom instruction to avoid editing globals.css, unrelated to PR description
apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/terminal/terminal.tsx 2/5 Changed default expanded height constant - unrelated to cursor pointer changes
apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/workflow-block/hooks/use-child-deployment.ts 3/5 Refactored deployment status checking logic to use new API endpoint - unrelated to cursor pointer changes
apps/sim/executor/execution/block-executor.ts 4/5 Significant changes to execution logic and error handling - unrelated to cursor pointer changes

Sequence Diagram

sequenceDiagram
    participant Dev as Developer
    participant UI as UI Components
    participant CSS as Browser CSS
    participant Files as Other Files
    
    Dev->>UI: Add cursor-pointer to buttons
    Note over UI,CSS: cursor-pointer redundant on buttons
    CSS-->>UI: Buttons already have pointer cursor
    
    Dev->>Files: Add unrelated changes
    Note over Files: 27 of 30 files unrelated to PR
    Files->>Files: Terminal height adjustments
    Files->>Files: Popover enhancements
    Files->>Files: Deployment refactoring
    Files->>Files: Brand color updates
    Files->>Files: Provider changes
    Files->>Files: Store modifications
    
    Dev->>UI: Modify globals.css
    Note over UI: Violates custom instruction
Loading

Copy link
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.

30 files reviewed, 5 comments

Edit Code Review Agent Settings | Greptile

<button
onClick={() => setTheme(theme === 'dark' ? 'light' : 'dark')}
className='flex items-center justify-center rounded-md p-1 text-muted-foreground transition-colors hover:text-foreground'
className='flex items-center cursor-pointer justify-center rounded-md p-1 text-muted-foreground transition-colors hover:text-foreground'
Copy link
Contributor

Choose a reason for hiding this comment

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

style: cursor-pointer is redundant on button elements - browsers already apply cursor: pointer by default

Prompt To Fix With AI
This is a comment left during a code review.
Path: apps/docs/components/ui/theme-toggle.tsx
Line: 26:26

Comment:
**style:** `cursor-pointer` is redundant on button elements - browsers already apply `cursor: pointer` by default

How can I resolve this? If you propose a fix, please make it concise.

onClick={() => setOpen(!open)}
className={cn(
'flex w-full items-center justify-between rounded-md px-2.5 py-1.5 text-left font-medium text-[13px] leading-tight transition-colors',
'cursor-pointer flex w-full items-center justify-between rounded-md px-2.5 py-1.5 text-left font-medium text-[13px] leading-tight transition-colors',
Copy link
Contributor

Choose a reason for hiding this comment

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

style: cursor-pointer is redundant on button elements - browsers already apply cursor: pointer by default

Prompt To Fix With AI
This is a comment left during a code review.
Path: apps/docs/components/docs-layout/sidebar-components.tsx
Line: 87:87

Comment:
**style:** `cursor-pointer` is redundant on button elements - browsers already apply `cursor: pointer` by default

How can I resolve this? If you propose a fix, please make it concise.

aria-expanded={isOpen}
aria-controls='language-menu'
className='flex items-center gap-1.5 rounded-xl px-3 py-2 font-normal text-[0.9375rem] text-foreground/60 leading-[1.4] transition-colors hover:bg-foreground/8 hover:text-foreground focus:outline-none focus-visible:ring-2 focus-visible:ring-ring'
className='cursor-pointer flex items-center gap-1.5 rounded-xl px-3 py-2 font-normal text-[0.9375rem] text-foreground/60 leading-[1.4] transition-colors hover:bg-foreground/8 hover:text-foreground focus:outline-none focus-visible:ring-2 focus-visible:ring-ring'
Copy link
Contributor

Choose a reason for hiding this comment

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

style: cursor-pointer is redundant on button elements - browsers already apply cursor: pointer by default

Prompt To Fix With AI
This is a comment left during a code review.
Path: apps/docs/components/ui/language-dropdown.tsx
Line: 85:85

Comment:
**style:** `cursor-pointer` is redundant on button elements - browsers already apply `cursor: pointer` by default

How can I resolve this? If you propose a fix, please make it concise.

role='option'
aria-selected={currentLang === code}
className={`flex w-full items-center gap-3 px-3 py-3 text-base transition-colors first:rounded-t-xl last:rounded-b-xl hover:bg-muted/80 focus:outline-none focus-visible:ring-2 focus-visible:ring-ring md:gap-2 md:px-2.5 md:py-2 md:text-sm ${
className={`cursor-pointer flex w-full items-center gap-3 px-3 py-3 text-base transition-colors first:rounded-t-xl last:rounded-b-xl hover:bg-muted/80 focus:outline-none focus-visible:ring-2 focus-visible:ring-ring md:gap-2 md:px-2.5 md:py-2 md:text-sm ${
Copy link
Contributor

Choose a reason for hiding this comment

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

style: cursor-pointer is redundant on button elements - browsers already apply cursor: pointer by default

Prompt To Fix With AI
This is a comment left during a code review.
Path: apps/docs/components/ui/language-dropdown.tsx
Line: 113:113

Comment:
**style:** `cursor-pointer` is redundant on button elements - browsers already apply `cursor: pointer` by default

How can I resolve this? If you propose a fix, please make it concise.

--toolbar-triggers-height: 300px;
--editor-connections-height: 200px;
--terminal-height: 145px;
--terminal-height: 196px;
Copy link
Contributor

Choose a reason for hiding this comment

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

logic: violates the project's custom instruction which states: "Avoid editing the globals.css file unless absolutely necessary. Move style changes to local component files instead."

this terminal height change is unrelated to the cursor pointer fix described in the PR title and description

Suggested change
--terminal-height: 196px;
--terminal-height: 145px;

Context Used: Context from dashboard - Avoid editing the globals.css file unless absolutely necessary. Move style changes to local componen... (source)

Prompt To Fix With AI
This is a comment left during a code review.
Path: apps/sim/app/globals.css
Line: 14:14

Comment:
**logic:** violates the project's custom instruction which states: "Avoid editing the `globals.css` file unless absolutely necessary. Move style changes to local component files instead."

this terminal height change is unrelated to the cursor pointer fix described in the PR title and description

```suggestion
  --terminal-height: 145px;
```

**Context Used:** Context from `dashboard` - Avoid editing the globals.css file unless absolutely necessary. Move style changes to local componen... ([source](https://app.greptile.com/review/custom-context?memory=c3b5e4b0-6580-4307-83aa-ba28f105b3c4))

How can I resolve this? If you propose a fix, please make it concise.

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.

5 participants