Skip to content

perf(app-routes): lazy load message queues and meter components#9916

Closed
H4ad wants to merge 1 commit intoSigNoz:mainfrom
H4ad:perf/initial-page-load-1
Closed

perf(app-routes): lazy load message queues and meter components#9916
H4ad wants to merge 1 commit intoSigNoz:mainfrom
H4ad:perf/initial-page-load-1

Conversation

@H4ad
Copy link
Copy Markdown
Contributor

@H4ad H4ad commented Jan 2, 2026

📄 Summary

These two components probably were forgot to be included in the lazy load components.


✅ Changes

Before:

image

After:

image

🧪 How to Test

  1. Press F12
  2. Go to performance tab
  3. Press record and reload (CTRL + SHIFT + E)
  4. Wait for 5s and then stop.

📋 Checklist

  • Dev Review
  • Test cases added (Unit/ Integration / E2E)
  • Manually tested the changes

Note

Improves route-level code-splitting by lazy-loading previously eagerly-loaded pages.

  • Adds Loadable exports for MessagingQueues, MeterExplorer, and AlertTypeSelectionPage in pageComponents.ts
  • Updates routes.ts to import these components from pageComponents (instead of direct imports) and use them for existing routes
  • Renames MessagingQueuesMainPage export to MessagingQueues for consistency

Written by Cursor Bugbot for commit 752e384. This will update automatically on new commits. Configure here.

@H4ad H4ad requested a review from a team as a code owner January 2, 2026 13:32
@YounixM
Copy link
Copy Markdown
Member

YounixM commented Jan 22, 2026

@H4ad - Please check the conflict.

@H4ad H4ad force-pushed the perf/initial-page-load-1 branch from 13fd25c to 3c3e13c Compare January 22, 2026 10:54
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

This is the final PR Bugbot will review for you during this billing cycle

Your free Bugbot reviews will reset on February 3

Details

Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

Comment thread frontend/src/AppRoutes/pageComponents.ts Outdated
@H4ad H4ad force-pushed the perf/initial-page-load-1 branch from 3c3e13c to 752e384 Compare January 22, 2026 11:47
@H4ad H4ad closed this Feb 8, 2026
@H4ad H4ad deleted the perf/initial-page-load-1 branch February 8, 2026 00:16
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.

2 participants