Skip to content

feat: add backend-lens - #1756

Open
DmitrySkibitsky wants to merge 2 commits into
nuxt:mainfrom
DmitrySkibitsky:feat/backend-lens
Open

DmitrySkibitsky wants to merge 2 commits into
nuxt:mainfrom
DmitrySkibitsky:feat/backend-lens

Conversation

@DmitrySkibitsky

Copy link
Copy Markdown

🔗 Linked issue

None.

📚 Description

Adds nuxt-backend-lens under Devtools.

It is a Debugbar-like panel for SPAs. When Nuxt serves the HTML, Laravel Debugbar can't inject its panel, and the browser's Network tab has no SQL. The module reads the debug id the backend puts on each response and loads that request's record from the backend's own debug package (Clockwork, Laravel Debugbar, or just Server-Timing). It then shows the SQL, logs, cache events and timing, flags N+1 and duplicate queries, and links each request to the click that caused it. The data appears in an on-page toolbar, a Nuxt DevTools tab and the Vue DevTools timeline.

export default defineNuxtConfig({
  modules: ['nuxt-backend-lens'],
})

The file was created with pnpm sync backend-lens DmitrySkibitsky/nuxt-backend-lens#main/packages/nuxt-backend-lens. The only manual edit is description: "for Nuxt SPAs" became "for SPAs", because the README asks not to mention Nuxt.

Checks run locally: pnpm sync backend-lens leaves the file unchanged, and pnpm lint and pnpm build pass.

@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The change adds a backend-lens catalogue entry. It records the package and project links, description, Devtools category, third-party type, maintainer, and Nuxt >=4.0.0 compatibility requirement. The requires field is empty.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Merge Risk: Minimal · up to b1745

This adds a catalogue entry for the backend-lens module. No merge-blocking risk was found.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "feat: add backend-lens" matches the main change, which adds the backend-lens catalogue entry in modules/backend-lens.yml. It is concise and specific. The conventional-commit prefix is accep…
Description check Passed The description follows the template well. It has a linked issue section stating 'None', which is allowed because an issue is not required. It has a description covering what the module does, the sour…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "feat: add backend-lens" matches the main change, which adds the backend-lens catalogue entry in modules/backend-lens.yml. It is concise and specific. The conventional-commit prefix is acceptable.

Full details: Description check

Explanation

The description follows the template well. It has a linked issue section stating 'None', which is allowed because an issue is not required. It has a description covering what the module does, the source repository, the example config, how the file was created, and the local checks run. The author also notes the one manual edit. The template's AI-use note is addressed by the author's own wording. The description is mostly complete.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 87711194-9b72-4897-9959-dbacd05945df
Commits

Reviewing files that changed from the base of the PR and between d10d763 and b1745a2.

Files selected for processing: 1

  • modules/backend-lens.yml

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.

This branch has not been deployed

No deployments
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