Skip to content

Conversation

@github-actions
Copy link
Contributor

This is an automated pull request to merge mariano/make-portal-great-again into dev.
It was created by the [Auto Pull Request] action.

@vercel
Copy link

vercel bot commented Dec 18, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
portal Error Error Dec 18, 2025 7:07pm
1 Skipped Deployment
Project Deployment Review Updated (UTC)
app Skipped Skipped Dec 18, 2025 7:07pm

@cursor
Copy link

cursor bot commented Dec 18, 2025

PR Summary

Introduces a new Chakra UI design system package (@trycompai/ui-new) and integrates it into the portal with provider setup, config updates, and demo pages.

  • Design System (new packages/ui-new):
    • Adds Chakra UI v3 component library, theme tokens/semantic colors, recipes (e.g., button, alert), Provider, and build/typegen configs.
    • Includes docs (README.md, agents.md).
  • Portal Integration:
    • Uses @trycompai/ui-new (adds dependency, transpile/experimental config, externalizes @ark-ui/react/@zag-js, optimize imports).
    • Wraps app with ChakraProvider; updates fonts; replaces button in auth page; removes legacy ThemeProvider.
    • Adds test-ui demo pages showcasing components/tokens.
  • Config/Infra:
    • Updates .cursor/mcp.json to use Chakra MCP server; tweaks dev script; Next config tweaks; lockfile updates; React peer versions aligned.
  • Misc:
    • Minor typing/formatting cleanups (emails, portal components, utils); small API typing change in getFleetAgent(); small UI utils refactor.

Written by Cursor Bugbot for commit 4b45872. This will update automatically on new commits. Configure here.

@graphite-app graphite-app bot requested a review from Marfuen December 18, 2025 15:40
@graphite-app
Copy link

graphite-app bot commented Dec 18, 2025

Graphite Automations

"Auto-assign PRs to Author" took an action on this PR • (12/18/25)

1 reviewer was added to this PR based on Mariano Fuentes's automation.

busywork, win more deals and accelerate growth.
</p>
<Button variant="link" className="mt-2 p-0" asChild>
<Button variant="outline" className="mt-2 p-0" asChild>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Button variant incompatible with zero padding styling

The Button changed from variant="link" (old UI library) to variant="outline" with className="mt-2 p-0". An outline variant button has a visible border, and p-0 removes all padding, causing the text content to touch the border directly. This creates a visually broken appearance. The equivalent variant in the new Chakra-based library for link-styled buttons is variant="plain", which has no border and works correctly with zero padding.

Fix in Cursor Fix in Web

const [running, setRunning] = React.useState(true);
const toggle = () => setRunning(!running);
return <Box onClick={toggle}>{running ? <LuPause /> : <LuPlay />}</Box>;
};
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Carousel autoplay icon state disconnected from actual autoplay

The AutoplayIcon component maintains its own local running state that is completely disconnected from the actual carousel autoplay state. The icon defaults to running=true on mount regardless of whether the carousel is actually autoplaying. While clicking toggles both the local state and the actual autoplay (via Carousel.AutoplayTrigger), they can become out of sync if autoplay changes through other means, or if the carousel doesn't start with autoplay enabled. The component should use the carousel context to get the actual autoplay state instead of managing independent local state.

Fix in Cursor Fix in Web

<LinkButton href={getHref(props.value)} variant={variant} size={size}>
{props.value}
</LinkButton>
);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Pagination components ignore props and refs when using href

The PaginationItem, PaginationPrevTrigger, and PaginationNextTrigger components are declared with forwardRef and accept typed props, but when getHref is provided, neither the ref nor the remaining props are forwarded to the returned LinkButton. This creates inconsistent behavior where props like event handlers, className, or aria attributes work when using button-based pagination but are silently ignored when using link-based pagination with getHref.

Additional Locations (2)

Fix in Cursor Fix in Web

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.

2 participants