Skip to content

feat(statuspage): added statuspage, updated list of tools in footer, renamed routes - #2139

Merged
waleedlatif1 merged 2 commits into
stagingfrom
feat/status
Nov 30, 2025
Merged

feat(statuspage): added statuspage, updated list of tools in footer, renamed routes#2139
waleedlatif1 merged 2 commits into
stagingfrom
feat/status

Conversation

@waleedlatif1

Copy link
Copy Markdown
Collaborator

Summary

  • added incidentio statuspage widget to footer
  • updated list of integrations in footer
  • renamed routes to be more RESTful

Type of Change

  • New feature

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 Nov 30, 2025

Copy link
Copy Markdown

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

1 Skipped Deployment
ProjectDeploymentPreviewCommentsUpdated (UTC)
docsSkippedSkippedNov 30, 2025 6:35pm

@greptile-apps

greptile-appsBot commented Nov 30, 2025

Copy link
Copy Markdown
Contributor

Greptile Overview

Greptile Summary

This PR adds incident.io status page integration to the footer, updates the list of integrations, and renames API routes to follow RESTful conventions.

Key Changes:

  • Added /api/status endpoint that proxies incident.io API with 2-minute server-side caching
  • Implemented StatusIndicator component with React Query polling (60s interval) to display real-time system status
  • Refactored footer by extracting components (Logo, SocialLinks, ComplianceBadges, StatusIndicator) and configuration (consts.ts) into dedicated files per custom instructions
  • Updated tools list to include Apify and other new integrations
  • Renamed API routes from /api/github-stars to /api/stars and /api/wand-generate to /api/wand for cleaner RESTful naming

The implementation follows established patterns for API caching, React Query usage, and component organization.

Confidence Score: 5/5

  • This PR is safe to merge with minimal risk
  • The changes are well-structured and follow established patterns. The status page integration uses proper caching strategies (2-min server cache + 60s client polling), error handling returns safe defaults, and the footer refactoring improves code organization by following the custom instruction to separate configuration and components. Route renaming is a straightforward refactor with all references updated correctly. No breaking changes or security concerns identified.
  • No files require special attention

Important Files Changed

File Analysis

FilenameScoreOverview
apps/sim/app/api/status/route.ts4/5Added new API route for incident.io status page integration with caching and error handling
apps/sim/hooks/queries/status.ts5/5Added React Query hook for fetching status with 60s polling interval
apps/sim/app/(landing)/components/footer/components/status-indicator.tsx5/5Added status indicator component displaying system status with colored dot and link
apps/sim/app/(landing)/components/footer/footer.tsx5/5Refactored footer to use extracted components and updated tools list layout
apps/sim/app/(landing)/components/footer/consts.ts5/5Extracted footer blocks and tools configuration to dedicated const file

Sequence Diagram

sequenceDiagram
participant User
participant Footer as Footer Component
participant StatusIndicator as StatusIndicator Component
participant useStatus as useStatus Hook
participant StatusAPI as /api/status
participant IncidentIO as incident.io API
participant Cache as Server Cache
User->>Footer: Views landing page
Footer->>StatusIndicator: Renders status indicator
StatusIndicator->>useStatus: Calls useStatus()
useStatus->>StatusAPI: GET /api/status
alt Cache Hit (< 2 min)
StatusAPI->>Cache: Check cached response
Cache-->>StatusAPI: Return cached data
StatusAPI-->>useStatus: 200 OK (X-Cache: HIT)
else Cache Miss or Expired
StatusAPI->>IncidentIO: GET /api/v1/summary
alt Success
IncidentIO-->>StatusAPI: Returns incidents & maintenance data
StatusAPI->>StatusAPI: Determine status from data
StatusAPI->>Cache: Store response (2 min TTL)
StatusAPI-->>useStatus: 200 OK (X-Cache: MISS)
else API Error
IncidentIO-->>StatusAPI: Error response
StatusAPI-->>useStatus: 200 OK with status: "error"
end
end
useStatus-->>StatusIndicator: Returns status data
StatusIndicator->>StatusIndicator: Apply color based on status
StatusIndicator-->>Footer: Renders colored dot + message
Footer-->>User: Displays status indicator
loop Every 60 seconds
useStatus->>StatusAPI: Refetch status
StatusAPI-->>useStatus: Updated status
StatusIndicator-->>User: Updates display
end
Loading

@greptile-appsgreptile-appsBot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

15 files reviewed, 3 comments

Edit Code Review Agent Settings | Greptile

Comment threadapps/sim/app/api/status/route.ts Outdated
Comment threadapps/sim/app/(landing)/components/footer/components/status-indicator.tsx Outdated
Comment threadapps/sim/app/(landing)/components/footer/components/status-indicator.tsx Outdated
@waleedlatif1

Copy link
Copy Markdown
CollaboratorAuthor

@greptile

@greptile-appsgreptile-appsBot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

16 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

@waleedlatif1
waleedlatif1 merged commit f25db70 into stagingNov 30, 2025
9 checks passed
@waleedlatif1
waleedlatif1 deleted the feat/status branch November 30, 2025 18:46
waleedlatif1 added a commit that referenced this pull request Dec 1, 2025
… sendgrid, linkedin, more tools (#2148)
* feat(tools): added smtp, sendgrid, mailgun, linkedin, fixed permissions in context menu (#2133)
* feat(tools): added twilio sendgrid integration
* feat(tools): added smtp, sendgrid, mailgun, fixed permissions in context menu
* added top level mocks for sporadically failing tests
* incr type safety
* fix(team-plans): track departed member usage so value not lost (#2118)
* fix(team-plans): track departed member usage so value not lost
* reset usage to 0 when they leave team
* prep merge with stagig
* regen migrations
* fix org invite + ws selection'
---------
Co-authored-by: Waleed <walif6@gmail.com>
* feat(i18n): update translations (#2134)
Co-authored-by: waleedlatif1 <waleedlatif1@users.noreply.github.com>
* feat(creators): add verification for creators (#2135)
* feat(tools): added apify block/tools (#2136)
* feat(tools): added apify
* cleanup
* feat(i18n): update translations (#2137)
Co-authored-by: waleedlatif1 <waleedlatif1@users.noreply.github.com>
* feat(env): added more optional env var examples (#2138)
* feat(statuspage): added statuspage, updated list of tools in footer, renamed routes (#2139)
* feat(statuspage): added statuspage, updated list of tools in footer, renamed routes
* ack PR comments
* feat(tools): add generic search tool (#2140)
* feat(i18n): update translations (#2141)
* fix(sdks): bump sdk versions (#2142)
* fix(webhooks): count test webhooks towards usage limit (#2143)
* fix(bill): add requestId to webhook processing (#2144)
* improvement(subflow): remove all associated edges when moving a block into a subflow (#2145)
* improvement(subflow): remove all associated edges when moving a block into a subflow
* ack PR comments
* fix(polling): mark webhook failed on webhook trigger errors (#2146)
* fix(deps): declare core transient deps explicitly (#2147)
* fix(deps): declare core transient deps explicitly
* ack PR comments
---------
Co-authored-by: Vikhyath Mondreti <vikhyathvikku@gmail.com>
Co-authored-by: waleedlatif1 <waleedlatif1@users.noreply.github.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