A music player that connects to your cloud/distributed storage.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Improve alfred text-field copy

+22 -3
+12 -2
src/Applications/UI/Alfred/View.elm
··· 1 1 module UI.Alfred.View exposing (view) 2 2 3 - import Alfred exposing (Alfred) 3 + import Alfred exposing (..) 4 4 import Chunky exposing (..) 5 5 import Color exposing (Color) 6 6 import Css.Classes as C ··· 78 78 [ autofocus True 79 79 , id "diffuse__alfred" 80 80 , onInput UI.GotAlfredInput 81 - , placeholder "Type to search or create" 82 81 , type_ "text" 82 + 83 + -- 84 + , case instance.operation of 85 + Query -> 86 + placeholder "Type to search" 87 + 88 + QueryOrMutation -> 89 + placeholder "Type to search or create" 90 + 91 + Mutation -> 92 + placeholder "Type to create" 83 93 ] 84 94 [ C.border_none 85 95 , C.bg_white
+2
src/Applications/UI/Playlists/Alfred.elm
··· 28 28 29 29 else 30 30 "Choose or create a playlist to add these tracks to." 31 + , operation = QueryOrMutation 31 32 , results = playlistNames 32 33 , searchTerm = Nothing 33 34 } ··· 81 82 , focus = 0 82 83 , index = playlistNames 83 84 , message = "Select a playlist to play tracks from." 85 + , operation = Query 84 86 , results = playlistNames 85 87 , searchTerm = Nothing 86 88 }
+8 -1
src/Library/Alfred.elm
··· 1 - module Alfred exposing (Alfred) 1 + module Alfred exposing (..) 2 2 3 3 -- 🌳 4 4 ··· 8 8 , focus : Int 9 9 , index : List String 10 10 , message : String 11 + , operation : Operation 11 12 , results : List String 12 13 , searchTerm : Maybe String 13 14 } 15 + 16 + 17 + type Operation 18 + = Query 19 + | QueryOrMutation 20 + | Mutation