Merge branch 'feedback-library-fetch' into 'master'

Added feedback via loading spinner when searching a remote library

See merge request funkwhale/funkwhale!927
This commit is contained in:
Eliot Berriot 2019-10-18 09:38:12 +02:00
commit 8ef680e8b4
3 changed files with 3 additions and 2 deletions

View File

@ -0,0 +1 @@
Added feedback via loading spinner when searching a remote library

View File

@ -142,7 +142,7 @@ export default {
library: {type: Object, required: true},
displayFollow: {type: Boolean, default: true},
displayScan: {type: Boolean, default: true},
displayCopyFid: {type: Boolean, default: false},
displayCopyFid: {type: Boolean, default: true},
},
data () {
return {

View File

@ -10,7 +10,7 @@
<label><translate translate-context="Content/Library/Input.Label/Verb">Search a remote library</translate></label>
<div :class="['ui', 'action', {loading: isLoading}, 'input']">
<input name="url" v-model="query" :placeholder="labels.placeholder" type="url">
<button type="submit" class="ui icon button">
<button type="submit" :class="['ui', 'icon', {loading: isLoading}, 'button']">
<i class="search icon"></i>
</button>
</div>