Commit Graph

104 Commits

Author SHA1 Message Date
Danny van Kooten e7e693a71c clean-up state & props delegation. destroy pikaday on unmount. 2018-05-24 17:02:19 +02:00
Danny van Kooten b414f10348 ensure pikaday date is updated when we choose a preset date range 2018-05-24 13:46:26 +02:00
Danny van Kooten a00e72f81d smart date formatting on chart x-axis 2018-05-24 13:35:43 +02:00
Danny 813eb460a3 increase left-margin of chart to allow for larger numbers on y-axis 2018-05-23 16:06:20 +02:00
Danny e2218d0736 fix chart padding 2018-05-23 11:12:05 +02:00
Danny b8f0369724 add basic tooltips in chart 2018-05-23 09:56:33 +02:00
Danny c5b0d051a2 stretch totals sidebar to top, move chart to right area 2018-05-23 09:24:55 +02:00
Danny 60008aa205 show pageview & visitor chart for week/month/year periods 2018-05-22 16:01:59 +02:00
Danny 0101afdc9f fill dates with no data with zeroes & add d3-transition 2018-05-22 15:45:22 +02:00
Danny 7adc5d3bec wip on chart implementation using d3 2018-05-22 12:23:17 +02:00
Danny van Kooten 72c2952e15 use singular if visitor count == 1. closes #34 2018-05-21 11:37:12 +02:00
Danny 16d9fdcf6c minor styling changes to datepicker elements 2018-05-16 17:37:10 +02:00
Danny 44ae5d38f2 move custom date selector to far right, #32 2018-05-16 17:25:50 +02:00
Danny bcae762a35 update document title with realtime visitor count 2018-05-16 17:25:29 +02:00
Danny 0ecd4ec251 use pikaday for the date component, closes #32 2018-05-16 17:02:46 +02:00
Danny f082231b12 implement logic to get a working html5 input date. #32 2018-05-16 13:54:52 +02:00
Danny a0bb890210 wip... show input date field 2018-05-16 12:57:03 +02:00
Danny 7d8d0b9c42 show current date range in date-nav, #32 2018-05-16 11:51:40 +02:00
Danny 50771a6314 browser offset should be substracted, not added #31 2018-05-16 03:26:56 -06:00
Danny f0d255c26b limit animation progress to 1 in case tab loses focus or lags 2018-05-16 03:26:44 -06:00
Danny 9cb8d443ec add local timezone offset to utc timestamps we send to server. #31 2018-05-16 11:10:53 +02:00
Danny 0caf52b780 use local timezone in client, utc timezone on server. should close #31 2018-05-16 03:54:51 -05:00
Danny fc552b0508 set start variable outside of tick loop 2018-05-16 10:16:13 +02:00
Danny 9f6684f0fb fix rounding issue for percentage values 2018-05-16 10:10:23 +02:00
Danny van Kooten ce00a975b4 animate numbers in count widget 2018-05-15 22:26:24 +02:00
Danny bbfb5d0b5f check for unauthorized status code to auto-logout on auth errors 2018-05-15 14:32:30 +02:00
Danny 9b037389f5 fire off request for fetching totals earlier 2018-05-11 16:07:13 +02:00
Danny 04d1065698 use pageviews sum to show green percentage bar in pseudo-element 2018-05-11 15:49:52 +02:00
Danny fb5cd41a34 restyle login page 2018-05-11 14:15:58 +02:00
Danny 3c823e9351 delay initial request until datepicker component bubbled up the correct period 2018-05-09 10:55:56 +02:00
Danny b5d5996c90 use UTC times in client-side datepicker 2018-05-09 10:35:31 +02:00
Danny b4c7de0880 store hostname for each pageview & page stat 2018-05-08 13:21:36 +02:00
Danny 5fe5b97e94 use realtime poll to catch expired/invalid login sessions 2018-05-08 13:21:14 +02:00
Danny fe7eee2b73 clean-up data structure & add indices 2018-05-08 10:45:17 +02:00
Danny van Kooten 5e0ac22fe4 and finally, delete pageviews after processing to keep pageviews table nice & small 2018-05-07 19:45:42 +02:00
Danny van Kooten 95cd0e4053 implement referrers table 2018-05-07 19:33:52 +02:00
Danny dac50c3da9 start cleaning up & implement page stats again 2018-05-07 17:01:20 +02:00
Danny 433c6e2f4d get general data flow up & running again for site stats 2018-05-07 16:05:53 +02:00
Danny 5a403d536a first stab at time on site tracking. #20 2018-05-04 15:43:05 +02:00
Danny 86e5a7a957 simple bounce rate implementation. #21 2018-05-04 12:20:37 +02:00
Danny 5f626f1143 use simple loading class to indicate loading state. 2018-05-04 11:05:55 +02:00
Danny f2258acafb add querystring to url's in table component 2018-05-04 10:42:43 +02:00
Danny van Kooten 11775e063b minor js clean-up 2018-05-03 10:54:22 +02:00
Danny van Kooten c47fc3d893 only output notification HTML if there is one 2018-05-02 17:10:59 +02:00
Danny van Kooten 68d52a15f7 add simple styles for login page, use normalize.css 2018-05-02 17:03:18 +02:00
Danny 47d8347ef1 universal handling of retrieving totals from datastore, incl. uniques. 2018-05-02 14:52:52 +02:00
Danny van Kooten 50556c44e9 prepare json data for new components, use fallback values in components 2018-05-01 20:02:05 +02:00
Danny van Kooten 0a9ef8d4f6 move before & after calculation to datepicker component 2018-05-01 19:45:52 +02:00
Danny 399c486209 pass period to table component 2018-05-01 16:10:39 +02:00
Danny 8137f10fbc first stab at new design, needs work 2018-05-01 16:06:17 +02:00