Openbravo Issue Tracking System - POS2
View Issue Details
0053252POS2Corepublic2023-08-21 13:442023-08-21 13:44
dbaz 
Triage Platform Base 
hightrivialalways
newopen 
5
 
 
No
0053252: Drawer Menu component should be renamed to Navigation Drawer
Since we base our design system in Material Design, the proper name for this piece is Navigation Drawer

https://m2.material.io/components/navigation-drawer [^]

In a cohesive design and development ecosystem, consistency in naming conventions is paramount. Using a unified nomenclature, like 'Navigation Drawer', across all platforms—including Material Design, Figma designs, and code—ensures clarity, reduces ambiguity, and promotes effective collaboration among designers and developers. A shared understanding of component names leads to more efficient communication and fewer misunderstandings. Moreover, when variable names in code mirror the design descriptors in Figma, it facilitates smoother handoffs and quicker troubleshooting, ultimately streamlining the product development cycle and reducing the risk of errors.

Check "Proposed Solution"
.
It means that variables like
--obc2-drawerMenuGroup-popover-conf-left
should be renamed to
--obc2-navigationDrawerGroup-popover-conf-left

or css classes like
.obc2DrawerMenu-divider
should be renamed to
.obc2NavigationDrawer-divider

or JS functions like
const DrawerMenu = ({
should be renamed to
const NavigationDrawer = ({

or files like
DrawerMenu.*
should be renamed to
NavigationDrawer.*
No tags attached.
Issue History
2023-08-21 13:44dbazNew Issue
2023-08-21 13:44dbazAssigned To => Triage Platform Base
2023-08-21 13:44dbazTriggers an Emergency Pack => No

There are no notes attached to this issue.