Documentation

website.modules.strava.views

<activities-graph>

(<activities-graph> & argv__44933__auto__)

List multiple activities, currently as a graph from watts and RE

<activity-dot>

(<activity-dot> activity i num-total watts-high)

<activity-graphs>

(<activity-graphs> activity)

<activity-laps>

(<activity-laps> {:keys [laps], :as details})

Laps for activity

<activity-map-canvas>

(<activity-map-canvas> activity)

Visualize latlng somehow! Currently goes behind activity-full but putting it on bg would be best (fix latlng so fits…)

<activity-map-leaflet>

(<activity-map-leaflet> activity)

Visualize latlng somehow! Currently goes behind activity-full but putting it on bg would be best (fix latlng so fits…)

<activity-map>

(<activity-map> activity)

Visualize latlng somehow! Currently goes behind activity-full but putting it on bg would be best (fix latlng so fits…)

<activity-photo>

(<activity-photo> data)

Display photo for activity and allow to view fullscreen. Sadly seems can only get primary photo from Strava, not all?

<activity-segment>

(<activity-segment> segment)

List a specific segment

<activity-segments>

(<activity-segments> {:keys [segment_efforts], :as details})

Segments for activity

<activity-split>

(<activity-split> i {:keys [average_speed], :as split} num-splits min-speed max-speed space-per-split)

Single split dot

<activity-splits>

(<activity-splits> {:keys [splits_metric], :as details})

km splits from activity

<activity-stats>

(<activity-stats> activity details)

<gear>

(<gear> id)

Display gear details

<general-stats>

(<general-stats> _)

Box of stats, from strava or other related provider

<graph-canvas>

(<graph-canvas> label unit data)

Canvas for drawing graphs, and legend

<intervals-general-stats>

(<intervals-general-stats>)

Box of stats (graphs n shit!)

<intervals-graphs>

(<intervals-graphs>)

Nice graphs

<intervals-totals-stats>

(<intervals-totals-stats> stats index)

<kudo>

(<kudo> kudoer)

Strava icon for kudos, show name on hover

<kudos>

(<kudos> activity)

List kudos

<strava-details-stats>

(<strava-details-stats>)

Use rides to calc stuff

<strava-general-stats>

(<strava-general-stats>)

Box of stats (rides, total distance and stuff)

<strava-totals-stats>

(<strava-totals-stats> athlete category heading)

<strava>

(<strava> & argv__44933__auto__)

Make an increasingly fancy visualizer feed thingy. Relies on :content :strava in db

draw-graph

(draw-graph canvas id data cursor-pos & {:keys [colors zoom current-drag], :or {colors {:line "rgb(252,136,54)", :fill "rgb(252,176,172)", :highlight "rgb(52,136,254)"}, zoom [0.0 1.0]}})

draw-map

(draw-map canvas latlng watts)