diff --git a/docker/images/docker-compose.yaml b/docker/images/docker-compose.yaml index 5d709a92e8..2e9628f613 100644 --- a/docker/images/docker-compose.yaml +++ b/docker/images/docker-compose.yaml @@ -130,12 +130,6 @@ services: environment: << : [*penpot-flags, *penpot-public-uri, *penpot-http-body-size, *penpot-secret-key] - ## The PREPL host. Mainly used for external programatic access to penpot backend - ## (example: admin). By default it will listen on `localhost` but if you are going to use - ## the `admin`, you will need to uncomment this and set the host to `0.0.0.0`. - - # PENPOT_PREPL_HOST: 0.0.0.0 - ## Database connection parameters. Don't touch them unless you are using custom ## postgresql connection parameters. @@ -151,8 +145,8 @@ services: ## Default configuration for assets storage: using filesystem based with all files ## stored in a docker volume. - PENPOT_ASSETS_STORAGE_BACKEND: assets-fs - PENPOT_STORAGE_ASSETS_FS_DIRECTORY: /opt/data/assets + PENPOT_OBJECTS_STORAGE_BACKEND: fs + PENPOT_OBJECTS_STORAGE_FS_DIRECTORY: /opt/data/assets ## Also can be configured to to use a S3 compatible storage. diff --git a/docs/img/design-tokens/37-tokens-shadow-individual.webp b/docs/img/design-tokens/37-tokens-shadow-individual.webp new file mode 100644 index 0000000000..6246cc21df Binary files /dev/null and b/docs/img/design-tokens/37-tokens-shadow-individual.webp differ diff --git a/docs/img/design-tokens/38-tokens-shadow-reference.webp b/docs/img/design-tokens/38-tokens-shadow-reference.webp new file mode 100644 index 0000000000..9f7d9928f9 Binary files /dev/null and b/docs/img/design-tokens/38-tokens-shadow-reference.webp differ diff --git a/docs/img/files-projects/01-projects.webp b/docs/img/files-projects/01-projects.webp new file mode 100644 index 0000000000..af8cffba84 Binary files /dev/null and b/docs/img/files-projects/01-projects.webp differ diff --git a/docs/img/files-projects/02-drafts.webp b/docs/img/files-projects/02-drafts.webp new file mode 100644 index 0000000000..c1df2ba78f Binary files /dev/null and b/docs/img/files-projects/02-drafts.webp differ diff --git a/docs/img/files-projects/03-trash.webp b/docs/img/files-projects/03-trash.webp new file mode 100644 index 0000000000..cf56814e0b Binary files /dev/null and b/docs/img/files-projects/03-trash.webp differ diff --git a/docs/img/files-projects/04-pin-project.webp b/docs/img/files-projects/04-pin-project.webp new file mode 100644 index 0000000000..483cdecc94 Binary files /dev/null and b/docs/img/files-projects/04-pin-project.webp differ diff --git a/docs/img/files-projects/05-create-file.webp b/docs/img/files-projects/05-create-file.webp new file mode 100644 index 0000000000..2fa18c6f51 Binary files /dev/null and b/docs/img/files-projects/05-create-file.webp differ diff --git a/docs/img/files-projects/06-move-project.webp b/docs/img/files-projects/06-move-project.webp new file mode 100644 index 0000000000..b187440c11 Binary files /dev/null and b/docs/img/files-projects/06-move-project.webp differ diff --git a/docs/user-guide/account-teams/index.njk b/docs/user-guide/account-teams/index.njk index cd9d2cab63..e03ed12133 100644 --- a/docs/user-guide/account-teams/index.njk +++ b/docs/user-guide/account-teams/index.njk @@ -19,6 +19,12 @@ desc: Begin with the Penpot user guide! Get quickstarts, shortcuts, and tutorial

Create and manage your teams

