Skip to content

Commit

Permalink
Show a tip about notebook file upload (#2868)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatanklosko authored Nov 22, 2024
1 parent dd384bc commit 692251d
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,16 @@ defmodule LivebookWeb.SessionLive.AddFileEntryUploadComponent do
<%= message %>
</div>
</div>
<div class="mb-6">
<.message_box kind="info">
This will upload the file as an attachment in the notebook files/ directory.
If you want to upload it to a file storage instead, choose <.link
class="text-blue-600 "
patch={~p"/sessions/#{@session.id}/add-file/storage"}
>"From storage"</.link>,
then drag and drop the file to the desired storage and directory.
</.message_box>
</div>
<.form
:let={f}
for={@changeset}
Expand Down

0 comments on commit 692251d

Please sign in to comment.