Scott de Jonge activity https://gitlab.com/sdejonge 2026-03-18T23:43:21Z tag:gitlab.com,2026-03-18:5219828466 Scott de Jonge commented on merge request !5754 at GitLab.org / gitlab-services / Pajamas Design System 2026-03-18T23:43:21Z sdejonge Scott de Jonge

question non-blocking: GlAvatar prop shape accepts 'circle' or 'rect' values. Should square be rect or do we progress with square and retrofit component to align? What does the Figma component use? Should we align naming here?

suggestion non-blocking: can we escape this by removing square in design token defintions altogether?:

avatar
  border
    radius
      default
      lg
  circle
    border
      radius
        default

Now, I've gone full circle back to:

avatar
  border
    radius
      default
      lg
      circle
tag:gitlab.com,2026-03-18:5219794113 Scott de Jonge commented on merge request !5754 at GitLab.org / gitlab-services / Pajamas Design System 2026-03-18T23:23:48Z sdejonge Scott de Jonge

Thanks @danmh! Aligned on approach 🤝 Just a couple suggestions 🏓

tag:gitlab.com,2026-03-18:5219794108 Scott de Jonge commented on merge request !5754 at GitLab.org / gitlab-services / Pajamas Design System 2026-03-18T23:23:48Z sdejonge Scott de Jonge

I've spent some time wrestling with it, but I don't think we can.

I agree, let's progress with what you have in this MR 🤝

thought non-blocking: I'd like to play around with how we might define width/height/size tokens for the size scale and how they might co-ordinate with radius tokens:

avatar
  16
    width
    height
    font-size
  24
    width
    height
    font-size
  32
    width
    height
    font-size
  48
    width
    height
    font-size
  64
    width
    height
    font-size
  96
    width
    height
    font-size
  circle
    border
      radius
        default
  square
    border
      radius
        default
        lg

This might be enough tbh, since it allows size and shape to compliment each-other and be multiplicative. Ignore me, thanks for coming to my ted-talk.


I want to communicate why I raised this for prosperity to remind myself later. I don't think these are immediate concerns but are top of mind when I'm thinking about design token definitions:

  • Single-level scales are easier are iterable and easier to automate for Tailwind utilities, design token visualisations/tables etc. When we multi-level it becomes tricker and requires more manual intervention in tooling. This is less of a concern for contextual design tokens which (currently) do no require Tailwind utility automations.
  • Using the sizes as a scale could enable other properties like width/height to be siblings in the same definitions. Moving design decisions from component stylesheets to design tokens. However, there's far more complexity here with mixins and media queries which makes this approach untenable.
  • Baking in circle and square bakes in visual styles to names which infer how something will looks. This is beneficial for prescribing meaning to tokens, but means they're less flexible to visual change. For example, everything circle or hexagonal becomes trendy and is adopted these have less meaning. This is less of a concern as we use shape to differentiate between projects/groups/users avatars so intervention here is greater than visual design trend.
tag:gitlab.com,2026-03-18:5219794102 Scott de Jonge commented on merge request !5754 at GitLab.org / gitlab-services / Pajamas Design System 2026-03-18T23:23:47Z sdejonge Scott de Jonge

suggestion: apply design token

  border-radius: var(--gl-avatar-circle-border-radius-default);
tag:gitlab.com,2026-03-18:5219794096 Scott de Jonge commented on merge request !5754 at GitLab.org / gitlab-services / Pajamas Design System 2026-03-18T23:23:47Z sdejonge Scott de Jonge
GlAvatar: Add border radius design tokens

Add `avatar.circle.border.radius.default`, `avatar.square.border.radius.default`, and `avatar.square.border.radius.lg` design tokens to the avatar component. These tokens provide size-specific border radius values for square avatars:

- `default` for avatars at smaller sizes (16px, 24px, 32px)
- `lg` for avatars at larger sizes (48px, 64px, 96px)
tag:gitlab.com,2026-03-18:5219794088 Scott de Jonge commented on merge request !5754 at GitLab.org / gitlab-services / Pajamas Design System 2026-03-18T23:23:47Z sdejonge Scott de Jonge

@GitLabDuo I appreciate the defensive CSS here, however if any CSS custom property for design tokens isn't defined in consumers, we're in for a much bigger world of hurt then just this property 😂 Please note that all consumers of GitLab UI inherit all design tokens as CSS custom properties on the :root element. They should be available for any consumer of gitlab-ui components.

tag:gitlab.com,2026-03-18:5219794073 Scott de Jonge commented on merge request !5754 at GitLab.org / gitlab-services / Pajamas Design System 2026-03-18T23:23:46Z sdejonge Scott de Jonge

