-
Notifications
You must be signed in to change notification settings - Fork 450
Pasquale/cui 29 search page #508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
…h-page # Conflicts: # apps/ui/registry/default/particles/index.tsx
…d functionality and consistency
… guidelines for clarity
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
4 issues found across 1148 files
Note: This PR contains a large number of files. cubic only reviews up to 150 files per PR, so some files may not have been reviewed.
Prompt for AI agents (all 4 issues)
Understand the root cause of the following 4 issues and fix them.
<file name="apps/ui/public/r/p-autocomplete-13.json">
<violation number="1" location="apps/ui/public/r/p-autocomplete-13.json:16">
Add `@coss/button` to the registryDependencies list so the generated particle includes the button package it imports.</violation>
</file>
<file name="apps/ui/content/docs/components/field.mdx">
<violation number="1" location="apps/ui/content/docs/components/field.mdx:114">
The className for the "With Validity" preview introduces a space inside the Tailwind arbitrary variant, yielding invalid classes and breaking the width constraint on the preview.</violation>
</file>
<file name="apps/ui/app/particles/particle-card-container.tsx">
<violation number="1" location="apps/ui/app/particles/particle-card-container.tsx:19">
Add a positioning context (e.g., `relative`) to the content panel so its `::before` pseudo-element is scoped to the panel instead of the entire card body.</violation>
</file>
<file name="apps/ui/public/r/p-breadcrumb-1.json">
<violation number="1" location="apps/ui/public/r/p-breadcrumb-1.json:13">
This particle imports and renders Button, but @coss/button is missing from registryDependencies, so downstream registry builds won’t include the required UI component.</violation>
</file>
Reply to cubic to teach it or ask questions. Re-run a review with @cubic-dev-ai review this PR
| "className": "**:data-[slot=preview]:w-full **:data-[slot=preview]:max-w-64" | ||
| }, | ||
| "name": "p-autocomplete-13", | ||
| "registryDependencies": ["@coss/autocomplete", "@coss/form", "@coss/field"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add @coss/button to the registryDependencies list so the generated particle includes the button package it imports.
Prompt for AI agents
Address the following comment on apps/ui/public/r/p-autocomplete-13.json at line 16:
<comment>Add `@coss/button` to the registryDependencies list so the generated particle includes the button package it imports.</comment>
<file context>
@@ -0,0 +1,18 @@
+ "className": "**:data-[slot=preview]:w-full **:data-[slot=preview]:max-w-64"
+ },
+ "name": "p-autocomplete-13",
+ "registryDependencies": ["@coss/autocomplete", "@coss/form", "@coss/field"],
+ "type": "registry:block"
+}
</file context>
| "registryDependencies": ["@coss/autocomplete", "@coss/form", "@coss/field"], | |
| "registryDependencies": ["@coss/autocomplete", "@coss/form", "@coss/field", "@coss/button"], |
| name="field-validity" | ||
| className="[&_.preview>*]:w-full [&_.preview>*]:max-w-80" | ||
| <ComponentPreview name="p-field-5" | ||
| className="[& .preview>*]:w-full [&_.preview>*]:max-w-80" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The className for the "With Validity" preview introduces a space inside the Tailwind arbitrary variant, yielding invalid classes and breaking the width constraint on the preview.
Prompt for AI agents
Address the following comment on apps/ui/content/docs/components/field.mdx at line 114:
<comment>The className for the "With Validity" preview introduces a space inside the Tailwind arbitrary variant, yielding invalid classes and breaking the width constraint on the preview.</comment>
<file context>
@@ -100,109 +96,72 @@ import { Input } from "@/components/ui/input"
- name="field-validity"
- className="[&_.preview>*]:w-full [&_.preview>*]:max-w-80"
+<ComponentPreview name="p-field-5"
+ className="[& .preview>*]:w-full [&_.preview>*]:max-w-80"
/>
</file context>
| className="[& .preview>*]:w-full [&_.preview>*]:max-w-80" | |
| className="[&_.preview>*]:w-full [&_.preview>*]:max-w-80" |
| className, | ||
| )} | ||
| > | ||
| <div className="-m-px flex min-h-50 min-w-0 flex-1 flex-col flex-wrap items-center justify-center overflow-x-auto rounded-t-xl rounded-b-lg border bg-background p-6 before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-xl)-1px)] lg:px-8 lg:py-12 dark:before:shadow-[0_-1px_--theme(--color-white/8%)]"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a positioning context (e.g., relative) to the content panel so its ::before pseudo-element is scoped to the panel instead of the entire card body.
Prompt for AI agents
Address the following comment on apps/ui/app/particles/particle-card-container.tsx at line 19:
<comment>Add a positioning context (e.g., `relative`) to the content panel so its `::before` pseudo-element is scoped to the panel instead of the entire card body.</comment>
<file context>
@@ -0,0 +1,25 @@
+ className,
+ )}
+ >
+ <div className="-m-px flex min-h-50 min-w-0 flex-1 flex-col flex-wrap items-center justify-center overflow-x-auto rounded-t-xl rounded-b-lg border bg-background p-6 before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-xl)-1px)] lg:px-8 lg:py-12 dark:before:shadow-[0_-1px_--theme(--color-white/8%)]">
+ {children}
+ </div>
</file context>
| } | ||
| ], | ||
| "name": "p-breadcrumb-1", | ||
| "registryDependencies": ["@coss/breadcrumb", "@coss/menu"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This particle imports and renders Button, but @coss/button is missing from registryDependencies, so downstream registry builds won’t include the required UI component.
Prompt for AI agents
Address the following comment on apps/ui/public/r/p-breadcrumb-1.json at line 13:
<comment>This particle imports and renders Button, but @coss/button is missing from registryDependencies, so downstream registry builds won’t include the required UI component.</comment>
<file context>
@@ -0,0 +1,15 @@
+ }
+ ],
+ "name": "p-breadcrumb-1",
+ "registryDependencies": ["@coss/breadcrumb", "@coss/menu"],
+ "type": "registry:block"
+}
</file context>
| "registryDependencies": ["@coss/breadcrumb", "@coss/menu"], | |
| "registryDependencies": ["@coss/breadcrumb", "@coss/menu", "@coss/button"], |
Summary by cubic
Built a unified particles search page with multi-category filtering and chip-based UI, replacing the old category routes. Addresses Linear CUI-29 by making components easier to find and share.
New Features
Refactors
Written for commit 49c2704. Summary will update automatically on new commits.