AnneT added subscribers: Tonina_Zhelyazkova_WMDE, Catrope, egardner. AnneT added a comment.
Some thoughts post-Designer summit: Designer-developer handoff -------------------------- This could use stronger definition. Is the designer creating tokens for some values in Figma? Will the designer and developer meet to discuss which tokens will likely be needed? Or will this happen during the development process? I ask because during our experimental WVUI development, we would identify component-specific tokens that were needed while building the component, since these values sometimes depend on the template and stylesheet structure (e.g. will it be a margin-left or a margin-right?) It's hard to imagine being able to accurately identify and name all tokens solely based on the design. Where do component-specific tokens live? ---------------------------------------- Initially I thought they should live along with the component code in the shared library, but @Tonina_Zhelyazkova_WMDE brought up an excellent point that tokens should be technology-agnostic (e.g. what if someone needs the token and is building in OOUI rather than Vue?) So, they should probably live along with the base tokens in Wikimedia UI Base. However, if we have to add or update a token during development in the shared component library, we would have to update a separate repository, create a new release, then consume that new release. We have been following this process in WVUI development so far and it is quite inefficient. I would propose we consider a monorepo setup that includes the shared component library and WikimediaUI Base as separate but related exports to resolve this inefficiency. Token visualization ------------------- From the development side, easy access to tokens during development is important. Right now, I have to open the Wikimedia UI Base file somewhere separate from where I'm working, which is inconvenient. I would propose doing something similar to what WMDE has done in WiKit to visualize design tokens within Storybook (which would be possible if we did the monorepo setup mentioned above). TASK DETAIL https://phabricator.wikimedia.org/T266688 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: AnneT Cc: egardner, Catrope, Tonina_Zhelyazkova_WMDE, Jakob_WMDE, Michael, AnneT, Pginer-WMF, raja_wmde, ItamarWMDE, Sarai-WMDE, Aklapper, Volker_E, Invadibot, caldera, maantietaja, Akuckartz, DannyS712, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Iniquity, _jensen, rosalieper, JGirault, Scott_WUaS, Niedzielski, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331, Jay8g
_______________________________________________ Wikidata-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
