Skip to content

feat: blog-release rainbow-comet#2969

Merged
alexdln merged 7 commits into
npmx-dev:mainfrom
alexdln:feat/blog-rainbow-comet
Jun 29, 2026
Merged

feat: blog-release rainbow-comet#2969
alexdln merged 7 commits into
npmx-dev:mainfrom
alexdln:feat/blog-rainbow-comet

Conversation

@alexdln

@alexdln alexdln commented Jun 27, 2026

Copy link
Copy Markdown
Member

🧭 Context

It's time for a new release. We've accumulated too many wonderful things and news

@vercel

vercel Bot commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
npmx.dev Ready Ready Preview, Comment Jun 29, 2026 1:28pm
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
docs.npmx.dev Ignored Ignored Preview Jun 29, 2026 1:28pm
npmx-lunaria Ignored Ignored Jun 29, 2026 1:28pm

Request Review

@coderabbitai

coderabbitai Bot commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 6d0e9dbc-688a-49c7-a845-5db408cf7a5e

📥 Commits

Reviewing files that changed from the base of the PR and between 38f3503 and 70aaf5c.

📒 Files selected for processing (1)
  • app/pages/blog/release/rainbow-comet.md
✅ Files skipped from review due to trivial changes (1)
  • app/pages/blog/release/rainbow-comet.md

📝 Walkthrough

Summary by CodeRabbit

  • New Features
    • Enhanced Bluesky embeds to support gallery-style posts, displaying multiple images in a horizontally scrollable view.
    • Published a new blog release page for “npmx 0.16 rainbow comet” with updated highlights and navigation.

Walkthrough

Extends BlueskyPostEmbed with gallery embed typing and rendering, and adds the npmx 0.16 “rainbow comet” release blog post with frontmatter and markdown content.

Changes

Bluesky Gallery Embed Support

Layer / File(s) Summary
EmbedGallery type and gallery render block
app/components/global/BlueskyPostEmbed.client.vue
Introduces the EmbedGallery interface, extends BlueskyPost.embed to include it, and renders gallery items as a horizontally scrollable image strip.

rainbow-comet Release Blog Post

Layer / File(s) Summary
rainbow-comet release page content
app/pages/blog/release/rainbow-comet.md
Adds YAML frontmatter and the full release post body, including the “What’s new?”, “State of npmx”, and closing sections with embedded Bluesky posts and site navigation links.
🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title is concise and clearly points to the rainbow-comet blog release.
Description check ✅ Passed The description is brief but clearly related to preparing a new release post.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

@codecov

codecov Bot commented Jun 27, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
app/components/global/BlueskyPostEmbed.client.vue 0.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

<BlueskyPostEmbed url="https://bsky.app/profile/danielroe.dev/post/3mn5sk7jrwk2v" />

<BlueskyPostEmbed url="https://bsky.app/profile/npmx.dev/post/3mlwz4gho5s2n" />

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.

It would be good to also add the talk we did at Web Engines Hackfest https://mu.social/profile/npmx.dev/post/3mp75vauw322e

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I added, but decided not to add embed support, as it would be too long. But let me know if we still need it :)

image

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.

Great to me. Later on, it would be good that the link is clickable. We can walk there once we add more social posts related features though.

@danielroe danielroe left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

👌

@patak-cat

Copy link
Copy Markdown
Contributor

About the authors, I think it is good to have the people that did some features listed. Maybe you, Philippe, alec, and willow (for the work on the meetup). And you can remove me. Looking forward to seeing this post out!

@patak-cat patak-cat left a comment

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.

🙌🏼

@alexdln alexdln marked this pull request as ready for review June 29, 2026 11:12

@coderabbitai coderabbitai Bot left a comment

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.

Actionable comments posted: 1

🧹 Nitpick comments (1)
app/components/global/BlueskyPostEmbed.client.vue (1)

223-229: 🚀 Performance & Scalability | 🔵 Trivial | ⚡ Quick win

Reuse img.aspectRatio in the gallery path.

The single-image branch already reserves space with aspectRatio, but the new gallery branch drops that and will reflow as images load. Carrying the same style across here would reduce layout shift in the strip.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@app/components/global/BlueskyPostEmbed.client.vue` around lines 223 - 229,
The gallery rendering path in BlueskyPostEmbed.client.vue is missing the same
reserved sizing used in the single-image branch, which can cause layout shift as
images load. Update the v-for image markup that renders post.embed.items to
carry over img.aspectRatio styling/handling from the single-image branch so the
gallery strip reserves space consistently before each image loads.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@app/pages/blog/release/rainbow-comet.md`:
- Around line 41-97: The release post is triggering too many client-side Bluesky
lookups because each BlueskyPostEmbed still uses url-based embeds that resolve
handles at runtime. Update the embeds in this page to use uri= values instead of
url=, or pre-resolve/batch the post identifiers before publishing, so
app/components/global/BlueskyPostEmbed.client.vue is not forced to make multiple
first-load requests for each embed.

---

Nitpick comments:
In `@app/components/global/BlueskyPostEmbed.client.vue`:
- Around line 223-229: The gallery rendering path in BlueskyPostEmbed.client.vue
is missing the same reserved sizing used in the single-image branch, which can
cause layout shift as images load. Update the v-for image markup that renders
post.embed.items to carry over img.aspectRatio styling/handling from the
single-image branch so the gallery strip reserves space consistently before each
image loads.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: b92ab902-ed19-43fa-a0cc-6faa0489c951

📥 Commits

Reviewing files that changed from the base of the PR and between a19950d and fae0a57.

⛔ Files ignored due to path filters (5)
  • public/blog/coderabbit-x-npmx.png is excluded by !**/*.png
  • public/blog/languages-rainbow-comet.png is excluded by !**/*.png
  • public/blog/noodles-rainbow-comet.png is excluded by !**/*.png
  • public/blog/og/release-rainbow-comet.png is excluded by !**/*.png
  • public/blog/stats-tab.png is excluded by !**/*.png
📒 Files selected for processing (2)
  • app/components/global/BlueskyPostEmbed.client.vue
  • app/pages/blog/release/rainbow-comet.md

Comment thread app/pages/blog/release/rainbow-comet.md Outdated
@alexdln alexdln added this pull request to the merge queue Jun 29, 2026
Merged via the queue into npmx-dev:main with commit d02d91f Jun 29, 2026
23 of 24 checks passed
@alexdln alexdln deleted the feat/blog-rainbow-comet branch June 29, 2026 14:25
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.

3 participants