Mark Florian activity https://gitlab.com/markrian 2026-03-17T17:19:27Z tag:gitlab.com,2026-03-17:5214023188 Mark Florian deleted project branch do-not-run-duo-job-in-non-canonical-mrs at GitLab.org / gitlab-services / Pajamas Design System 2026-03-17T17:19:27Z markrian Mark Florian [email protected]

Mark Florian (8ceadda2) at 17 Mar 17:19

tag:gitlab.com,2026-03-17:5214022884 Mark Florian pushed to project branch main at GitLab.org / gitlab-services / Pajamas Design System 2026-03-17T17:19:22Z markrian Mark Florian [email protected]

Mark Florian (4b0cb34d) at 17 Mar 17:19

Merge branch 'do-not-run-duo-job-in-non-canonical-mrs' into 'main'

... and 1 more commit

tag:gitlab.com,2026-03-17:5214022818 Mark Florian accepted merge request !5747: Don't run ui:duo_job in fork MR pipelines at GitLab.org / gitlab-services / Pajamas Design System 2026-03-17T17:19:21Z markrian Mark Florian [email protected]

What does this MR do?

Don't run ui:duo_job in fork MR pipelines.

This is because the needed CI token is only present in pipelines of the canonical project.

The job will run when a new pipeline is created in the fork MR by a member of the canonical project.

Screenshots or screen recordings

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.
tag:gitlab.com,2026-03-17:5214004211 Mark Florian commented on merge request !5698 at GitLab.org / gitlab-services / Pajamas Design System 2026-03-17T17:15:11Z markrian Mark Florian [email protected]

Thanks @thutterer. I haven't given this a thorough review, as I'm suffering from AI generated code review fatigue 😩 But, the general approach seems about right.

A few notable things I have not done:

  • Run the GDK locally with this (i.e., spun up the integration branch).
  • Checked it under ?vue3 applications.
  • Looked at the API surface to ensure it's the same. (One thing that comes to mind is the title option taking vnodes - I vaguely recall something in the monolith does that, or something like it).

Anyway, I've left a few comments. Back to you 🏓

tag:gitlab.com,2026-03-17:5213727940 Mark Florian commented on merge request !226978 at GitLab.org / GitLab 2026-03-17T16:09:49Z markrian Mark Florian [email protected]

Thanks @xanf! I've given this a spin, and I think it works well 👍

  • Vite still works.
  • I tried ?vue3 on Security Configuration and Work Items, and both seemed to work, apart from a minor attribute fall-through issue I saw on the former.
  • Webpack still works.

Do you think this needs another reviewer's eyes, or is it sufficiently low risk? Either way, approving.

Great work 👏

tag:gitlab.com,2026-03-17:5213726621 Mark Florian approved merge request !226978: Add ?vue3 infection plugin for iterative Vue 3 migration in Vite at GitLab.org / GitLab 2026-03-17T16:09:32Z markrian Mark Florian [email protected]

What does this MR do and why?

Introduces a Vite plugin that enables per-entrypoint iterative Vue 3 migration. By appending ?vue3 to a JS import specifier, the entire dependency subtree becomes "infected" — Vue ecosystem packages (vue, vuex, vue-router, vue-apollo, etc.) are redirected to their Vue 3 compat wrappers, while non-Vue imports get separate module instances to ensure isolation.

This allows migrating individual page entrypoints to Vue 3 one at a time without changing the global VUE_VERSION environment variable, enabling gradual adoption.

How to set up and validate locally

  1. Ensure you have a working GDK with Vite enabled
  2. Add ?vue3 to any JS entrypoint import, e.g.:
    import initFeature from 'ee/some_feature/bundle?vue3';
  3. Run gdk start and navigate to the page using that entrypoint
  4. Open browser DevTools Network tab — infected modules should have ?vue3= in their URLs
  5. Vue ecosystem imports (vue, vuex, etc.) should resolve to vue3compat/ wrappers

Known issues:

  • vite production build (will be addressed in follow-up MR)
  • this is as dumb as possible - it will duplicate every possible module it discovers. this is intentional
  • HMR. It might or might not work 🌚

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

tag:gitlab.com,2026-03-17:5213388820 Mark Florian commented on merge request !5751 at GitLab.org / gitlab-services / Pajamas Design System 2026-03-17T15:00:45Z markrian Mark Florian [email protected]

It worked 🤷

tag:gitlab.com,2026-03-17:5213373764 Mark Florian commented on merge request !226978 at GitLab.org / GitLab 2026-03-17T14:58:02Z markrian Mark Florian [email protected]

Ooooh. I just realised I've been running with vite.vue_version = 3 in my gdk.yml. That must have been there for ages!

