fix (marketing): blog take down to coming soon#1001
Conversation
📝 WalkthroughWalkthroughAdds a new static blog post file with frontmatter metadata and a placeholder message at apps/marketing/content/blog/coming-soon.mdx. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
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: 1
🤖 Fix all issues with AI agents
In `@apps/marketing/content/blog/coming-soon.mdx`:
- Around line 1-7: The coming-soon.mdx file currently lives in the root blog
directory and will be picked up by getBlogPosts(), so either move this file into
the _archive/ directory to exclude it from getBlogPosts() and feeds/sitemaps, or
add a draft/published frontmatter field (e.g., draft: true or published: false)
to coming-soon.mdx and update getBlogPosts() to filter out posts with draft ===
true or published === false before returning results; modify the code path in
getBlogPosts() where frontmatter is read to apply this filter so drafts are
ignored by listings, RSS (/feed.xml), and sitemaps.
| --- | ||
| title: Coming Soon | ||
| description: Stay tuned for updates from the Superset team. | ||
| author: Superset Team | ||
| date: 2026-01-27 | ||
| category: Company | ||
| --- |
There was a problem hiding this comment.
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
# Find existing frontmatter flags used in other posts
echo "=== Checking for existing frontmatter flags in blog posts ==="
fd -e mdx -e md apps/marketing/content/blog \
-x rg -n "^(draft|published|noindex|robots|hidden)\s*:" {}
echo -e "\n=== Checking blog post structure and frontmatter usage ==="
fd -e mdx -e md apps/marketing/content/blog | head -5 | xargs -I {} sh -c 'echo "File: {}"; head -15 {} | cat -n'
echo -e "\n=== Searching for MDX/frontmatter processing config ==="
rg -l "frontmatter|mdx|remark|rehype|blog" apps -g '*.{ts,tsx,js,jsx,json,yml,yaml}' | head -20
echo -e "\n=== Checking for gray-matter or similar frontmatter parsing ==="
rg -n "gray-matter|vfile|remark|rehype" apps/marketing -g '*.{ts,tsx,js,jsx,json,config}'Repository: superset-sh/superset
Length of output: 2110
🏁 Script executed:
#!/bin/bash
echo "=== Sample blog posts structure (first 20 lines) ==="
fd . apps/marketing/content/blog -e mdx -e md | head -3 | xargs -I {} sh -c 'echo "File: {}"; head -20 {}'
echo -e "\n=== Checking blog.ts for frontmatter processing ==="
cat -n apps/marketing/src/lib/blog.ts | head -50
echo -e "\n=== Checking blog-utils.ts ==="
cat -n apps/marketing/src/lib/blog-utils.ts | head -50
echo -e "\n=== Checking blog/page.tsx for post filtering ==="
cat -n apps/marketing/src/app/blog/page.tsxRepository: superset-sh/superset
Length of output: 8966
🏁 Script executed:
#!/bin/bash
echo "=== Checking feed.xml/route.ts ==="
cat -n apps/marketing/src/app/feed.xml/route.ts
echo -e "\n=== Full getBlogPosts() implementation ==="
cat -n apps/marketing/src/lib/blog.ts | tail -30
echo -e "\n=== Check if _archive is filtered ==="
fd . apps/marketing/content/blog --type d
echo -e "\n=== Checking sitemap.ts for blog post filtering ==="
cat -n apps/marketing/src/app/sitemap.ts | grep -A 10 -B 5 blogRepository: superset-sh/superset
Length of output: 4140
🏁 Script executed:
#!/bin/bash
echo "=== Full getBlogPosts() implementation (lines 48-75) ==="
sed -n '48,75p' apps/marketing/src/lib/blog.ts | cat -n
echo -e "\n=== Check if files in _archive are included in getBlogPosts ==="
ls -la apps/marketing/content/blog/ | head -20
echo -e "\n=== Check directory structure ==="
tree -L 2 apps/marketing/content/blog 2>/dev/null || find apps/marketing/content/blog -type f -name "*.mdx" | head -10Repository: superset-sh/superset
Length of output: 1525
Move to _archive/ directory or add draft/published frontmatter support.
The coming-soon.mdx file in the root blog directory will be picked up by getBlogPosts() (which only reads direct children) and will appear in blog listings, RSS feeds (/feed.xml), and sitemaps. The site does not currently support draft, published, noindex, or similar frontmatter flags.
To achieve a true "coming soon" placeholder without publication, either:
- Move this file to
_archive/(which is effectively excluded fromgetBlogPosts()), or - Add support for a
draft: trueorpublished: falsefield and filter it in the blog query logic.
🤖 Prompt for AI Agents
In `@apps/marketing/content/blog/coming-soon.mdx` around lines 1 - 7, The
coming-soon.mdx file currently lives in the root blog directory and will be
picked up by getBlogPosts(), so either move this file into the _archive/
directory to exclude it from getBlogPosts() and feeds/sitemaps, or add a
draft/published frontmatter field (e.g., draft: true or published: false) to
coming-soon.mdx and update getBlogPosts() to filter out posts with draft ===
true or published === false before returning results; modify the code path in
getBlogPosts() where frontmatter is read to apply this filter so drafts are
ignored by listings, RSS (/feed.xml), and sitemaps.
🧹 Preview Cleanup CompleteThe following preview resources have been cleaned up:
Thank you for your contribution! 🎉 |
Description
Related Issues
Type of Change
Testing
Screenshots (if applicable)
Additional Notes
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.