Skip to content

feat: like and follow package collections - #3423

Draft
serhalp wants to merge 6 commits into
serhalp/collections/2-create-view-editfrom
serhalp/collections/3-likes-follows
Draft

serhalp wants to merge 6 commits into
serhalp/collections/2-create-view-editfrom
serhalp/collections/3-likes-follows

Conversation

@serhalp

@serhalp serhalp commented Nov 9, 2026

Copy link
Copy Markdown
Member

🔗 Linked issue

TODO

🧭 Context

TODO

📚 Description

TODO


Stack created with GitHub Stacks CLI • Give Feedback 💬

@serhalp
serhalp added this pull request to stack #3427 November 9, 2026 00:36
@vercel

vercel Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated
docs.npmx.dev Ready Ready Preview Nov 14, 2026 10:49pm UTC
npmx.dev Ready Ready Preview Nov 14, 2026 10:49pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
npmx-lunaria Ignored Ignored Nov 14, 2026 10:49pm UTC

Request Review

@coderabbitai

coderabbitai Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the tracking.ignoredKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File Note
i18n/locales/en.json Source changed, localizations will be marked as outdated.
i18n/locales/fr-FR.json Localization changed, will be marked as complete. 🔄️
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

@codecov

codecov Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
3664 1 3663 6
View the top 1 failed test(s) by shortest run time
test/unit/a11y-component-coverage.spec.ts > a11y component test coverage > should have accessibility tests for all components (or be explicitly skipped)
Stack Traces | 0.0186s run time
AssertionError: Missing a11y tests for 1 component(s):
  - Collection/ItemNote.vue

To fix: Add tests in test/nuxt/a11y.spec.ts or add to SKIPPED_COMPONENTS in test/unit/a11y-component-coverage.spec.ts with justification.: expected 1 to equal +0

- Expected
+ Received

- 0
+ 1

 ❯ test/unit/a11y-component-coverage.spec.ts:186:12

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@serhalp
serhalp force-pushed the serhalp/collections/3-likes-follows branch from 6bed8e0 to ae30e73 Compare November 9, 2026 01:32
@serhalp
serhalp force-pushed the serhalp/collections/3-likes-follows branch from ae30e73 to 1018da6 Compare November 11, 2026 14:42
@serhalp
serhalp force-pushed the serhalp/collections/3-likes-follows branch from 1018da6 to 0d3bb00 Compare November 11, 2026 15:33
@serhalp
serhalp force-pushed the serhalp/collections/3-likes-follows branch from 0d3bb00 to f55f83f Compare November 11, 2026 15:40
@serhalp
serhalp force-pushed the serhalp/collections/3-likes-follows branch from f55f83f to 633dc85 Compare November 11, 2026 15:43
@serhalp
serhalp force-pushed the serhalp/collections/3-likes-follows branch from 633dc85 to 3c5a9aa Compare November 11, 2026 15:56
@serhalp
serhalp force-pushed the serhalp/collections/3-likes-follows branch from 3c5a9aa to 5e6ca82 Compare November 11, 2026 16:19
@serhalp
serhalp force-pushed the serhalp/collections/3-likes-follows branch from 5e6ca82 to 7487ee6 Compare November 11, 2026 16:52
@serhalp
serhalp force-pushed the serhalp/collections/3-likes-follows branch from 8ef08f9 to a98b241 Compare November 11, 2026 17:00
@serhalp
serhalp force-pushed the serhalp/collections/3-likes-follows branch from a98b241 to 7f6e7e9 Compare November 11, 2026 17:13
@serhalp
serhalp force-pushed the serhalp/collections/3-likes-follows branch from 7f6e7e9 to d5afa80 Compare November 11, 2026 17:43
@serhalp
serhalp force-pushed the serhalp/collections/3-likes-follows branch from d5afa80 to 21e8488 Compare November 11, 2026 22:24
@serhalp
serhalp force-pushed the serhalp/collections/3-likes-follows branch from 21e8488 to d6acfdc Compare November 11, 2026 22:44
@serhalp
serhalp force-pushed the serhalp/collections/3-likes-follows branch 2 times, most recently from 6209884 to c3576f2 Compare November 14, 2026 22:04
PackageLikesUtils built it inline; collections need the same client.
Like and follow counts, and whether the viewer has liked or followed,
come from Constellation, counted once per account. Profiles can list the
collections an account follows.
A like reuses dev.npmx.feed.like with the collection's AT-URI as
subjectRef; a follow is a dev.npmx.graph.follow record. Both are
idempotent, and our own writes update the cached counts, since
Constellation lags. Signing in now asks for the follows scope.
A like says the collection is good; a follow subscribes to it. Both
update optimistically and roll back on failure, and both are in the
command palette on a collection's page. Owners don't see Follow, since
they follow their own collections implicitly. The heart animation moves
to main.css so package and collection likes share it.

This branch was successfully deployed

2 active deployments
Preview – npmx.dev — 65130df5 Deployed Nov 14, 2026 by vercel[bot]
Preview – docs.npmx.dev — 65130df5 Deployed Nov 14, 2026 by vercel[bot]
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