Skip to content

Feat/gitlab topics labels#22

Merged
ebuildy merged 17 commits into
mainfrom
feat/gitlab-topics-labels
Jul 3, 2026
Merged

Feat/gitlab topics labels#22
ebuildy merged 17 commits into
mainfrom
feat/gitlab-topics-labels

Conversation

@ebuildy

@ebuildy ebuildy commented Jul 1, 2026

Copy link
Copy Markdown
Owner

No description provided.

ebuildy and others added 17 commits July 1, 2026 19:13
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Also update the remark index test mock to include fetchTopics and
fetchLabels so the module mock stays complete after registry expansion.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add stub endpoints for /topics, /labels (project + group) to the GitLab stub server, add live component usage in the example site's intro.mdx, and assert that topics and label HTML is baked into the static build output.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Default pagination is perPage 100 / maxPages 5 (500-item security ceiling).
When a limit is set without a name filter, reduce maxPages to just cover it;
a filter forces the full ceiling since matches can land on any page.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The value import of renderMarkdown lacked the explicit .js extension
required by the package's ESM (moduleResolution: Bundler) setup, so the
compiled dist/gitlab/fetchers.js failed to resolve ./markdown at runtime
and broke the Docusaurus build (ERR_MODULE_NOT_FOUND).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Render GitLab scoped labels/topics ('scope::value', e.g. Abilities::Performance)
as a two-part badge: the scope keeps its color, the value gets a dark-gray
treatment, and the whole pill is framed with a border in the scope color. Split
is on the last '::' to match GitLab semantics (parseScopedLabel helper).

Reuse the shared .gitlab-card styling (border + shadow + hover) for the labels
cards layout, and make that grid configurable via a generic, reusable
ComponentLayout interface: cardColumns, cardMinWidth, gap, maxWidth, align
(cardsGridStyle builds the inline grid style; cardColumns wins over cardMinWidth).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@ebuildy
ebuildy merged commit dcab2a1 into main Jul 3, 2026
7 of 8 checks passed
@ebuildy
ebuildy deleted the feat/gitlab-topics-labels branch July 3, 2026 06:10
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