Support saving designs in directories

Problem to solve

Currently, all designs are uploaded and viewable in a single design page.

We could support uploading designs to a directory/folder structure within the design page to allow users to separate or categorize designs within the same design board.

It could be possible to also allow designs to be moved within the structure.

This would allow people to, for example:

  • Use the design board as both a way to discuss high-level designs, and also as a place for developers to retrieve the SSOT of the specific assets to use (i.e., exported icons from the designs could be in a separate directory) without this being confusing to view
  • "Archive" certain designs within a board instead of deleting them (move them aside into a directory)

Proposal

Design has a fullPath property, which corresponds to the location in the design repository that the design file is committed to. At the moment all designs are uploaded to the top-level of the design repository. We should be able to upload design files to a directory of the designs repo, and have that reflected in the fullPath property of a Design.

Moving Designs would involve deleting a Design and recreating a Design with a new fullPath and moving the file within the design repository. This would mean that viewing older versions of the design page would reflect the directory structure at that point in time, which perhaps may not be ideal.

🤔 GraphQL may need to be able to filter the designs by their directory, which may need some thinking in order to achieve. Otherwise, GraphQL could still return all designs as it does now and the front-end could handle displaying/hiding designs as the user navigates directories.

Documentation

  • https://docs.gitlab.com/ee/user/project/issues/design_management.html
Edited Aug 01, 2019 by Luke Duncalfe
Assignee Loading
Time tracking Loading