feat: GitlabUser and GitlabUsers components#35
Merged
Conversation
ebuildy
force-pushed
the
feat_gitlab_users
branch
from
July 19, 2026 13:30
1bf93f5 to
95a3cdb
Compare
Signed-off-by: Thomas Decaux <ebuildy@gmail.com>
Signed-off-by: Thomas Decaux <ebuildy@gmail.com>
Signed-off-by: Thomas Decaux <ebuildy@gmail.com>
Signed-off-by: Thomas Decaux <ebuildy@gmail.com>
…etchUser Signed-off-by: Thomas Decaux <ebuildy@gmail.com>
…on-demand Signed-off-by: Thomas Decaux <ebuildy@gmail.com>
…tchUsers Signed-off-by: Thomas Decaux <ebuildy@gmail.com>
…istry Also update the fetchers.js vi.mock in src/remark/index.test.ts to declare fetchUser/fetchUsers, otherwise importing the registry throws at module-load time (vitest mock is missing named exports). Signed-off-by: Thomas Decaux <ebuildy@gmail.com>
Signed-off-by: Thomas Decaux <ebuildy@gmail.com>
… props Signed-off-by: Thomas Decaux <ebuildy@gmail.com>
Signed-off-by: Thomas Decaux <ebuildy@gmail.com>
Signed-off-by: Thomas Decaux <ebuildy@gmail.com>
Signed-off-by: Thomas Decaux <ebuildy@gmail.com>
Signed-off-by: Thomas Decaux <ebuildy@gmail.com>
… cost, bot-fallback note Signed-off-by: Thomas Decaux <ebuildy@gmail.com>
Signed-off-by: Thomas Decaux <ebuildy@gmail.com>
Signed-off-by: Thomas Decaux <ebuildy@gmail.com>
…ner query) Signed-off-by: Thomas Decaux <ebuildy@gmail.com>
Signed-off-by: Thomas Decaux <ebuildy@gmail.com>
Signed-off-by: Thomas Decaux <ebuildy@gmail.com>
ebuildy
force-pushed
the
feat_gitlab_users
branch
from
July 19, 2026 13:32
95a3cdb to
d26fea5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
<GitlabUser name="…">component: renders a GitLab user profile as a small card (avatar, display name, linked@username) with configurable sections via ashowprop (org,location,bio,counts,since).<GitlabUsers group|project="…">component: a responsive cards grid of group/project members (inherited included, 500-member ceiling), with exact-matchrolefiltering,limit, the sameshowprop (plus arolebadge token), and the sharedComponentLayoutgrid knobs (cardColumns,cardMinWidth,gap,maxWidth,align).<GitlabUser>. Bot/service accounts without a resolvable profile degrade to identity-only cards instead of failing the build.registry → fetcher → inject → pure component); user bio renders as plain text (nodangerouslySetInnerHTML);theme.cssgains a Users section.Design spec:
docs/superpowers/specs/2026-07-16-gitlab-users-design.md· Plan:docs/superpowers/plans/2026-07-16-gitlab-users.mdTest Plan
pnpm test)pnpm run typecheckandpnpm run buildclean; ESM-only packaging guard green