Skip to content

docs(studio): cite the tracking issue in the giant-component suppressions - #231

Closed
prisis wants to merge 1 commit into
alphafrom
fix/studio-giant-component-tracking
Closed

docs(studio): cite the tracking issue in the giant-component suppressions#231
prisis wants to merge 1 commit into
alphafrom
fix/studio-giant-component-tracking

Conversation

@prisis

@prisis prisis commented Jul 29, 2026

Copy link
Copy Markdown
Member

Follow-up to the react-doctor sweep in #229, closing the one finding from the thermo review that could not be fixed in code.

The ten react-doctor/no-giant-component suppressions justified themselves with a claim that was not true. First they said the debt was "tracked separately" — nothing tracked it. The replacement said it was recorded under "Deferred" in plans/README.md — an entry that was never actually written. Same failure twice: the load-bearing half of the justification was fiction, which turns real debt into invisible debt.

#230 now tracks it properly: all ten components with their line counts, a suggested order, and a definition of done ("the suppression can be deleted and the scan still reports zero"). Each suppression cites the issue by number and carries its own exact line count. The Wave 15 notes in plans/README.md record the deferral so the plan history and the code agree.

The suggested first step in #230 is the cheap one the sweep already set up: use-data-browser.tsx's four hoisted helpers (toPageArgs, toCountArgs, resolveStagedChanges, editableColumn) are pure and hook-free, so moving them to a sibling module drops that file under the threshold at zero behavioural cost.

Comments only — no code paths change. ESLint --max-warnings=0, tsc --noEmit, 930 studio tests, Prettier, and react-doctor (0 findings) all clean.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation

    • Updated internal component tracking notes and size estimates across Studio panels and editors.
    • Clarified references for deferred component refactoring work.
  • Maintenance

    • No changes to functionality, runtime behavior, public interfaces, or the user experience.

…ions

The ten `no-giant-component` suppressions claimed the debt was "tracked" — first
as "tracked separately" (nothing tracked it), then as recorded in plans/README.md
(an entry that was never written). Both were the same failure: a justification
whose load-bearing half was not true.

#230 now tracks it for real — all ten with line counts, a suggested order
starting with the four pure helpers that would drop use-data-browser.tsx under
the threshold, and a definition of done. Each suppression cites it by number and
states its own exact line count; the Wave 15 notes record the deferral.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@netlify

netlify Bot commented Jul 29, 2026

Copy link
Copy Markdown

Deploy Preview for lunorash ready!

Name Link
🔨 Latest commit 75fce36
🔍 Latest deploy log https://app.netlify.com/projects/lunorash/deploys/6a6a7524563ccc0008ed9b0b
😎 Deploy Preview https://deploy-preview-231--lunorash.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai

coderabbitai Bot commented Jul 29, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 7963dda8-d3d3-4609-b6c0-536ba02a86f5

📥 Commits

Reviewing files that changed from the base of the PR and between 3eedcd1 and 75fce36.

⛔ Files ignored due to path filters (1)
  • plans/README.md is excluded by none and included by none
📒 Files selected for processing (10)
  • packages/studio/src/features/auth/organization-detail.tsx
  • packages/studio/src/features/data/data-browser.tsx
  • packages/studio/src/features/data/global-data-browser.tsx
  • packages/studio/src/features/logs/logs-panel.tsx
  • packages/studio/src/features/logs/mail-panel.tsx
  • packages/studio/src/features/reports/health-panel.tsx
  • packages/studio/src/features/reports/metrics-panel.tsx
  • packages/studio/src/features/schema/schema-editor-overlay.tsx
  • packages/studio/src/features/schema/schema-viewer.tsx
  • packages/studio/src/features/sql/sql-editor-panel.tsx

Walkthrough

Updated ten react-doctor/no-giant-component suppression comments in Studio components with revised tracking references and line-count estimates. No runtime logic, component behavior, or public declarations changed.

Changes

Giant component tracking annotations

Layer / File(s) Summary
Update component tracking comments
packages/studio/src/features/{auth,data,logs,reports,schema,sql}/*
Reworded deferred-refactor comments and adjusted size estimates for ten oversized components without changing implementation behavior.

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

Possibly related issues

  • anolilab/lunora#230 — Directly tracks the suppression comments updated in this pull request.
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description has useful context, but it lacks the required template sections and checklist/test-plan formatting. Add the template sections: Summary, Linked issues, Test plan, Checklist, Notes for reviewers, and the CLA statement, with concrete details in each.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title is concise and accurately describes the main change: updating giant-component suppression comments to cite the tracking issue.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/studio-giant-component-tracking

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

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown
Contributor

Thank you for following the naming conventions! 🙏

@github-actions

Copy link
Copy Markdown
Contributor

Thank you for confirming the Contributor License Agreement! 🙏

@github-actions

Copy link
Copy Markdown
Contributor

React Doctor found no new issues. 🎉

Reviewed by React Doctor for commit 75fce36.

@prisis

prisis commented Jul 29, 2026

Copy link
Copy Markdown
Member Author

Superseded — decomposing the components outright, which deletes these suppressions rather than annotating them. Tracking issue #230 stays as the record until that lands.

@prisis prisis closed this Jul 29, 2026
@codspeed-hq

codspeed-hq Bot commented Jul 29, 2026

Copy link
Copy Markdown

Merging this PR will degrade performance by 4.28%

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

⚡ 1 improved benchmark
❌ 2 regressed benchmarks
✅ 248 untouched benchmarks
⏩ 2 skipped benchmarks1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Benchmark BASE HEAD Efficiency
flat 3 primitives (the notify.send attribute shape) 55.7 µs 62.6 µs -11.04%
count, no attributes 57.7 µs 64.9 µs -11.01%
baseline (Object.keys + toInternal + path spread per field) 71.9 µs 64.9 µs +10.78%

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing fix/studio-giant-component-tracking (75fce36) with alpha (187b10a)2

Open in CodSpeed

Footnotes

  1. 2 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

  2. No successful run was found on alpha (3eedcd1) during the generation of this report, so 187b10a was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@prisis
prisis deleted the fix/studio-giant-component-tracking branch July 30, 2026 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant