Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-13396

Improving Image Naming Convention for Figma to Qt Bridge Exports

    XMLWordPrintable

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.

       

       

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            algerman Aleksei German
            sophie_lee Sophie Lee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes