Sarai-WMDE created this task. Sarai-WMDE added projects: Wikidata Dev Team, Wikidata Design System, Wikidata, Mismatch Finder.
TASK DESCRIPTION Problem ------- The Mismatch Finder's user interface was composed using a combination of Vue 2 custom components and WiKit elements, such as `Link`. The WiKit design system is now on its deprecation path, as it has been superseded by Codex, the official Wikimedia design system. The utilization of WiKit components is not recommended, and they should be replaced in order to reduce maintenance costs and ensure consistency. Solution -------- We have to replace WiKit's `Link` component by the Codex equivalent: text styled using the `cdx-mixin-link`mixin. This will take us a step closer to switching to the new design system and deprecating the old. In Mismatch finder, some links were created using the link component, while others actually consist of text styled using a link mixin defined in a typography less file. Here are some examples of the former, the components that need replacement: | Main page | Results page | | -------------------------- | --------------------------- | | Header and footer links: F37750715: 1.png <https://phabricator.wikimedia.org/F37750715> | Results and Mismatch row: F37750722: 2.png <https://phabricator.wikimedia.org/F37750722> | | Considerations: --------------- - Header's user link: Codex Links cannot include a start icon, only a trailing one. We'll remove the icon displayed in the profile link to simplify migration. - Table/Mismatch row links: There's lack of clarity here at the time of writing. The guess is that the replacement of the links inside the MismatchRow.vue component might be blocked until MismatchTable.vue is either updated or ported. Acceptance criteria ------------------- [ ] All WiKit links in the Mismatch Finder UI and components are replaced by their Codex equivalent TASK DETAIL https://phabricator.wikimedia.org/T347161 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Sarai-WMDE Cc: Aklapper, Michael, Sarai-WMDE, Danny_Benjafield_WMDE, Astuthiodit_1, STH, karapayneWMDE, Invadibot, maantietaja, Mattia_Capozzi_WMDE, ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Volker_E, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
