Sarai-WMDE added a comment.
Regarding "the future plans for language switching": the fact that the LanguageSelector component is listed as 'Other known components' in Codex's list of 'Planned components' means that the expectation is for the product team (the Language team in this case) to contribute this component to Codex. I quickly reached out to Santhosh, and he kindly provided the following information: - The Language team have indeed a plan to work on a new LanguageSelector on top of Vue at some point (https://phabricator.wikimedia.org/T287860). But there is currently no timeline for this, due mainly to the need for the team to assess newly detected requirements before they jump to code the next version of the component. - The language team's current active project is section translation, which is a Vue 3 SPA application that also required this kind of language selector. Their decision in this similar scenario was to not use the jQuery based ULS. They instead went for implementing a custom version of the component that's available here: https://github.com/wikimedia/mediawiki-extensions-ContentTranslation/tree/master/app/src/components/MWLanguageSelector Santhosh recommends us to build (reuse?) something similar to this custom version rather than reuse the jQuery based ULS, which he advices against due to the existence of "tech debt, old jquery, dom hacks, bad performance when used with many languages and so on". From a design standpoint, as long as the design of that custom component is based off of the specifications provided by the designer in the Language team, I think it's safe to go with said option. Santhosh has yet to validate this latter point and provide a link to the mentioned SPA, so I can evaluate this alternative first hand. TASK DETAIL https://phabricator.wikimedia.org/T324653 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lucas_Werkmeister_WMDE, Sarai-WMDE Cc: ItamarWMDE, Sarai-WMDE, Michael, Lucas_Werkmeister_WMDE, Aklapper, Lydia_Pintscher, Adamm71, Jersione, Hellket777, LisafBia6531, Astuthiodit_1, 786, Biggs657, karapayneWMDE, Invadibot, maantietaja, Mattia_Capozzi_WMDE, Juan90264, Alter-paule, Beast1978, Un1tY, Akuckartz, Hook696, Kent7301, joker88john, CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, GoranSMilovanovic, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, rosalieper, Neuronton, Scott_WUaS, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
