This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
Fix build failures: unused parameters, AG Grid type conflicts, and sidebar prerendering - #235
Merged
hotlong merged 3 commits intoJan 27, 2026
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix unused props declaration errors in components
Fix build failures: unused parameters, AG Grid type conflicts, and sidebar prerendering
Jan 27, 2026
hotlong
approved these changes
Jan 27, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes three categories of build failures: TypeScript compilation errors for unused parameters, AG Grid type conflicts from mismatched package versions, and Next.js prerendering errors in sidebar documentation.
Changes:
- Removed unused rest parameters from component destructuring patterns to fix TS6133 errors
- Aligned AG Grid packages to matching v32.3.9 versions and removed explicit type annotation to resolve type conflicts
- Wrapped all sidebar MDX demo schemas with
sidebar-providercomponent to provide required React context for theuseSidebar()hook
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| pnpm-lock.yaml | Updated ag-grid-community and ag-grid-react to matching v32.3.9, removed unused ag-charts-types@13.0.1 |
| packages/plugin-aggrid/package.json | Aligned ag-grid-community (^35.0.1 → ^32.3.9) and ag-grid-react (^32.3.4 → ^32.3.9) |
| packages/plugin-aggrid/src/AgGridImpl.tsx | Removed explicit GridOptions type annotation to allow inference and resolve type conflicts |
| packages/components/src/renderers/placeholders.tsx | Removed unused props rest parameter from destructuring |
| packages/components/src/renderers/data-display/table.tsx | Removed unused _props rest parameter from destructuring |
| content/docs/components/basic/sidebar.mdx | Wrapped all sidebar demo schemas with sidebar-provider and converted to compositional structure using nested sidebar components |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Build was failing with TypeScript errors in components and plugin-aggrid packages, plus Next.js prerendering errors on sidebar documentation page.
Changes
Unused parameters (TS6133): Removed unused rest parameters in
SimpleTableRendererandPlaceholderRendererdestructuring patternsAG Grid type conflicts (TS2322, TS2769):
ag-grid-communityandag-grid-reactto matching v32.3.9 (was v35.0.1 and v32.3.4)GridOptionstype annotation inmergedGridOptionsto allow inferenceSidebar prerendering: Wrapped all MDX demo schemas with
sidebar-providercomponent. TheSidebarcomponent usesuseSidebar()hook which requires context:Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
fonts.googleapis.com/usr/local/bin/node node /home/REDACTED/work/objectui/objectui/apps/site/node_modules/.bin/../next/dist/bin/next build git e/no�� get --global ponents/node_modules/.bin/vite pull.rebase(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.