Eduardo Sanz García activity https://gitlab.com/eduardosanz 2026-03-17T16:30:40Z tag:gitlab.com,2026-03-17:5213783056 Eduardo Sanz García commented on merge request !223658 at GitLab.org / GitLab 2026-03-17T16:22:31Z eduardosanz Eduardo Sanz García

I tried #1. Options, /#2 (closed) and /#3 (closed) requires specific new classes, which somehow, take value to the utility classes. I prefer to apply the style directly. More straight forward, in my opinion.

tag:gitlab.com,2026-03-17:5213746942 Eduardo Sanz García commented on merge request !223658 at GitLab.org / GitLab 2026-03-17T16:14:11Z eduardosanz Eduardo Sanz García

@tachyons-gitlab, I am sorry to bother you. There was a conflict with gitlab.pot just at the point of merge 🤦🏻 . Would you mind re-approving? Thanks! 🙏

tag:gitlab.com,2026-03-17:5213746912 Eduardo Sanz García commented on merge request !223658 at GitLab.org / GitLab 2026-03-17T16:14:11Z eduardosanz Eduardo Sanz García

I got this answer from Duo:

The base class OmniauthIdentityLinkerBase uses session = {} as the default, meaning it's treated as a plain Hash. So instance_double(Hash) is actually appropriate here — the production code only uses @session as a hash. The comment's suggestion of ActionDispatch::Request::Session would be over-specifying. The comment is wrong in this case.
tag:gitlab.com,2026-03-17:5213746877 Eduardo Sanz García commented on merge request !223658 at GitLab.org / GitLab 2026-03-17T16:14:10Z eduardosanz Eduardo Sanz García

noreferrer implies noopener, so rel='noreferrer' alone is sufficient. rel='noopener noreferrer' is redundant but commonly used for backwards compatibility with older browsers that didn't support noreferrer implying noopener.

https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel/noreferrer#description

tag:gitlab.com,2026-03-17:5213746859 Eduardo Sanz García commented on merge request !223658 at GitLab.org / GitLab 2026-03-17T16:14:10Z eduardosanz Eduardo Sanz García

Fixed, thanks!

tag:gitlab.com,2026-03-17:5213746820 Eduardo Sanz García commented on merge request !223658 at GitLab.org / GitLab 2026-03-17T16:14:10Z eduardosanz Eduardo Sanz García

@GitLabDuo, I tried hard to use a utility class but it is ovewrriden by a more specific class from boostrap. This was the only way.

tag:gitlab.com,2026-03-17:5213740554 Eduardo Sanz García pushed to project branch 585538-585536-passkey-navigation at GitLab.org / GitLab 2026-03-17T16:12:39Z eduardosanz Eduardo Sanz García

Eduardo Sanz García (302bbea9) at 17 Mar 16:12

Apply suggestion from reviewer

... and 1804 more commits

tag:gitlab.com,2026-03-17:5213683900 Eduardo Sanz García commented on merge request !223658 at GitLab.org / GitLab 2026-03-17T16:01:13Z eduardosanz Eduardo Sanz García

No problems, @tachyons-gitlab. Thanks for the approval!

tag:gitlab.com,2026-03-17:5213654335 Eduardo Sanz García deleted project branch eduardosanz/check-param-numbers-translations at GitLab.org / GitLab 2026-03-17T15:55:06Z eduardosanz Eduardo Sanz García

Eduardo Sanz García (0188e070) at 17 Mar 15:55

tag:gitlab.com,2026-03-17:5213649729 Eduardo Sanz García pushed to project branch master at GitLab.org / GitLab 2026-03-17T15:54:15Z eduardosanz Eduardo Sanz García

Eduardo Sanz García (d115582d) at 17 Mar 15:54

Merge branch 'eduardosanz/check-param-numbers-translations' into 'm...

... and 1 more commit

tag:gitlab.com,2026-03-17:5213646686 Eduardo Sanz García accepted merge request !227272: Add Gettext/ParameterCount RuboCop cop at GitLab.org / GitLab 2026-03-17T15:53:39Z eduardosanz Eduardo Sanz García

What does this MR do and why?

Add Gettext/ParameterCount RuboCop cop

Adds a new cop that detects _() and s_() calls with more than 1 parameter, and n_() calls that do not have exactly 3 parameters. This enforces the correct usage of gettext translation methods, which accept a fixed number of arguments by convention.

References

Related to:

Screenshots or screen recordings

N/A

How to set up and validate locally

N/A

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:5213629665 Eduardo Sanz García deleted project branch eduardosanz/missing-namspace-correction-ruby-1 at GitLab.org / GitLab 2026-03-17T15:50:10Z eduardosanz Eduardo Sanz García

Eduardo Sanz García (efcebee2) at 17 Mar 15:50

tag:gitlab.com,2026-03-17:5213626282 Eduardo Sanz García pushed to project branch master at GitLab.org / GitLab 2026-03-17T15:49:23Z eduardosanz Eduardo Sanz García

Eduardo Sanz García (80e6af1d) at 17 Mar 15:49

Merge branch 'eduardosanz/missing-namspace-correction-ruby-1' into ...

... and 1 more commit

tag:gitlab.com,2026-03-17:5213623476 Eduardo Sanz García accepted merge request !227138: Replace s_() for _() when namespace is missing -- ruby 1 at GitLab.org / GitLab 2026-03-17T15:48:42Z eduardosanz Eduardo Sanz García

What does this MR do and why?

Replace s_() for _() when namespace is missing

Automatic correction using the rule that will be introduce in !226732

On a second commit we make manual changes in a few strings related MemberRole namespace.

References

Screenshots or screen recordings

N/A

How to set up and validate locally

N/A

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:5213579668 Eduardo Sanz García pushed to project branch eduardosanz/rubocop-rule-namespace at GitLab.org / GitLab 2026-03-17T15:38:40Z eduardosanz Eduardo Sanz García

Eduardo Sanz García (6b637192) at 17 Mar 15:38

Fix special case

... and 1038 more commits

tag:gitlab.com,2026-03-17:5213540816 Eduardo Sanz García commented on merge request !226764 at GitLab.org / GitLab 2026-03-17T15:30:12Z eduardosanz Eduardo Sanz García

@ashmckenzie, I have fixed the undercoverage for the new cop (see last commit). However, I didn't fix the undercoverage for error_not_verified which was touched because of the translation change in app/services/service_desk/custom_email_verifications/base_service.rb. I am going to label pipeline:skip-undercoverage .

Please, could you re-review? Thanks!

tag:gitlab.com,2026-03-17:5213525472 Eduardo Sanz García pushed to project branch eduardosanz/rubocop-rule-namespace-2 at GitLab.org / GitLab 2026-03-17T15:27:00Z eduardosanz Eduardo Sanz García

Eduardo Sanz García (79a2bc1a) at 17 Mar 15:27

Fix undercoverage for new cop

... and 1039 more commits