Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
5420e70
docs: design spec for GitlabRoadmap component
ebuildy Jul 10, 2026
e9942eb
docs: implementation plan for GitlabRoadmap component
ebuildy Jul 10, 2026
f2e14f0
Merge branch 'main' of github.com:ebuildy/docusaurus-plugin-gitlab
ebuildy Jul 16, 2026
42ee071
Merge branch 'main' of github.com:ebuildy/docusaurus-plugin-gitlab
ebuildy Jul 16, 2026
067ec4e
docs: design spec for GitlabUser/GitlabUsers components
ebuildy Jul 16, 2026
1d45781
docs: implementation plan for GitlabUser/GitlabUsers components
ebuildy Jul 16, 2026
5216a8a
feat: shared show/role helpers and UserData type for user components
ebuildy Jul 16, 2026
46aeaba
feat: client methods for users and group/project members
ebuildy Jul 16, 2026
b053faa
docs: broaden PageOptions comment to cover member endpoints
ebuildy Jul 16, 2026
7a2bb6b
feat: fetchUser — resolve a username to a normalized, cached profile
ebuildy Jul 16, 2026
97a8d99
fix: case-insensitive username resolution and canonical memo key in f…
ebuildy Jul 16, 2026
306bcda
feat: fetchUsers — group/project members with role filter and enrich-…
ebuildy Jul 16, 2026
6ce525c
fix: effective-role dedupe, resilient enrichment, integer limit in fe…
ebuildy Jul 16, 2026
d52d650
feat: register GitlabUser and GitlabUsers in the remark component reg…
ebuildy Jul 16, 2026
5f4f742
feat: GitlabUser component with shared UserCard partial
ebuildy Jul 16, 2026
4a6ca85
feat: GitlabUsers component — members cards grid with ComponentLayout…
ebuildy Jul 17, 2026
380d853
feat: user card styles in theme.css; reuse gitlab-card-header layout
ebuildy Jul 17, 2026
6977285
style: static grid-template-columns fallback for gitlab-user-cards
ebuildy Jul 17, 2026
5636005
feat: export GitlabUser, GitlabUsers and UserData
ebuildy Jul 17, 2026
7ef2432
docs: GitlabUser/GitlabUsers pages, README sections, and e2e coverage
ebuildy Jul 17, 2026
c6cd5fd
docs: review polish — badge-scoped e2e assertion, accurate enrichment…
ebuildy Jul 17, 2026
5c5167f
feat: right-aligned info block with emoji-prefixed lines on user cards
ebuildy Jul 18, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,46 @@ Both components render [scoped labels/topics](https://docs.gitlab.com/ee/user/pr
(`scope::value`, e.g. `Abilities::Performance`) as a two-part badge — the scope keeps its
color and the value gets a dark-gray background. The split is on the last `::`.

### `<GitlabUser>`

A user profile as a small card: photo, display name, linked `@username`, and
configurable profile sections from the public user API.

```mdx
<GitlabUser name="jdoe" />

<GitlabUser name="jdoe" show="org,bio,counts" />
```

| Prop | Type | Default | Description |
|---|---|---|---|
| `name` | string | required | GitLab username |
| `show` | string | `org,location,bio,counts,since` | Card sections: `org`, `location`, `bio`, `counts` (followers/following), `since` (member since) |

### `<GitlabUsers>`

The members of a group **or** project (inherited included) as a grid of user cards.

```mdx
<GitlabUsers group="my-group" role="developer" />

<GitlabUsers project="group/repo" show="role,org,counts" cardColumns={3} gap="1rem" />
```

| Prop | Type | Default | Description |
|---|---|---|---|
| `group` | string \| number | — | Provide either `group` or `project` |
| `project` | string \| number | — | Provide either `group` or `project` |
| `role` | string | — | Exact-match filter: `guest`, `reporter`, `developer`, `maintainer`, `owner`, … |
| `show` | string | `role` | `<GitlabUser>` tokens plus `role` (role badge) |
| `limit` | number | all | Max members to show (fetch capped at 500) |

The grid accepts the shared card-grid props: `cardColumns`, `cardMinWidth`
(default `260px`), `gap`, `maxWidth`, `align`. The default `show="role"` costs a
single members call; profile tokens add one cached profile lookup per member at
build time (two API requests per member on a cold build, deduplicated across
pages and builds).

### `<GitlabRoadmap>`

Renders a timeline of GitLab **epics** (Premium/Ultimate, group-level) or
Expand Down
Loading
Loading