Which is kind of cool... It means I've been running the GDK under Vue 3 for perhaps weeks without realising 😆

tag:gitlab.com,2026-03-17:5213360679 Mark Florian commented on merge request !226978 at GitLab.org / GitLab 2026-03-17T14:55:32Z markrian Mark Florian [email protected]

@xanf Aha! Could it be this, from gdk tail vite?

✘ [ERROR] Could not resolve "~/vue_shared/translate"

    app/assets/javascripts/lib/utils/vue3compat/vue.js:6:22:
      6 │ import Translate from '~/vue_shared/translate';
        ╵                       ~~~~~~~~~~~~~~~~~~~~~~~~

  You can mark the path "~/vue_shared/translate" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.

Also related, from Slack:

Seems like in app/assets/javascripts/lib/utils/vue3compat/vue.js we are using an alias to get the logger and when Vite tries to resolve imports within that file, the ~ alias hasn't been set up yet in the Vite config.

tag:gitlab.com,2026-03-17:5213325950 Mark Florian commented on merge request !226978 at GitLab.org / GitLab 2026-03-17T14:48:58Z markrian Mark Florian [email protected]

I'm once again having a lot of trouble running this branch 🤔

tag:gitlab.com,2026-03-17:5213236755 Mark Florian commented on merge request !5751 at GitLab.org / gitlab-services / Pajamas Design System 2026-03-17T14:31:29Z markrian Mark Florian [email protected]

@danmh Maybe? I've pushed a change that removes things that might help, but given I couldn't repro this locally, who knows.

tag:gitlab.com,2026-03-17:5213176369 Mark Florian pushed to project branch 3149-focusable-alert at GitLab.org / gitlab-services / Pajamas Design System 2026-03-17T14:20:22Z markrian Mark Florian [email protected]

Mark Florian (3f43123c) at 17 Mar 14:20

Attempt to fix visual test under Vue 3

tag:gitlab.com,2026-03-17:5213169655 Mark Florian commented on merge request !5751 at GitLab.org / gitlab-services / Pajamas Design System 2026-03-17T14:18:56Z markrian Mark Florian [email protected]

I literally cannot reproduce this. I hate Storybook.

tag:gitlab.com,2026-03-17:5213113436 Mark Florian commented on merge request !5751 at GitLab.org / gitlab-services / Pajamas Design System 2026-03-17T14:07:57Z markrian Mark Florian [email protected]

How on earth is the Vue 3 version failing this way...?

tag:gitlab.com,2026-03-17:5213106914 Mark Florian pushed to project branch 3149-focusable-alert at GitLab.org / gitlab-services / Pajamas Design System 2026-03-17T14:06:47Z markrian Mark Florian [email protected]

Mark Florian (a5c8bf20) at 17 Mar 14:06

Remove redundant word from docs

tag:gitlab.com,2026-03-17:5212807102 Mark Florian commented on merge request !5751 at GitLab.org / gitlab-services / Pajamas Design System 2026-03-17T13:08:50Z markrian Mark Florian [email protected]

note: I don't think that ::Pajamas::AlertComponent needs similar treatment, since those are server rendered, and therefore visible on page load. For those, I don't think there's a good reason to be able to programmatically focus them. We shouldn't be messing with initial focus on page load (maybe?).

tag:gitlab.com,2026-03-17:5212807093 Mark Florian commented on merge request !5751 at GitLab.org / gitlab-services / Pajamas Design System 2026-03-17T13:08:50Z markrian Mark Florian [email protected]

TODO

tag:gitlab.com,2026-03-17:5212796482 Mark Florian commented on merge request !5751 at GitLab.org / gitlab-services / Pajamas Design System 2026-03-17T13:06:56Z markrian Mark Florian [email protected]

@trevorpierce Would you review this from an accessibility perspective, please?

@thutterer Would you review the frontend changes, please?

@danmh Would you review the new screenshot test/visual changes, please?

tag:gitlab.com,2026-03-17:5212780499 Mark Florian pushed to project branch 3149-focusable-alert at GitLab.org / gitlab-services / Pajamas Design System 2026-03-17T13:04:08Z markrian Mark Florian [email protected]

Mark Florian (819e1694) at 17 Mar 13:04

Make alerts programmatically focusable

tag:gitlab.com,2026-03-17:5212677776 Mark Florian pushed to project branch 3149-focusable-alert at GitLab.org / gitlab-services / Pajamas Design System 2026-03-17T12:42:31Z markrian Mark Florian [email protected]

Mark Florian (ebb0a8c9) at 17 Mar 12:42

Make alerts programmatically focusable