Cool, this sounds like a sensible approach then. I'd bet that the larger radius is intentional and should be shifted-left to the avatar component anyway 👍

tag:gitlab.com,2026-03-18:5219689257 Scott de Jonge commented on merge request !5755 at GitLab.org / gitlab-services / Pajamas Design System 2026-03-18T22:28:55Z sdejonge Scott de Jonge

note: I updated the description here to be more explicit about create a Figma branch on "Design tokens" Figma file and switching to /packages/gitlab-ui directory to run script.

tag:gitlab.com,2026-03-18:5219687428 Scott de Jonge pushed to project branch 3360-sync-tokens-mr-comment-job at GitLab.org / gitlab-services / Pajamas Design System 2026-03-18T22:27:53Z sdejonge Scott de Jonge

Scott de Jonge (4493bc6f) at 18 Mar 22:27

Update dangerbot content

tag:gitlab.com,2026-03-18:5219687276 Scott de Jonge commented on merge request !5755 at GitLab.org / gitlab-services / Pajamas Design System 2026-03-18T22:27:47Z sdejonge Scott de Jonge

suggestion: robot is no longer required now it's part of a dangerbot comment anyway, use originally proposed "Figma Token Sync Reminder" language to soften message

    ## Figma Token Sync Reminder
tag:gitlab.com,2026-03-18:5219684680 Scott de Jonge commented on merge request !5759 at GitLab.org / gitlab-services / Pajamas Design System 2026-03-18T22:26:18Z sdejonge Scott de Jonge

Thanks for this example! Closing in favour of !5755 🙇

tag:gitlab.com,2026-03-18:5219684625 Scott de Jonge closed merge request !5759: Draft: Use Danger to remind running sync-tokens when tokens.json files modified at GitLab.org / gitlab-services / ... 2026-03-18T22:26:16Z sdejonge Scott de Jonge

What does this MR do?

Reimplements !5755 using the existing Danger setup instead of a custom CI job.

Whenever *.tokens.json files are modified, a Danger warning and markdown comment are posted on the MR reminding the author to run yarn sync-tokens and sync the Figma "Design tokens" library.

Why Danger instead of a custom CI job?

  • No new CI job, no dedicated API token (GITLAB_CANONICAL_INTEGRATION_REST_TOKEN), and no Node script needed
  • Duplicate-comment deduplication is handled automatically by Danger (it edits its single sticky comment rather than posting new ones)
  • Follows the same pattern already used by danger/gitlab_ui_specs and danger/simple_ux_review
  • import_dangerfiles in the root Dangerfile auto-discovers danger/sync_tokens/Dangerfile — no root Dangerfile changes required

Related to #3360

tag:gitlab.com,2026-03-18:5219681192 Scott de Jonge commented on merge request !5755 at GitLab.org / gitlab-services / Pajamas Design System 2026-03-18T22:24:20Z sdejonge Scott de Jonge

Awwww yeah! @markrian that's much simplier/cleaner/nicer thank you!

Though, the danger comment doesn't create a thread which needs resolving, which this approach does. Is that essential?

Nah, the ping for me to run script is the immediate need, in Danger is nicer because it's less disruptive to other contributors. This is a task we (me) need to refine and automate anyway.

I/Duo created !5759 (closed) as a replacement. Did you receive the ping from !5759 (comment 3169946359)? WDYT?

Lovely jubbley! I've brought the Dangerfile change into this branch to allow you to review/merge, thanks!

tag:gitlab.com,2026-03-18:5219681090 Scott de Jonge pushed to project branch 3360-sync-tokens-mr-comment-job at GitLab.org / gitlab-services / Pajamas Design System 2026-03-18T22:24:16Z sdejonge Scott de Jonge

Scott de Jonge (4b2ed518) at 18 Mar 22:24

Add danger rule for running sync-tokens when tokens.json files modi...

tag:gitlab.com,2026-03-18:5219664488 Scott de Jonge commented on merge request !5757 at GitLab.org / gitlab-services / Pajamas Design System 2026-03-18T22:16:20Z sdejonge Scott de Jonge

Close as this is just a test

tag:gitlab.com,2026-03-18:5219664383 Scott de Jonge closed merge request !5757: TEST Add CI job to notify about Figma token sync when *.tokens.json files change at GitLab.org / gitlab-services /... 2026-03-18T22:16:18Z sdejonge Scott de Jonge

What does this MR do?

This is a test

Screenshots or screen recordings

This is a test

Integrations

