Merge branch 'worktree-agent-ae17d09efb642a925'
This commit is contained in:
@@ -153,6 +153,40 @@
|
||||
</x-modal>
|
||||
</div>
|
||||
BLADE,
|
||||
'A dialog whose body scrolls: dividers only while content is hidden' => <<<'BLADE'
|
||||
<div x-data="{ open: false }">
|
||||
<x-button label="Long body" variant="tonal" x-on:click="open = true" />
|
||||
<x-modal title="Terms of the share link" subtitle="Scroll them: a rule appears under the headline once the text leaves its top, and the one over the buttons goes at its end.">
|
||||
<div class="space-y-4">
|
||||
<p>A share link opens the files you chose, and only those. Adding a file to the folder later does not add it to a link you have already sent; make a new link for it.</p>
|
||||
<p>Anyone who has the link can open it until it expires. Forwarding the link forwards that access, so send it to the people who need it and to nobody else.</p>
|
||||
<p>A password, when you set one, is asked for every time the link is opened. Send it separately from the link, by another channel, so one intercepted message is not enough.</p>
|
||||
<p>The link expires at the time you picked. After that it shows a page saying so, and downloads that were still running stop at once.</p>
|
||||
<p>You can end a link early from the list of shares. Ending it takes effect immediately for everyone, including people who opened it a moment ago.</p>
|
||||
<p>Downloads are counted per file. The count is shown to you and never to the people you shared with.</p>
|
||||
<p>Files larger than 2 GB are offered as a single archive only when the whole share fits under the archive limit; otherwise each file downloads on its own.</p>
|
||||
<p>Previews are generated for images, PDFs and plain text. Other types show their name, size and an icon.</p>
|
||||
<p>Deleting a file you shared removes it from every link that holds it. People who open such a link see the files that are left.</p>
|
||||
<p>These terms apply to every link you create from now on. Links you created before keep the terms they were made under.</p>
|
||||
</div>
|
||||
<x-slot:actions>
|
||||
<x-button label="Decline" x-on:click="close()" />
|
||||
<x-button label="Accept" x-on:click="close()" />
|
||||
</x-slot:actions>
|
||||
</x-modal>
|
||||
</div>
|
||||
|
||||
<div x-data="{ open: false }">
|
||||
<x-button label="Always divided (separator)" variant="tonal" x-on:click="open = true" />
|
||||
<x-modal title="Who can open the link" separator>
|
||||
<x-radio label="Audience" name="showcase-dialog-audience" value="password" :options="[['id' => 'anyone', 'name' => 'Anyone with the link'], ['id' => 'password', 'name' => 'Anyone with the password'], ['id' => 'team', 'name' => 'My team only']]" />
|
||||
<x-slot:actions>
|
||||
<x-button label="Cancel" x-on:click="close()" />
|
||||
<x-button label="Save" x-on:click="close()" />
|
||||
</x-slot:actions>
|
||||
</x-modal>
|
||||
</div>
|
||||
BLADE,
|
||||
'A standard side sheet: co-planar from expanded, modal below' => <<<'BLADE'
|
||||
<div x-data="{ open: true }" class="w-full">
|
||||
<div class="expanded:flex expanded:items-start expanded:gap-6">
|
||||
|
||||
Reference in New Issue
Block a user