Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(sharing): Replace old sharing link menu with the new modal #2687

Merged
merged 13 commits into from
Jan 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions packages/cozy-sharing/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -416,5 +416,33 @@
},
"addEmail": "Enter an email address to invite the contact"
}
},
"ShareRestrictionModal": {
"action": {
"confirm": "Confirm"
},
"invalidPasswordMessage": "%{smart_count} character is missing |||| %{smart_count} characters are missings"
},
"BoxDate": {
"label": "Deadline",
"text": "Remove access after a deadline"
},
"BoxPassword": {
"label": "Password",
"text": "Limit access with a password"
},
"BoxEditingRights": {
"editSubText": "People with access to the link can modify the content",
"readOnlySubText": "People who have access to the link can only view the content",
"text": "Editing rights"
},
"copyReminderContent": {
"success": "Copied to clipboard",
"error": "Cannot copy to clipboard"
},
"shareFile": {
"error": "Problem with link recovery: %{error}",
"text": "Link to my document %{name}: |||| Link to my documents %{name}: ",
"title": "Link to my document %{name} |||| Link to my documents %{name}"
}
}
29 changes: 29 additions & 0 deletions packages/cozy-sharing/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -414,5 +414,34 @@
},
"addEmail": "Renseigner un email pour pouvoir inviter le contact"
}
},
"ShareRestrictionModal": {
"title": "Lien de partage",
"action": {
"confirm": "Valider"
},
"invalidPasswordMessage": "Il manque %{smart_count} caractère |||| Il manque %{smart_count} caractères"
},
"BoxDate": {
"label": "Date limite",
"text": "Restreindre l'accès après une date limite"
},
"BoxPassword": {
"label": "Mot de passe",
"text": "Limiter l'accès par un mot de passe"
},
"BoxEditingRights": {
"editSubText": "Les personnes ayant accès au lien peuvent modifier le contenu",
"readOnlySubText": "Les personnes ayant accès au lien peuvent uniquement consulter le contenu",
"text": "Droit d’édition"
},
"copyReminderContent": {
"success": "Copié dans le presse-papier",
"error": "Impossible de copier dans le presse-papier"
},
"shareFile": {
"error": "Problème avec la récupération du lien : %{error}",
"text": "Voici un lien vers mon document %{name} : |||| Voici un lien contenant mes documents %{name} : ",
"title": "Lien vers mon document %{name} |||| Lien vers mes documents %{name}"
}
}
14 changes: 9 additions & 5 deletions packages/cozy-sharing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"classnames": "^2.2.6",
"cozy-device-helper": "^3.7.1",
"cozy-doctypes": "^1.97.1",
"date-fns": "2.30.0",
"lodash": "^4.17.19",
"react-autosuggest": "^10.1.0",
"react-tooltip": "^3.11.1",
Expand All @@ -52,8 +53,11 @@
"babel-jest": "26.6.3",
"babel-plugin-css-modules-transform": "1.6.2",
"babel-plugin-inline-react-svg": "1.1.2",
"cozy-client": "^51.6.1",
"cozy-ui": "^115.0.2",
"cozy-client": "^52.1.0",
"cozy-device-helper": "^3.7.1",
"cozy-intent": "^2.29.1",
"cozy-minilog": "^3.9.1",
"cozy-ui": "^116.0.0",
"jest": "26.6.3",
"jest-environment-jsdom": "26.6.2",
"react": "16.12.0",
Expand All @@ -62,11 +66,11 @@
"storybook": "7.6.0"
},
"peerDependencies": {
"cozy-client": ">=51.6.1",
"cozy-client": ">=52.1.0",
"cozy-device-helper": ">=3.7.1",
"cozy-intent": ">=2.29.1",
"cozy-realtime": "^3.11.0",
"cozy-ui": ">=115.0.2",
"cozy-minilog": ">=3.9.1",
"cozy-ui": ">=116.0.0",
"prop-types": "^15.7.2",
"react": "^16.12.0",
"react-router": "^5.0.1"
Expand Down

This file was deleted.

This file was deleted.

Loading
Loading