This is a test

Does this MR meet the acceptance criteria?

This checklist encourages the authors, reviewers, and maintainers of merge requests (MRs) to confirm changes were analyzed for conformity with the project's guidelines, security and accessibility.

Toggle the acceptance checklist

Conformity

  • The “What does this MR do?” section in the MR description is filled out, explaining the reasons for and scope of the proposed changes, per “Say why not just what”.
    • For example, if the MR is focused on usage guidelines, addressing accessibility challenges could be added in a separate MR.
  • Relevant label(s) are applied to the MR.
  • The MR is added to a milestone.
  • Added the ~"component:*" label(s) if applicable.
  • A changeset is added when this MR will do a patch, minor, or major update. More information can be found in doc/publishing-packages.md.

Components

Documentation

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • Security reports checked/validated by a reviewer from the AppSec team

Accessibility

If this MR adds or modifies a component, take a few moments to review the following:

  • All actions and functionality can be done with a keyboard.
  • Links, buttons, and controls have a visible focus state.
  • All content is presented in text or with a text equivalent. For example, alt text for SVG, or aria-label for icons that have meaning or perform actions.
  • Changes in a component’s state are announced by a screen reader. For example, changing aria-expanded="false" to aria-expanded="true" when an accordion is expanded.
  • Color combinations have sufficient contrast.

Related to #3360

tag:gitlab.com,2026-03-18:5219662912 Scott de Jonge commented on merge request !5756 at GitLab.org / gitlab-services / Pajamas Design System 2026-03-18T22:15:33Z sdejonge Scott de Jonge

is Storybook something we directly want to promote contributing to as part of this section?

@jeldergl maybe not, but until we have a suitable solution which covers majority current stories it's going to be resource used by engineering for component/prop/slot discovery. I think this is a minimal intervention way to provide a link for those looking for it which can be refined at a later date once we have alternatives. I don't hold this strongly, and happy to take the view of others. I'd like to progress and iterate to satisfy the immediate consumer need raised in Slack, wdyt?

tag:gitlab.com,2026-03-18:5215843641 Scott de Jonge opened merge request !5758: Move reboot.scss Bootstrap reset styles to GitLab UI at GitLab.org / gitlab-services / Pajamas Design System 2026-03-18T06:18:34Z sdejonge Scott de Jonge

What does this MR do?

  • Move body reset styles to body.scss
  • Add font.family.base and line-height.base design tokens
  • Move Bootstrap _reboot.scss to reset.scss

Screenshots or screen recordings

n/a

Integrations

Does this MR meet the acceptance criteria?

This checklist encourages the authors, reviewers, and maintainers of merge requests (MRs) to confirm changes were analyzed for conformity with the project's guidelines, security and accessibility.

Toggle the acceptance checklist

Conformity

  • The “What does this MR do?” section in the MR description is filled out, explaining the reasons for and scope of the proposed changes, per “Say why not just what”.
    • For example, if the MR is focused on usage guidelines, addressing accessibility challenges could be added in a separate MR.
  • Relevant label(s) are applied to the MR.
  • The MR is added to a milestone.
  • Added the ~"component:*" label(s) if applicable.
  • A changeset is added when this MR will do a patch, minor, or major update. More information can be found in doc/publishing-packages.md.

Components

Documentation

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • Security reports checked/validated by a reviewer from the AppSec team

Accessibility

If this MR adds or modifies a component, take a few moments to review the following:

  • All actions and functionality can be done with a keyboard.
  • Links, buttons, and controls have a visible focus state.
  • All content is presented in text or with a text equivalent. For example, alt text for SVG, or aria-label for icons that have meaning or perform actions.
  • Changes in a component’s state are announced by a screen reader. For example, changing aria-expanded="false" to aria-expanded="true" when an accordion is expanded.
  • Color combinations have sufficient contrast.

Related to #3358

tag:gitlab.com,2026-03-18:5215841434 Scott de Jonge pushed new project branch 3358-move-reboot-scss-bootstrap-reset-styles-to-gitlab-ui at GitLab.org / gitlab-services / Pajamas Design System 2026-03-18T06:17:36Z sdejonge Scott de Jonge

Scott de Jonge (8573409a) at 18 Mar 06:17

Move body reset styles to body.scss

... and 2 more commits

tag:gitlab.com,2026-03-18:5215787791 Scott de Jonge closed issue #504301: Add storybook for app/assets/javascripts/vue_shared/components/code_dropdown/code_dropdown_item.vue at GitLab.org / GitLab 2026-03-18T05:53:50Z sdejonge Scott de Jonge