From b088a65c78cebc25760be583e684522ce6a9ce9e Mon Sep 17 00:00:00 2001 From: doubleface Date: Thu, 2 Apr 2026 11:31:40 +0200 Subject: [PATCH 1/3] feat: Update link sharing french translation --- packages/cozy-sharing/locales/fr.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/cozy-sharing/locales/fr.json b/packages/cozy-sharing/locales/fr.json index d53cca391a..a8fdacf6ab 100644 --- a/packages/cozy-sharing/locales/fr.json +++ b/packages/cozy-sharing/locales/fr.json @@ -25,8 +25,8 @@ "locked-type-folder": "Bientôt : vous pourrez changer la permission donnée sur le dossier.", "recipients": { "you": "Vous", - "anyoneWithTheLink": "N'importe qui avec le lien", - "linkWithPassword": "N'importe qui avec un mot de passe", + "anyoneWithTheLink": "Tous les utilisateurs qui ont le lien", + "linkWithPassword": "Tous les utilisateurs avec le mot de passe", "expires": "Jusqu'au %{date}", "accessCount": "%{count} personnes y ont accès" }, @@ -69,7 +69,7 @@ "close": "Fermer" }, "permissionLink": { - "title": "Autoriser n'importe qui avec le lien à :", + "title": "Autoriser tous les utilisateurs qui ont le lien à :", "seeFile": "Consulter le fichier", "modifyFile": "Modifier le fichier", "seeFolder": "Consulter le dossier", From e80485bf6d4043d83ce3069852dc9dab08c5042c Mon Sep 17 00:00:00 2001 From: doubleface Date: Thu, 2 Apr 2026 11:32:40 +0200 Subject: [PATCH 2/3] feat: Update link sharing look --- .../src/components/Recipient/LinkRecipient.jsx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/packages/cozy-sharing/src/components/Recipient/LinkRecipient.jsx b/packages/cozy-sharing/src/components/Recipient/LinkRecipient.jsx index 4b729b0199..532339b0fa 100644 --- a/packages/cozy-sharing/src/components/Recipient/LinkRecipient.jsx +++ b/packages/cozy-sharing/src/components/Recipient/LinkRecipient.jsx @@ -2,9 +2,10 @@ import PropTypes from 'prop-types' import React, { useState } from 'react' import Avatar from 'cozy-ui/transpiled/react/Avatar' -import DropdownButton from 'cozy-ui/transpiled/react/DropdownButton' +import Button from 'cozy-ui/transpiled/react/Button' import Fade from 'cozy-ui/transpiled/react/Fade' import Icon from 'cozy-ui/transpiled/react/Icon' +import Gear from 'cozy-ui/transpiled/react/Icons/Gear' import LinkIcon from 'cozy-ui/transpiled/react/Icons/Link' import ListItem from 'cozy-ui/transpiled/react/ListItem' import ListItemIcon from 'cozy-ui/transpiled/react/ListItemIcon' @@ -68,12 +69,14 @@ const LinkRecipient = props => { setOpenShareRestrictionModal(true)} + endIcon={} + className="u-p-0" > {textPrimary} - + } secondary={textSecondary} /> From ea5330f1ba479970ce7ac6486b707e3e2c8617da Mon Sep 17 00:00:00 2001 From: doubleface Date: Thu, 2 Apr 2026 11:33:49 +0200 Subject: [PATCH 3/3] feat: Hide read write modification in link edition modal When federated shared folders are activated Since we can now edit it directly in the sharing modal --- .../BoxEditingRights.jsx | 47 ++++++++++--------- 1 file changed, 25 insertions(+), 22 deletions(-) diff --git a/packages/cozy-sharing/src/components/ShareRestrictionModal/BoxEditingRights.jsx b/packages/cozy-sharing/src/components/ShareRestrictionModal/BoxEditingRights.jsx index 410407b75e..d380b49410 100644 --- a/packages/cozy-sharing/src/components/ShareRestrictionModal/BoxEditingRights.jsx +++ b/packages/cozy-sharing/src/components/ShareRestrictionModal/BoxEditingRights.jsx @@ -3,6 +3,7 @@ import React, { useReducer, useRef } from 'react' import { useClient } from 'cozy-client' import { isDirectory as isDir } from 'cozy-client/dist/models/file' +import flag from 'cozy-flags' import ActionsMenu from 'cozy-ui/transpiled/react/ActionsMenu' import { makeActions } from 'cozy-ui/transpiled/react/ActionsMenu/Actions' import Box from 'cozy-ui/transpiled/react/Box' @@ -52,28 +53,30 @@ export const BoxEditingRights = ({ file, editingRights, setEditingRights }) => { return ( <> - - - - - - - - - - - - - + {!flag('drive.federated-shared-folder.enabled') && ( + + + + + + + + + + + + + + )}