Page MenuHomePhabricator

Explore adding a “Patterns” section to the Codex site
Closed, ResolvedPublic

Description

Background goal

NOTE: The decision is that we will not add the "Patterns" section in Codex for now. The LanguageSelector pattern will remain in the old DSG for historical documentation, and the LanguageSelector version using Codex components will live in the Figma exploration file for now. We will come back to Patterns section once T343457: Apps guidelines: move section from the DSG to Codex is completed and once Codex 1.0 is done.

In T343451: Component's guidelines: move the existing DSG component's guidelines to Codex we need to move all the existing component's guidelines from the DSG to Codex. We've discussed about the LanguageSelector case since it's not a component but a pattern instead. So we should evaluate adding a "Patterns" section in Codex in order to create their design guidelines (as in the rest of Codex components) and provide the link to the demo where the pattern was implemented.

Pattern pages we can add in Codex:

  • LanguageSelector
  • OnboardingDialog
  • TypeaheadSearch (possibility to move this one from Components section to Patterns one)

Design proposal

Include the Figma prototype here once it's completed.

Open questions

  • Is “Patterns” clear enough term, other design systems coin it differently, see for example U.S. Web Design System
  • If patterns are design-only, can they live under Style Guide?
  • Could we explore putting LanguageSelector or OnboardingDialog underneath ”Style Guide”, under “Pattern” or “Design pattern” as well?
    • Or simply underneath the components list right now?

Acceptance criteria

  • Prepare a design proposal adding a "Patterns" section in the Codex site
  • Evaluate this proposal with the DST
  • Implement proposal in Codex (if needed)

Event Timeline

CCiufo-WMF moved this task from Inbox to Design Upcoming on the Design-System-Team board.

When having been coming across this task, I wonder if we should first identify at least two, best though three different separate contents for a possible “Patterns” section. Going out with just one for the 1.0 release while we have a big number of sub-pages in every other section seems confusing to end users at least.

When having been coming across this task, I wonder if we should first identify at least two, best though three different separate contents for a possible “Patterns” section. Going out with just one for the 1.0 release while we have a big number of sub-pages in every other section seems confusing to end users at least.

Yes agree and think we have this, at least two. I believe the patterns we are thinking about are: Onboarding dialog, Language selector, and possibly a third is TypeAhead search.

When having been coming across this task, I wonder if we should first identify at least two, best though three different separate contents for a possible “Patterns” section. Going out with just one for the 1.0 release while we have a big number of sub-pages in every other section seems confusing to end users at least.

Yes agree and think we have this, at least two. I believe the patterns we are thinking about are: Onboarding dialog, Language selector, and possibly a third is TypeAhead search.

Yes, these are the available patterns to add in Codex. Added them in the task description.

As decided during the last DST meeting, we will not add the Patterns section in Codex now. We can come back once T343457: Apps guidelines: move section from the DSG to Codex is completed and once Codex 1.0 is done. So moving this task back to Design Upcoming. @CCiufo-WMF should we deprioritize from high to low?

CCiufo-WMF moved this task from Design Upcoming to In Design on the Design-System-Team board.

As decided during the last DST meeting, we will not add the Patterns section in Codex now. We can come back once T343457: Apps guidelines: move section from the DSG to Codex is completed and once Codex 1.0 is done. So moving this task back to Design Upcoming. @CCiufo-WMF should we deprioritize from high to low?

I'm going to close this task. The goal was to explore adding patterns in the context of migrating the DSG, and that is what we did. The conclusion is that we would not add patterns for now, and the LanguageSelector would remain in the old DSG for historical documentation, and the new guidelines built using Codex components would live in Figma for now.