···66- **Automatically prepend `_dnslink.` when using a domain name with an IPFS source**
77- Explain more things in the UI and on the about page
88- Improve onboarding
99+- Show the amount of tracks you have
910- Show time and duration of the current track after hovering over the progress bar for a while
1011- Slightly improved tap/click events on tracks
1112- Smaller javascript files, ie. improved load tim
···253253-- 🗺
254254255255256256-view : Sources.Page -> Model -> Html Msg
257257-view page model =
256256+view : { amountOfTracks : Int } -> Sources.Page -> Model -> Html Msg
257257+view { amountOfTracks } page model =
258258 UI.Kit.receptacle
259259 { scrolling = True }
260260 (case page of
261261 Index ->
262262- index model
262262+ index amountOfTracks model
263263264264 Edit sourceId ->
265265 List.map (Html.map FormMsg) (Form.edit model.form)
···279279-- INDEX
280280281281282282-index : Model -> List (Html Msg)
283283-index model =
282282+index : Int -> Model -> List (Html Msg)
283283+index amountOfTracks model =
284284 [ -----------------------------------------
285285 -- Navigation
286286 -----------------------------------------
···331331332332 -- Intro
333333 --------
334334- , intro
334334+ , intro amountOfTracks
335335336336 -- List
337337 -------
···373373 ]
374374375375376376-intro : Html Msg
377377-intro =
376376+intro : Int -> Html Msg
377377+intro amountOfTracks =
378378 [ text "A source is a place where your music is stored."
379379 , lineBreak
380380 , text "By connecting a source, the application will scan it and keep a list of all the music in it."
381381 , lineBreak
382382- , text "It will not copy anything."
382382+ , text "You currently have "
383383+ , text (String.fromInt amountOfTracks)
384384+ , text " "
385385+ , text (ifThenElse (amountOfTracks == 1) "track" "tracks")
386386+ , text " in your collection."
383387 ]
384388 |> raw
385389 |> UI.Kit.intro