Page MenuHomePhabricator

Fix CdxButton instances that define type=quiet property and change that to weight=quiet
Closed, ResolvedPublicBUG REPORT

Description

Description

According to the latest version of Codex buttons, we should use weight=quiet to have border-less buttons. We are using type=quiet in some instances.

CleanShot 2023-04-12 at 18.21.56@2x.png (680×1 px, 73 KB)

CleanShot 2023-04-12 at 18.23.33@2x.png (1×1 px, 126 KB)

Expected behavior (Acceptance criteria):

  • All CdxButton instances that have type=quiet should be fixed to weight=quiet

Completion checklist

Event Timeline

Maybe we added/refactored a couple that got missed?

resources/ext.wikilambda.edit/components/function/viewer/details/FunctionViewerDetailsSidebar.vue
124:						type: 'quiet',

resources/ext.wikilambda.edit/components/function/ZFunctionTesterReport.vue
17:				<cdx-button :aria-label="reloadLabel" type="quiet">

Change 909252 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/WikiLambda@master] Fix two CdxButton instances still using type=quiet to use weight=quiet

https://gerrit.wikimedia.org/r/909252

Change 909252 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Fix two CdxButton instances still using type=quiet to use weight=quiet

https://gerrit.wikimedia.org/r/909252