diff --git a/docs/images/share-create.png b/docs/images/share-create.png
new file mode 100644
index 00000000..eafaf737
Binary files /dev/null and b/docs/images/share-create.png differ
diff --git a/docs/images/share-dialog.png b/docs/images/share-dialog.png
index 89280fc6..cf05a58d 100644
Binary files a/docs/images/share-dialog.png and b/docs/images/share-dialog.png differ
diff --git a/frontend/src/components/prompts/Share.vue b/frontend/src/components/prompts/Share.vue
index 0c32480b..c2f4686b 100644
--- a/frontend/src/components/prompts/Share.vue
+++ b/frontend/src/components/prompts/Share.vue
@@ -68,7 +68,6 @@
@click="closeHovers"
:aria-label="$t('buttons.close')"
:title="$t('buttons.close')"
- tabindex="2"
>
{{ $t("buttons.close") }}
@@ -78,7 +77,6 @@
@click="() => switchListing()"
:aria-label="$t('buttons.new')"
:title="$t('buttons.new')"
- tabindex="1"
>
{{ $t("buttons.new") }}
@@ -101,37 +99,45 @@
/>
{{ $t("sso.shortHint") }}
- {{ $t("settings.shareDuration") }}
-
-
-
-
- {{ $t("prompts.optionalPassword") }}
-
+
+ {{ $t("sso.advancedSettings") }}
+
+
+
+
+
+
+
+
+
+
@@ -140,7 +146,6 @@
@click="() => switchListing()"
:aria-label="$t('buttons.cancel')"
:title="$t('buttons.cancel')"
- tabindex="5"
>
{{ $t("buttons.cancel") }}
@@ -151,7 +156,6 @@
:disabled="submitting"
:aria-label="$t('buttons.share')"
:title="$t('buttons.share')"
- tabindex="4"
>
{{ $t("buttons.share") }}
diff --git a/frontend/src/css/workspace.css b/frontend/src/css/workspace.css
index 0ccfd973..0667f3df 100644
--- a/frontend/src/css/workspace.css
+++ b/frontend/src/css/workspace.css
@@ -125,11 +125,43 @@ nav .disk-usage {
margin-top: 8px;
}
.share-link-actions .action {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ flex: 0 0 40px;
border: 1px solid var(--borderPrimary);
border-radius: 8px;
- width: 38px;
- height: 36px;
- padding: 4px;
+ width: 40px;
+ height: 40px;
+ padding: 0;
+ line-height: 1;
+}
+.share-link-actions .action i {
+ position: static;
+ display: block;
+ transform: none;
+ margin: 0;
+ padding: 0;
+ font-size: 22px;
+ line-height: 1;
+}
+.share-advanced {
+ margin-top: 20px;
+ border-top: 1px solid var(--borderPrimary);
+}
+.share-advanced summary {
+ padding: 16px 0 0;
+ cursor: pointer;
+ color: var(--textSecondary);
+ font-weight: 600;
+}
+.share-advanced-content {
+ display: grid;
+ gap: 12px;
+ padding-top: 18px;
+}
+#share .share-advanced .input-group {
+ margin: 0 0 8px;
}
.share-link-actions .action:hover {
background: var(--hover);
diff --git a/frontend/src/i18n/en.json b/frontend/src/i18n/en.json
index 607a738a..023bc659 100644
--- a/frontend/src/i18n/en.json
+++ b/frontend/src/i18n/en.json
@@ -320,7 +320,8 @@
"toggleTheme": "Switch theme",
"itemsCount": "{count} items",
"storage": "Storage",
- "editorTheme": "The editor follows the interface theme automatically."
+ "editorTheme": "The editor follows the interface theme automatically.",
+ "advancedSettings": "Advanced settings"
},
"permissions": {
"create": "Create files and directories",
diff --git a/frontend/src/i18n/ru.json b/frontend/src/i18n/ru.json
index b9f81b8e..5bba6af9 100644
--- a/frontend/src/i18n/ru.json
+++ b/frontend/src/i18n/ru.json
@@ -317,7 +317,8 @@
"toggleTheme": "Переключить тему",
"itemsCount": "Объектов: {count}",
"storage": "Хранилище",
- "editorTheme": "Тема редактора автоматически соответствует теме интерфейса."
+ "editorTheme": "Тема редактора автоматически соответствует теме интерфейса.",
+ "advancedSettings": "Дополнительные настройки"
},
"permissions": {
"create": "Создавать файлы и каталоги",
diff --git a/scripts/build-release.ps1 b/scripts/build-release.ps1
index 7641173f..0ec272d4 100644
--- a/scripts/build-release.ps1
+++ b/scripts/build-release.ps1
@@ -1,4 +1,4 @@
-param([string]$Version = '3.0.0-sso.2')
+param([string]$Version = '3.0.0-sso.3')
$ErrorActionPreference = 'Stop'
$repo = (Resolve-Path (Join-Path $PSScriptRoot '..')).Path
Push-Location $repo
diff --git a/scripts/build-release.sh b/scripts/build-release.sh
index f542cfc5..be6454e6 100644
--- a/scripts/build-release.sh
+++ b/scripts/build-release.sh
@@ -1,7 +1,7 @@
#!/bin/sh
set -eu
cd "$(dirname "$0")/.."
-VERSION="${VERSION:-3.0.0-sso.2}"
+VERSION="${VERSION:-3.0.0-sso.3}"
COMMIT=$(git rev-parse --short HEAD)
(cd frontend && pnpm install --frozen-lockfile && pnpm run build)
mkdir -p build/release/linux-amd64