Skip to content

fix: updated potpie-ui readme#331

Open
kshitij2040 wants to merge 1 commit intopotpie-ai:mainfrom
kshitij2040:fix/readme-asset-paths
Open

fix: updated potpie-ui readme#331
kshitij2040 wants to merge 1 commit intopotpie-ai:mainfrom
kshitij2040:fix/readme-asset-paths

Conversation

@kshitij2040
Copy link
Copy Markdown
Collaborator

@kshitij2040 kshitij2040 commented Feb 22, 2026

Summary by CodeRabbit

  • Documentation
    • Updated README with improved landing structure and responsive design elements.
    • Enhanced Quick Start guide with consolidated setup steps and direct access links.
    • Reorganized Development section with detailed local and production mode documentation.
    • Strengthened Contributing guidelines and license information with clearer formatting and badges.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Feb 22, 2026

Walkthrough

The 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

Cohort / File(s) Summary
README Documentation Restructuring
README.md
Comprehensive redesign of header, logo display, hero section, and badge collection. Converted Table of Contents to table-based layout. Rewrote Overview and Features sections to emphasize knowledge-graph and agent capabilities. Replaced Quick Start with consolidated step-by-step instructions. Overhauled Development section with new Local Development Mode and Production Mode tables detailing per-service behavior. Updated Contributing section with structured PR flow reference and Contributing Guide badge. Reformatted License section with consistent styling.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

Poem

🐰 A README reborn with tables so neat,
Knowledge graphs and agents, now the heartbeat,
Badges aligned in their proper place,
Potpie's story told with modern grace,
Dev modes and flows, structured with care,
A welcome refresh floating in the air! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'fix: updated potpie-ui readme' directly reflects the main change in the changeset, which is a comprehensive README.md update for the Potpie project with restructured content, new sections, and improved formatting.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🧹 Nitpick comments (1)
README.md (1)

12-12: Consider promoting the main title to an h1 heading.

## Potpie renders as an h2, 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).

Comment on lines +21 to +22
<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>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

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.

Suggested change
<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.

Comment on lines +72 to +84
```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
```
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

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.

Suggested change
```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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant