Conversation
WalkthroughThe README.md has been comprehensively restructured to reframe Potpie as a knowledge-graph and agent-centric platform. The landing structure, hero area, badges, Table of Contents, product descriptions, Quick Start instructions, Development modes, and Contributing guidelines have all been redesigned with modern tabular formatting and updated copy. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🧹 Nitpick comments (1)
README.md (1)
12-12: Consider promoting the main title to anh1heading.
## Potpierenders as anh2, which is atypical for a document's root heading. GitHub's README renderer and screen-reader tooling both expect a single top-level#as the page title.♻️ Proposed fix
-## Potpie +# Potpie🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@README.md` at line 12, The README's main title uses an h2 ("## Potpie"); change it to an h1 by replacing "## Potpie" with "# Potpie" so the document has a proper top-level heading (also ensure there is only one top-level h1 in the file and update any table-of-contents or references if necessary).
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@README.md`:
- Around line 21-22: The two badge links in README (the anchor containing the
"Apache 2.0" badge and the anchor containing the "GitHub Stars" badge) point to
potpie-ai/potpie; update both the href and the shields.io image src to reference
potpie-ai/potpie-ui instead (i.e., change the LICENSE link and the shields.io
github/stars path to use potpie-ui) so the license link and stars badge reflect
this UI repo.
- Around line 72-84: The Quick Start currently runs a production build before
starting the dev server; remove the stray "pnpm build" step from the commands
block so the flow is: install (pnpm install) then start dev (pnpm run dev). Edit
the README code block that contains "pnpm build" to delete that line and, if
desired, add a short parenthetical note that production builds use "pnpm build"
when deploying rather than during local development.
---
Nitpick comments:
In `@README.md`:
- Line 12: The README's main title uses an h2 ("## Potpie"); change it to an h1
by replacing "## Potpie" with "# Potpie" so the document has a proper top-level
heading (also ensure there is only one top-level h1 in the file and update any
table-of-contents or references if necessary).
| <a href="https://github.com/potpie-ai/potpie/blob/main/LICENSE"><img src="https://img.shields.io/github/license/potpie-ai/potpie" alt="Apache 2.0"></a> | ||
| <a href="https://github.com/potpie-ai/potpie"><img src="https://img.shields.io/github/stars/potpie-ai/potpie" alt="GitHub Stars"></a> |
There was a problem hiding this comment.
Badge links point to the backend repo (potpie-ai/potpie) instead of this UI repo.
Both the License and GitHub Stars badges reference potpie-ai/potpie:
- Line 21:
https://github.com/potpie-ai/potpie/blob/main/LICENSE - Line 22:
https://img.shields.io/github/stars/potpie-ai/potpie
The stars count displayed will be for the backend repo, not potpie-ui. If the intent is to surface this repo's own stats, these should be updated to potpie-ai/potpie-ui.
🛠️ Proposed fix to point badges at the correct repo
- <a href="https://github.com/potpie-ai/potpie/blob/main/LICENSE"><img src="https://img.shields.io/github/license/potpie-ai/potpie" alt="Apache 2.0"></a>
- <a href="https://github.com/potpie-ai/potpie"><img src="https://img.shields.io/github/stars/potpie-ai/potpie" alt="GitHub Stars"></a>
+ <a href="https://github.com/potpie-ai/potpie-ui/blob/main/LICENSE"><img src="https://img.shields.io/github/license/potpie-ai/potpie-ui" alt="Apache 2.0"></a>
+ <a href="https://github.com/potpie-ai/potpie-ui"><img src="https://img.shields.io/github/stars/potpie-ai/potpie-ui" alt="GitHub Stars"></a>📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| <a href="https://github.com/potpie-ai/potpie/blob/main/LICENSE"><img src="https://img.shields.io/github/license/potpie-ai/potpie" alt="Apache 2.0"></a> | |
| <a href="https://github.com/potpie-ai/potpie"><img src="https://img.shields.io/github/stars/potpie-ai/potpie" alt="GitHub Stars"></a> | |
| <a href="https://github.com/potpie-ai/potpie-ui/blob/main/LICENSE"><img src="https://img.shields.io/github/license/potpie-ai/potpie-ui" alt="Apache 2.0"></a> | |
| <a href="https://github.com/potpie-ai/potpie-ui"><img src="https://img.shields.io/github/stars/potpie-ai/potpie-ui" alt="GitHub Stars"></a> |
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In `@README.md` around lines 21 - 22, The two badge links in README (the anchor
containing the "Apache 2.0" badge and the anchor containing the "GitHub Stars"
badge) point to potpie-ai/potpie; update both the href and the shields.io image
src to reference potpie-ai/potpie-ui instead (i.e., change the LICENSE link and
the shields.io github/stars path to use potpie-ui) so the license link and stars
badge reflect this UI repo.
| ```bash | ||
| # 1. Clone the repository | ||
| git clone https://github.com/potpie-ai/potpie-ui.git | ||
| cd potpie-ui | ||
|
|
||
| # 2. Copy environment config | ||
| cp .env.template .env | ||
|
|
||
| # 3. Install dependencies and start | ||
| pnpm install | ||
| pnpm build | ||
| pnpm run dev | ||
| ``` |
There was a problem hiding this comment.
pnpm build in Quick Start is misleading for a development workflow.
Line 82 runs pnpm build (a production compilation step) immediately before pnpm run dev. In a Next.js project, pnpm run dev starts the development server with hot-reload and does not require a prior build. Including the build step here will confuse developers following the Quick Start and significantly slows down the initial setup.
🛠️ Proposed fix to remove the unnecessary build step
# 3. Install dependencies and start
pnpm install
-pnpm build
pnpm run dev📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| ```bash | |
| # 1. Clone the repository | |
| git clone https://github.com/potpie-ai/potpie-ui.git | |
| cd potpie-ui | |
| # 2. Copy environment config | |
| cp .env.template .env | |
| # 3. Install dependencies and start | |
| pnpm install | |
| pnpm build | |
| pnpm run dev | |
| ``` |
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In `@README.md` around lines 72 - 84, The Quick Start currently runs a production
build before starting the dev server; remove the stray "pnpm build" step from
the commands block so the flow is: install (pnpm install) then start dev (pnpm
run dev). Edit the README code block that contains "pnpm build" to delete that
line and, if desired, add a short parenthetical note that production builds use
"pnpm build" when deploying rather than during local development.
Summary by CodeRabbit