+
  • + +

    Projects and Files →

    +

    Organize your work with projects and files

    +
    +
  • Comments →

    diff --git a/docs/user-guide/account-teams/projects-files.njk b/docs/user-guide/account-teams/projects-files.njk new file mode 100644 index 0000000000..9345cd4f45 --- /dev/null +++ b/docs/user-guide/account-teams/projects-files.njk @@ -0,0 +1,107 @@ +--- +title: Projects and Files +order: 3 +desc: Learn how to organize your work in Penpot. Create, manage and organize projects and files, work with drafts, and handle deleted items. +--- + +

    Projects and Files

    +

    Projects and files are the core organizational structure in Penpot. Projects work like folders that contain multiple design files, helping you organize your work efficiently. Files are your actual design documents where you create boards, pages, and all your design elements.

    +

    Understanding how to manage projects and files will help you keep your workspace organized and make it easier to collaborate with your team.

    + +

    Projects

    +

    Projects are containers that help you organize and group related design files together. Think of them as folders in a file system. You can create as many projects as you need to organize your work by client, product, feature, or any other structure that fits your workflow.

    +

    If you're working with others, projects should be created inside a team so that team members can collaborate on the files within them. Projects created in your personal space ("Your Penpot") remain private to you.

    +
    + Projects view in dashboard +
    + +

    Create a project

    +

    To create a new project, use the + New project button in the dashboard. You can also use the keyboard shortcut + when you're on the dashboard. A dialog will appear where you can enter the project name. Once created, the project will appear in your projects list.

    +

    When you create a project, you can immediately start adding files to it, or create files first and move them into the project later.

    + +

    Edit a project

    +

    To edit a project's name, right-click on the project in the sidebar or click the three-dot menu next to the project name. Select Edit or Rename to change the project name. You can also update the project's profile picture from the same menu.

    + +

    Pin a project

    +

    Projects can be pinned to the sidebar for quick access. Right-click on a project and select Pin to keep it visible in the sidebar even when you have many projects. Pinned projects appear at the top of your projects list for easy access.

    +

    To unpin a project, right-click on it and select Unpin. The project will remain in your list but won't be pinned to the sidebar anymore.

    +
    + Pin project option +
    + +

    Move a project

    +

    Projects can be moved between teams. To move a project, right-click on it and select Move to from the context menu. A dialog will appear showing all available teams where you can move the project. Select the destination team and confirm the move.

    +
    + Move project to another team +
    +

    When you move a project to another team, all files within the project are moved along with it. Team members of the destination team will gain access to the project and its files according to their permissions.

    +

    Moving a project to another team changes its ownership and access permissions. Make sure the destination team has the appropriate members and permissions for the work contained in the project.

    + +

    Delete a project

    +

    To delete a project, right-click on it and select Delete from the menu. You'll be asked to confirm the deletion. Keep in mind that deleting a project will also delete all files within it. Make sure you have backed up any important files before deleting a project.

    +

    Deleted projects and their files are moved to the trash area where they can be restored or permanently deleted.

    + +

    Files

    +

    Files are your design documents in Penpot. Each file contains pages, boards, and all the design elements you create. Files can be created within a project or in the drafts section, and you can move them between projects as needed.

    + +

    Create a file

    +

    To create a new file, you have several options:

    + +
    + Create a new file +
    +

    When creating a file, you'll be asked to give it a name. The file will open in the workspace where you can start designing immediately.

    + +

    Edit a file

    +

    To rename a file, right-click on the file card in the dashboard and select Rename, or click on the three-dot menu on the file card. Enter the new name and confirm the change. You can also access file settings and other options from the file's context menu.

    + +

    Move a file

    +

    Files can be moved between projects, from drafts to a project, or even to projects in other teams. To move a file, right-click on the file card and select Move to from the context menu. A dialog will appear showing all available projects across your teams where you can choose the destination. Select the project where you want to move the file and confirm.

    +

    You can also drag and drop files between projects in the dashboard for a quick way to reorganize your files within the same team.

    +

    When moving a file to a project in another team, the file becomes accessible to members of that team according to their permissions. Moving a file doesn't affect its content or any shared libraries it might be using. Only its location in your project structure changes.

    +

    When moving files between teams, be aware that this changes who has access to the file. Make sure the destination team has the appropriate members and permissions for the work contained in the file.

    + +

    Duplicate a file

    +

    To create a copy of an existing file, right-click on the file card and select Duplicate. The duplicated file will be created in the same location (project or drafts) with the same name plus "Copy" added to it. You can then rename or move it as needed.

    +

    Duplicating a file creates a complete copy including all pages, boards, and design elements. This is useful when you want to create variations of a design or use a file as a starting point for a new project.

    + +

    Delete a file

    +

    To delete a file, right-click on the file card and select Delete. You'll be asked to confirm the deletion. The file will be moved to the trash area where it can be restored or permanently deleted later.

    +

    Deleting a file doesn't immediately remove it permanently. You can recover deleted files from the trash area within a certain time period.

    + +

    Drafts

    +

    The drafts section is a fixed, non-deletable space in your dashboard where you can create and store files that aren't part of any specific project yet. This is useful for quick sketches, experimental designs, or files you're not ready to organize into projects.

    +
    + Drafts section +
    +

    Drafts appear in a dedicated section in the dashboard sidebar, separate from your projects. All team members can see and access files in the drafts section, depending on their permissions.

    +

    You can create files directly in drafts, or move existing files from projects into drafts if you want to temporarily remove them from a project's organization. Files in drafts work exactly like files in projects - they have the same functionality and features.

    +

    When you're ready to organize a file from drafts, you can move it into an appropriate project using the move option in the file's context menu.

    + +

    Trash area

    +

    When you delete projects or files, they are not removed permanently. Instead, they are moved to a trash area, a dedicated space for deleted content. This allows you to recover mistakenly deleted content or permanently remove items when you're sure you don't need them anymore.

    +

    The trash applies to both files and projects. Items in the trash remain there for a certain period depending on your Penpot subscription plan before being automatically deleted permanently.

    + +

    Access the trash

    +

    A Trash section is accessible from the dashboard navigation. When you access it, you'll see all your deleted files and projects, each clearly labeled so you can easily identify what you want to restore or permanently delete.

    +
    + Trash area +
    + +

    Trash permissions

    +

    Access to the trash and the actions you can perform depend on your role in the team:

    + + +

    Restore items

    +

    To restore a deleted file or project, access the trash area and find the item you want to recover. Select the item and choose Restore. The item will be restored to its original location (the project it belonged to, or the drafts section if it wasn't in a project).

    + +

    Permanently delete items

    +

    If you're sure you don't need an item anymore, you can permanently delete it from the trash. Select the item and choose Permanently delete. This action cannot be undone, so make sure you really want to remove the item permanently.

    +

    Items in the trash are automatically deleted after a certain period depending on your subscription plan. If you want to keep something, restore it before the auto-deletion period expires.

    diff --git a/docs/user-guide/design-systems/design-tokens.njk b/docs/user-guide/design-systems/design-tokens.njk index 3a328fe5a8..b259a4bff0 100644 --- a/docs/user-guide/design-systems/design-tokens.njk +++ b/docs/user-guide/design-systems/design-tokens.njk @@ -455,6 +455,43 @@ ExtraBold Italic

    A Typography composite token can be applied to a full text layer to set all typography properties at once. This lets you manage complete text styles using a single token instead of combining multiple individual ones.

    When applying a Typography composite token to a layer, any previously applied Typography composite token or style will be detached. The same happens in reverse. Only one of them can be active at a time.

    +

    Shadow

    +

    Shadow tokens are composite entities that encapsulate the properties of one or more shadows into a single token definition. This token can contain a single shadow or an array of multiple shadows that can be reordered.

    +

    Shadow tokens support both Drop Shadow and Inner Shadow types. When creating or editing a shadow token, you can select the type of shadow you want to use. The default selection is Drop Shadow.

    +
    + Shadow token creation with individual values +
    + +

    Shadow properties

    +

    Each shadow within a shadow token contains a set of properties that define how the shadow appears:

    +
    +

    Each property within a shadow token can reference existing tokens or be assigned hardcoded values. Shadows can also reference other shadow tokens (the type of shadow must match when using references).

    +

    Not all properties are mandatory to save a shadow token. Some can be empty (and will be computed as 0). Only the color property is mandatory. In an array of shadows, if any shadow does not have the color set, the form cannot be saved.

    + +

    Creating shadow tokens

    +

    To create a shadow token, click on the + next to Shadow in the Tokens panel. Shadow tokens can be created in two ways:

    + +
    + Shadow token creation with reference +
    +

    When creating a shadow with individual values, the color value starts empty, but the other inputs have default values (X: 4, Y: 4, Blur: 4, Spread: 0). You can reorder shadows by hovering over a shadow form and using the reorder button to drag it to a different position.

    +

    You can also reference another existing shadow token instead of defining each property manually. When doing so, Penpot resolves all shadow properties from the referenced token.

    + +

    Applying shadow tokens

    +

    Shadow tokens can be applied to any layer type. Clicking on a shadow token will apply it to the selected layer. Right-clicking on a shadow token shows the context menu with the Shadow option to apply it.

    +

    Text elements in CSS do not support inner shadows, but Penpot does, since it uses the filter property internally instead of the box-shadow property.

    +

    When applying a shadow token, any existing shadow on the layer will be overridden (whether it's a raw shadow or an applied token shadow). If the token contains an array of shadows, each shadow will be added in the same order as in the creation form.

    +

    In Penpot, an element can have multiple shadows, but only one token of the same type can be applied. This means that applying a second shadow token would override the first one, regardless of how many shadows the shape currently has.

    diff --git a/frontend/translations/en.po b/frontend/translations/en.po index c91838c9fe..b26964cb23 100644 --- a/frontend/translations/en.po +++ b/frontend/translations/en.po @@ -7797,6 +7797,10 @@ msgstr "Line Height depends on Font Size. Add a Font Size to get the resolved va msgid "workspace.tokens.create-new-theme" msgstr "Create your first theme now." +#: src/app/main/ui/workspace/tokens/management/forms/generic_form.cljs +msgid "workspace.tokens.warning-name-change" +msgstr "Renaming this token will break any reference to its old name" + #: src/app/main/ui/workspace/tokens/sets/lists.cljs:96, src/app/main/ui/workspace/tokens/themes.cljs:44 msgid "workspace.tokens.create-one" msgstr "Create one." diff --git a/frontend/translations/es.po b/frontend/translations/es.po index 6d70583f10..330f22fc73 100644 --- a/frontend/translations/es.po +++ b/frontend/translations/es.po @@ -4575,6 +4575,10 @@ msgstr "Mostrar/ocultar recursos" msgid "shortcuts.toggle-colorpalette" msgstr "Mostrar/ocultar paleta de colores" +#: src/app/main/ui/workspace/tokens/management/forms/generic_form.cljs +msgid "workspace.tokens.warning-name-change" +msgstr "Cambiar el nombre de este token romperá cualquier referencia a su nombre anterior." + #: src/app/main/ui/workspace/sidebar/shortcuts.cljs:185 msgid "shortcuts.toggle-focus-mode" msgstr "Mostrar/ocultar focus mode"