Skip to content

Hide public notes from the Garden index - #18

Merged
cursor[bot] merged 1 commit into
mainfrom
cursor/garden-hide-notes-9b51
Nov 22, 2026
Merged

cursor[bot] merged 1 commit into
mainfrom
cursor/garden-hide-notes-9b51

Conversation

@ShuminFu

Copy link
Copy Markdown
Owner

What does this PR do?

The Garden at /posts/ now lists regular posts only. Posts that isNote() already treats as public notes stay off this index and remain on /notes/.

Growth is still calculated with those notes in the corpus, so a note’s link can still move a post between stages. The stage tabs then count only the posts on the page.

With the current content that is 33 posts: All 33, Seedling 24, Budding 9, Evergreen 0. Grid and list both use that set. The tag dropdown only offers tags that appear on those posts, so #notes is not a garden filter. #reading-notes posts stay in the garden. The visible count and the page description follow the same set. Paginated /posts/page/N/ uses it too.

Unchanged

  • /notes/ still lists all 16 public notes.
  • Individual post URLs, tag archive URLs (including /posts/tag/notes/), homepage recent mix, command-palette search, and RSS.
  • No posts were deleted or recategorized.

Not for publication until you say 发.

Garden on desktop

Garden on a phone

How to test

  1. npm run dev
  2. Open /posts/. Expect 33 posts, tabs 33 / 24 / 9 / 0, and no Note badges. List view shows the same posts. Seedling still filters. Searching tags does not offer #notes.
  3. Open /notes/. Expect Public Notes and 16 notes.
  4. Open /posts/tag/notes/ and a note’s own URL. Both still work. A reading-notes post is still in the garden.

Checklist

  • npm run build passes
  • Tested in light and dark mode
  • Tested with at least two themes (e.g. sage, classic)
  • No new warnings in the console

Checked classic in the browser, including the phone width, list toggle, Seedling tab, and tag search. A second color theme was not clicked.

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

The garden lists posts only. Public Notes stay on /notes/, and growth is still calculated with those notes present.

Co-authored-by: Shumin <shuminfu99@gmail.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying fun-fun-zone with  Cloudflare Pages  Cloudflare Pages

Latest commit: b50c649
Status: ✅  Deploy successful!
Preview URL: https://f52d7068.fun-fun-zone.pages.dev
Branch Preview URL: https://cursor-garden-hide-notes-9b5.fun-fun-zone.pages.dev

View logs

@cursor
cursor Bot merged commit 9eec464 into main Nov 22, 2026
2 checks passed
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.

2 participants