feat: hide link share creation form by default in sharing dialogue (#1827)

The link share creation form is now hidden by default and only shown when users explicitly click the "Create" button. This reduces confusion in the sharing dialogue where users might mistake link sharing for team sharing.

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: kolaente <13721712+kolaente@users.noreply.github.com>
This commit is contained in:
Copilot
2025-11-15 19:05:28 +00:00
committed by GitHub
parent f2a1348c51
commit 25827f432e

View File

@@ -12,7 +12,7 @@
<div class="sharables-project">
<XButton
v-if="!(linkShares.length === 0 || showNewForm)"
v-if="!showNewForm"
icon="plus"
class="mbe-4"
@click="showNewForm = true"
@@ -21,7 +21,7 @@
</XButton>
<div
v-if="linkShares.length === 0 || showNewForm"
v-if="showNewForm"
class="p-4"
>
<div class="field">