Skip to content

improvement(landing): added enterprise section - #3637

Merged
waleedlatif1 merged 5 commits into
stagingfrom
improvement/landing
Mar 18, 2026
Merged

improvement(landing): added enterprise section#3637
waleedlatif1 merged 5 commits into
stagingfrom
improvement/landing

Conversation

@waleedlatif1

Copy link
Copy Markdown
Collaborator

Summary

  • added enterprise section

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

vercelBot commented Mar 17, 2026

Copy link
Copy Markdown

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

1 Skipped Deployment
ProjectDeploymentActionsUpdated (UTC)
docsSkippedSkippedMar 18, 2026 3:32am

Request Review

@waleedlatif1
waleedlatif1 marked this pull request as ready for review March 18, 2026 00:55
@cursor

cursorBot commented Mar 18, 2026

Copy link
Copy Markdown

You have used all Bugbot PR reviews included in your free trial for your GitHub account on this workspace.

To continue using Bugbot reviews, enable Bugbot for your team in the Cursor dashboard.

@greptile-apps

greptile-appsBot commented Mar 18, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR implements the previously stubbed-out Enterprise section on the landing page and improves the Features preview component interactivity. The Enterprise section adds an animated audit-log preview (with live-cycling entries, per-actor color coding, and time-ago labels), a SOC 2/HIPAA/Open Source/SSO trust strip, a scrolling feature-tag marquee, and a "Book a demo" CTA. The landing page ordering is updated to show Enterprise before Pricing. The Features preview gains a live markdown editor (replacing the static <pre> block), interactive log-row and table-row selection with a detail sidebar, and trace-span visualizations.

Key observations:

  • The audit log animation in enterprise.tsx is well-structured: two intervals (entry cycling every 2.6 s, label refresh every 5 s) are properly cleaned up in the useEffect teardown.
  • Array alignment in features-preview.tsx is correct: MOCK_LOG_DATA, MOCK_LOG_COLORS, and MOCK_LOG_DETAILS each have 7 entries, so selectedRow is always in-bounds.
  • The DotGrid sub-component in enterprise.tsx is defined but never called — it is dead code and can be removed or wired in if intentional.
  • react-markdown and remark-gfm are already present in apps/sim/package.json, so the new imports in features-preview.tsx will resolve without changes to dependencies.

Confidence Score: 4/5

  • Safe to merge with one minor cleanup — remove or wire up the unused DotGrid component.
  • Changes are additive UI work on a marketing landing page with no backend impact. All interactive state is local, array bounds are consistent, and new dependencies are already installed. The only finding is a dead-code component (DotGrid) that has no runtime effect.
  • apps/sim/app/(home)/components/enterprise/enterprise.tsx — the unused DotGrid component should be removed or connected.

Important Files Changed

FilenameOverview
apps/sim/app/(home)/components/enterprise/enterprise.tsxImplements the previously empty Enterprise section with an animated audit log preview, trust strip (SOC 2/HIPAA, Open Source, SSO), scrolling feature marquee, and CTA. Contains one dead-code issue: DotGrid is defined but never rendered.
apps/sim/app/(home)/components/features/components/features-preview.tsxEnhances the features preview: replaces static <pre> with live <textarea> + ReactMarkdown for the Files tab, makes log rows and table rows interactive/selectable, and adds trace spans to the log detail sidebar. Array lengths for MOCK_LOG_DATA, MOCK_LOG_COLORS, and MOCK_LOG_DETAILS all match (7 each), so no out-of-bounds risk.
apps/sim/app/(home)/components/pricing/pricing.tsxPricing tier feature lists updated with consolidated descriptions, adds table limits and CLI/SDK/MCP Access to more tiers, and expands the Enterprise tier features. Purely data changes, no logic issues.
apps/sim/app/(home)/landing.tsxReorders landing page sections so Enterprise appears before Pricing (and Testimonials moved after Pricing). Comment updated to reflect new ordering. Straightforward change.

Sequence Diagram

sequenceDiagram
participant Mount as Component Mount
participant AddInterval as addInterval (2.6 s)
participant TickInterval as tickInterval (5 s)
participant State as entries / tick state
participant UI as AuditLogPreview UI
Mount->>State: Initialize 5 entries from ENTRY_TEMPLATES[0..4]<br/>(timestamped with INITIAL_OFFSETS_MS)
Mount->>AddInterval: setInterval(2600ms)
Mount->>TickInterval: setInterval(5000ms)
AddInterval->>State: prepend new entry from ENTRY_TEMPLATES[templateIndexRef++]<br/>drop oldest entry (keep 5 max)
State->>UI: AnimatePresence re-renders with framer-motion layout animation
TickInterval->>State: tick(n+1) — forces re-render
State->>UI: formatTimeAgo() recomputes labels for all 5 entries
Note over AddInterval,TickInterval: Both intervals cleared on unmount
Loading

Last reviewed commit: "remove debug log"

Comment threadapps/sim/app/(home)/components/enterprise/enterprise.tsx
Comment threadapps/sim/app/(home)/components/enterprise/enterprise.tsx
@waleedlatif1

Copy link
Copy Markdown
CollaboratorAuthor

@greptile

Comment threadapps/sim/app/(home)/components/enterprise/enterprise.tsx Outdated
… use Link
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@cursor

cursorBot commented Mar 18, 2026

Copy link
Copy Markdown

You have used all Bugbot PR reviews included in your free trial for your GitHub account on this workspace.

To continue using Bugbot reviews, enable Bugbot for your team in the Cursor dashboard.

@waleedlatif1
waleedlatif1 merged commit 28de288 into stagingMar 18, 2026
11 checks passed
@waleedlatif1
waleedlatif1 deleted the improvement/landing branch March 18, 2026 03:38
adithyaakrishna pushed a commit to adithyaakrishna/sim that referenced this pull request Mar 20, 2026
* improvement(landing): added enterprise section
* make components interactive
* added more things to pricing sheet
* remove debug log
* fix(landing): remove dead DotGrid component and fix enterprise CTA to use Link
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for freeto 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

@waleedlatif1