@@ -73,7 +73,7 @@ defmodule LivebookWeb.Hub.FileSystemFormComponent do
73
73
checked_value = { :git }
74
74
disabled = { @ mode == :edit }
75
75
>
76
- Configure a read-only Git repository as a Livebook file storage. You will need a valid SSH key to access your Git repository.
76
+ Configure a Git repository as a read-only Livebook file storage. You will need a valid SSH key to access your Git repository.
77
77
</ . radio_card_input >
78
78
</ div >
79
79
</ div >
@@ -91,7 +91,11 @@ defmodule LivebookWeb.Hub.FileSystemFormComponent do
91
91
< . file_system_form_fields { assigns } />
92
92
93
93
< div class = "flex space-x-2 " >
94
- < . button type = "submit " disabled = { @ disabled or not @ form . source . valid? } >
94
+ < . button
95
+ type = "submit "
96
+ disabled = { @ disabled or not @ form . source . valid? }
97
+ >
98
+ < . spinner class = "hidden phx-submit-loading:block mr-1 " />
95
99
< . remix_icon icon = { @ button . icon } />
96
100
< span class = "font-normal " > { @ button . label } </ span >
97
101
</ . button >
@@ -145,7 +149,7 @@ defmodule LivebookWeb.Hub.FileSystemFormComponent do
145
149
< . text_field
146
150
field = { @ form [ :repo_url ] }
147
151
label = "Repository URL "
148
- placeholder = "git@[provider ]:[username ]/[repo_name].git "
152
+ placeholder = "git@[provider_host ]:[owner ]/[repo_name].git "
149
153
/>
150
154
< . text_field
151
155
field = { @ form [ :branch ] }
@@ -154,9 +158,8 @@ defmodule LivebookWeb.Hub.FileSystemFormComponent do
154
158
/>
155
159
< . password_field field = { @ form [ :key ] } label = "SSH Private Key " />
156
160
< p class = "text-xs text-gray-700 " >
157
- You can use your own SSH Private Key or you can set up the Deploy Key
158
- only for this repository. Check the documentation from your
159
- version control system to create your Deploy Key.
161
+ An SSH private key with repository access. You may use a personal key or a deploy key.
162
+ See your Git provider’s documentation to create a deploy key.
160
163
</ p >
161
164
</ div >
162
165
"""
0 commit comments