Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
QDS 4.5.1
-
None
Description
Overview:
1. Component and Variant Names:
- Figma components can have different names, but variants and layer names within a component can be the same (e.g., `Button` with variants like `default`, `pressed`, `active`).
2. Current Image Naming: - Exported images through Qt Bridge use variant names in filenames, not component names. For instance, filenames might be `state_default_merged_state_default_1.png`.
3. Designer Naming Practices: - Designers often use similar variant names across different components, with simple states like `default`, `pressed`, `active`.
4. Proposal: - Include the component name in the image filenames to reduce confusion between images of different components with the same variant names.
Benefits:
1. Clarity:
- Filenames will clearly show both the component and variant state.
2. Avoid Duplication: - Prevents confusion between images of different components with similar variant names.
3. Easier Management: - Simplifies file management by clearly associating filenames with their components and states.
Example:
- Current Naming: `state_default_merged_state_default_1.png`
- Proposed Naming: `Button_state_default_merged_state_default_1.png`
How about setting the naming this way? Please leave comments if you have any other suggestions.