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

contextual helpers - ods adjustments #7368

Merged
merged 2 commits into from
Jul 29, 2022
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
64 changes: 41 additions & 23 deletions packages/web-app-files/src/helpers/contextualHelpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,41 +9,59 @@ export const empty = {
export const shareInviteCollaboratorHelp = {
text: $gettext('Invite persons or groups to access this file or folder.'),
list: [
$gettext('Enter a name or group to share this item'),
$gettext(
'If you share a folder, all of its contents and subfolders will be shared with the entered persons or groups'
),
$gettext('Invited persons or groups will be notified via e-mail or in-app notification'),
$gettext('Invited persons can not see who else has access')
{ text: $gettext('Enter a name or group to share this item') },
{
text: $gettext(
'If you share a folder, all of its contents and subfolders will be shared with the entered persons or groups'
)
},
{
text: $gettext('Invited persons or groups will be notified via e-mail or in-app notification')
},
{ text: $gettext('Invited persons can not see who else has access') }
]
}
export const shareInviteCollaboratorHelpCern = {
list: [
$gettext(
'To search for service or secondary accounts prefix the username with "a:" (like "a:doe") and for guest accounts prefix the username with "l:" (like "l:doe")'
)
{
text: $gettext(
'To search for service or secondary accounts prefix the username with "a:" (like "a:doe") and for guest accounts prefix the username with "l:" (like "l:doe")'
)
}
]
}
export const shareSpaceAddMemberHelp = {
text: $gettext('Add persons or groups as members to this Space. Members are allowed to:'),
list: [
$gettext('see who else is member of this space'),
$gettext('view all files in this space'),
$gettext('(if permitted) edit or delete files in this Space'),
$gettext('(if permitted) share folders of this Space with non-Members'),
$gettext('see with whom a folder is shared')
{ text: $gettext('see who else is member of this space') },
{ text: $gettext('view all files in this space') },
{ text: $gettext('(if permitted) edit or delete files in this Space') },
{ text: $gettext('(if permitted) share folders of this Space with non-Members') },
{ text: $gettext('see with whom a folder is shared') }
],
endText: 'Members can only be added or removed by a Space Manager.'
}
export const shareViaLinkHelp = {
text: $gettext('Share a file or folder by link. Choose how access is granted:'),
title: $gettext('Choose how access is granted'),
list: [
$gettext(
'Only invited people can access: Only people from the list "Invited people" can access. If there is no list, no people are invited yet.'
),
$gettext(
'Everyone with the link: Everyone with the link can access. Note: If you share this link with people from the list "Invited people", they need to login-in so that their individual assigned permissions can take effect. If they are not logged-in, the permissions of the link take effect.'
)
{
text: $gettext('Only invited people can access'),
headline: true
},
{
text: $gettext(
'Only people from the list "Invited people" can access. If there is no list, no people are invited yet.'
)
},
{
text: $gettext('Everyone with the link'),
headline: true
},
{
text: $gettext(
'Everyone with the link: Everyone with the link can access. Note: If you share this link with people from the list "Invited people", they need to login-in so that their individual assigned permissions can take effect. If they are not logged-in, the permissions of the link take effect.'
)
}
]
}
export const shareViaIndirectLinkHelp = {
Expand All @@ -52,8 +70,8 @@ export const shareViaIndirectLinkHelp = {
export const shareQuickLinkHelp = {
text: $gettext('The Quick link is the link that is always copied if you'),
list: [
$gettext('right click on a file and choose "Get link" or'),
$gettext('click on the quickaction "Get link"')
{ text: $gettext('right click on a file and choose "Get link" or') },
{ text: $gettext('click on the quickaction "Get link"') }
]
}
export const shareAddLinkHelp = {
Expand Down
2 changes: 1 addition & 1 deletion packages/web-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"luxon": "^2.4.0",
"marked": "^4.0.12",
"oidc-client-ts": "^2.0.5",
"owncloud-design-system": "14.0.0-alpha.8",
"owncloud-design-system": "14.0.0-alpha.10",
"owncloud-sdk": "~3.0.0-alpha.15",
"p-queue": "^6.6.2",
"popper-max-size-modifier": "^0.2.0",
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9711,9 +9711,9 @@ __metadata:
languageName: node
linkType: hard

"owncloud-design-system@npm:14.0.0-alpha.8":
version: 14.0.0-alpha.8
resolution: "owncloud-design-system@npm:14.0.0-alpha.8"
"owncloud-design-system@npm:14.0.0-alpha.10":
version: 14.0.0-alpha.10
resolution: "owncloud-design-system@npm:14.0.0-alpha.10"
peerDependencies:
"@popperjs/core": ^2.4.0
"@vue/composition-api": ^1.4.3
Expand All @@ -9730,7 +9730,7 @@ __metadata:
vue-inline-svg: ^2.0.0
vue-select: ^3.12.0
webfontloader: ^1.6.28
checksum: 2571bdfaed42626e5673a215df2b640d03aa2038ecf9b2bf5049f1b7e5f04095fbaec2be9fe0c9a2ca0a8f9d8b800f7af8718731757385c3d6d638d72a6d5411
checksum: faa79ee2f57a392c9784f72e28a9ab63e0a9ef6e0b8f930cd673ccaa6adc8ece2271b95ae8e1faf6919733beae2240c3b763039b5a4aba2c4eabf878dd8c1e35
languageName: node
linkType: hard

Expand Down Expand Up @@ -13773,7 +13773,7 @@ __metadata:
luxon: ^2.4.0
marked: ^4.0.12
oidc-client-ts: ^2.0.5
owncloud-design-system: 14.0.0-alpha.8
owncloud-design-system: 14.0.0-alpha.10
owncloud-sdk: ~3.0.0-alpha.15
p-queue: ^6.6.2
popper-max-size-modifier: ^0.2.0
Expand Down