1
0
mirror of synced 2025-12-23 11:54:18 -05:00
Commit Graph

115 Commits

Author SHA1 Message Date
Kevin Heis
09cb922a3a Record copy event (#16177)
* Record copy event

* Update events.js

* Update javascripts/events.js

Co-authored-by: James M. Greene <JamesMGreene@github.com>

* Update events.js

Co-authored-by: James M. Greene <JamesMGreene@github.com>
2020-10-23 09:53:36 -07:00
Kevin Heis
8940279c82 Remove Google Analytics (#16158) 2020-10-22 15:41:46 -07:00
Kevin Heis
c3bff7f26c Trigger event when user clicks external link (#16156)
* Trigger event when user clicks external link

* Use event delegation for link events
2020-10-22 15:26:11 -07:00
Kevin Heis
c4cf788d68 Send navigate events to Hydro (#16160)
* Send navigate events to Hydro

* Use event delegation on links
2020-10-22 15:17:18 -07:00
Kevin Heis
6a532d78ff Add search event to Hydro (#16157)
* Add search event

* Lint fixes
2020-10-22 09:54:06 -07:00
Kevin Heis
380c4dcc82 Hydro exit event (#16067)
* Start a basic exit event

* Combine to one performance function

* Lint

* Fancy operators

* Update events.js

* Update events.js

* Update cookie-settings.js

* Add scroll tracking

* Tell "standard" to use babel-eslint

* Throttle scroll tracking

* Lint

* Use sendBeacon

* Update index.js
2020-10-21 09:42:02 -07:00
Kevin Heis
c56065784a Create a user agent parser for analytics (#15915)
* Create a user agent parser for analytics

* Update user-agent.js

* Update user-agent.js

* Update user-agent.js

* Use user agent parser and remove test code

* Add some tests for user agents

* Add regeneratorRuntime

* Add babel-preset

* Just guessing at this point

* Update package.json

* Revert package changes
2020-10-21 07:43:09 -07:00
Kevin Heis
8982d200cc Migrate experiments and helpfulness to Hydro (#16059)
* Migrate experiments and helpfulness to Hydro

* Clean out old tests

* ...and more old tests to delete
2020-10-19 14:31:54 -07:00
Jason Etcovitch
efed031ea4 Add copy button to code blocks (#16052)
* Add deps

* Setup copy events

* Updoot

* Tweak styling

* Do a lil' proof-of-concept

* Updoot @github-docs/render-content

* Use SCSS variables for custom styles

* Adjust docs

* Ignore clipboard in check-deps

* Add copy annotation to quickstart workflow sample

Co-authored-by: Cynthia Rich <crichID@users.noreply.github.com>
2020-10-16 10:55:35 -04:00
Kevin Heis
7c0c493c35 Sending events to POST /events endpoint (#15796) 2020-10-08 09:24:41 -07:00
Vanessa Yuen
566d1a7708 Add analyticsTags to Algolia search queries (#15719) 2020-09-30 18:31:04 +02:00
Sarah Schneider
91a74923c5 Do not modify hrefs when wrapping code terms (#15785)
* do not modify hrefs when wrapping code terms

* lint
2020-09-28 16:50:29 -04:00
Kevin Heis
c450d8d555 Send CSRF tokens over XHR (#15778)
* Send CSRF tokens over XHR

* Update events.js

* Update browser.js
2020-09-28 09:44:14 -07:00
Sarah Schneider
cc7bd5d701 Wrap slash characters in tables (#15774)
* include slashes in list of chars to inject <wbr> tags around for better table rendering

* add clarifying comment to tables.scss
2020-09-28 10:54:23 -04:00
Vanessa Yuen
3df90fc9b8 Hello git history spelunker!
Are you looking for something? Here is all of the GitHub Docs history in one single commit. Enjoy! 🎉
2020-09-27 14:10:11 +02:00