Commit Graph

25 Commits (015eeefe68a3f7b240c41dfee9dd3d6e50f94de5)

Author SHA1 Message Date
Mackenzie e95ff80c3d
Add eslint, stylelint, prettier, and pre-commit (#484)
- When you try to commit, Pre-commit will run checks for all three, if
  installed, _only_ on staged files, and prevent committing if the linters are
  unhappy.
- Several eslint rules that generate a lot of errors are disabled for now.
  That's to allow a more gradual transition, so you won't change 1 line and be
  told to fix 100 other lines (but maybe like 20 because there are still a lot
  of rules enabled).
- Prettier is set to require pragma. That's also to allow a more gradual
  transition. As each file is tidied up, run Prettier on it, and it'll add a
  special comment that tells it that it's now responsible for keeping that one
  tidy.
6 years ago
Uku Taht 8d240a5025 Add terser-webpack-plugin to deps 6 years ago
Uku Taht eca27283c1 Update TailwindCSS to 2.0 6 years ago
Uku Taht ebf40b475b Update JS deps 6 years ago
Uku Taht b0bd564b56 Create unified template for settings 6 years ago
Uku Taht d046773328 WIP 6 years ago
Uku Taht dc8e29da56 Update npm deps 6 years ago
Uku Taht ff64fccb18
Add site switcher (#281)
* WIP

* Add site switcher

* Run ci

* Highlight active site

* Do not show sites dropdown for logged out users

* Add site switcher to realtime view

* Remove blue border when logged out
6 years ago
Uku Taht 232298d327
Realtime dashboard (#212)
* Auto-updating dashboard with realtime info

* Remove extra route

* Draw list of countries next to the map

* Nice animations

* Do not show bounce rates in realtime modals

* Update countries and devices in realtime

* Remove unused component

* Show total pageviews in the last 30 minutes

* Show proper labels

* Remove unnecessary z-index

* Fix label for main graph

* Fix compiler warnings

* Add tests

* Fix copy pluralizations

* Fix copy in countries modal

* Real-time -> Realtime

* Looser test assertion

* Show last 30 minutes conversions on realtime report

* Remove EventTarget API because it doesn't work on Safari

* Get referrer drilldown from sessions table

* Fix failing tests
6 years ago
Uku Taht 802b69e15a
Cancel dashboard ajax requests when query is changed (#197) 6 years ago
Uku Taht 69e9842786 Remove devDependencies 7 years ago
Uku Taht baa5738ae4 Use npm bin for executables 7 years ago
Uku Taht a817ba5270 Update npm deps 7 years ago
Uku Taht 55ca459bb2 Update deps 7 years ago
Uku Taht c40d532880
New landing page (#47)
* Fix typo

* Update landing page with components from TailwindUI

* Update copy

* Update FAQ and testimonials

* Add feature section

* Update copy for integration

* Implement feedback

* Remove github button JS

* Update headings

* Update gray values

* Update CTA section

* Add copy
7 years ago
Uku Taht 32937c53d1
Upgrade tailwind to 1.2.0 (#42)
* Upgrade config file

* Upgrade grey colour

* Update styles for dashboard

* Update styles for new site flow

* Update styles for user settings

* Update site setting styles

* Update other pages

* Adjust spacing

* Update last grey rules

* Purge css
7 years ago
Uku Taht a2ed7514d7
Improve datepicker (#41)
* Update datepicker dropdown style

* Add custom range for datepicker
7 years ago
Uku Taht 8a4d0a91d1
WIP: New UI updates (#19)
* WIP: New UI idea

* Remove hover styling if things are not clickable

* Improve mobile view

* Remove dead code

* Fade in tabs

* Update landing page with new style

* Fix countries test

* Fix alignment in conversions report
7 years ago
Uku Taht 8b51e216bc Remove unused dependency 7 years ago
Uku Taht d9f7519981 NPM update 7 years ago
Uku Taht b02cb74181
Fetch and display tweets (#27) 7 years ago
Uku Taht 96abfc4ea1 Click on goal to see conversions for it 7 years ago
Uku Taht a55ffb216d Load Chart.js only for dashboard 7 years ago
Uku Taht e8f20e67cc
React (#17)
* Load dashboard with react

* Rename stast2 to dashboard

* Save timeframe on the frontend

* Implement current visitors

* Implement comparisons

* React to route changes

* Add modals

* Show number of visitors on hover

* Show 'Today' for today

* Add 30 days

* Show referrer drilldown

* Arrow keys to go back and forward

* Improve comparisons UI

* Fix dropdown when clicking on it

* Verify API access in a memoized fashion

* Test API access

* Test stats through controller

* Move map formatting from stats controller to stats

* Remove unused code

* Remove dead code from query

* Remove dead code from stats templates

* Add stats view test back in

* Render modal inside the modal component

* Implement google search terms

* Add explanation for screen sizes

* Separate dashboard JS from the app js
7 years ago
Uku Taht 779d64e19a Initial commit 7 years ago