Reformat PRD.md and implement React AG-Grid component#2
Conversation
Co-authored-by: jchoi2x <2028917+jchoi2x@users.noreply.github.com>
|
@copilot Take a look at https://github.com/jchoi2x/templating/tree/bugfix/ssrm/libs/ag-table/src/lib start implementing a react version of it in the react lib in this repo. |
|
@copilot Take a look at https://github.com/jchoi2x/templating/tree/bugfix/ssrm/libs/ag-table/src/lib start implementing a react version of it in the react lib in this repo. |
I attempted to access https://github.com/jchoi2x/templating/tree/bugfix/ssrm/libs/ag-table/src/lib but the repository appears to be private or doesn't exist. Could you either make the repository accessible, or provide the relevant code files directly so I can implement the React version? |
|
@copilot Its a private repo. Can you access it if I allow it? |
No, I cannot access private repositories even if you grant permission through GitHub's UI. My access is limited to publicly accessible content. To proceed, you could either:
|
|
@copilot I made it public try again |
Co-authored-by: jchoi2x <2028917+jchoi2x@users.noreply.github.com>
Implemented the React version using modular AG Grid packages in commit 607e8e0. The
Usage example: import { AgTable } from '@gridweaver/react';
import { ServerSideRowModelModule } from '@ag-grid-enterprise/server-side-row-model';
<AgTable
url="/api/table-definitions/users"
modules={[ServerSideRowModelModule]}
/> |
Co-authored-by: jchoi2x <2028917+jchoi2x@users.noreply.github.com>
|
@copilot All the tests pass? |
Yes, all tests pass:
|
Co-authored-by: jchoi2x <2028917+jchoi2x@users.noreply.github.com>
PRD.md had malformed markdown: missing header syntax, unfenced code blocks, and an artifact prefix line.
PRD.md Changes:
[cite_start]artifact on line 1#,##,###,####)```typescriptReact AG-Grid Component Implementation:
Implemented
@gridweaver/reactlibrary based on the Angular reference implementation fromjchoi2x/templating:@gridweaver/core(SerializedColumnDef, TableHttpSpec, SerializedTableDefinition, TableDefinition)AgTableReact class component that:urlprop to fetch table definitions from the API@ag-grid-community/core,@ag-grid-community/react) as peer dependenciesmodulesprop to pass AG Grid modules (e.g.,ServerSideRowModelModule)onOptionClickedcallbackUsage Example:
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.