1
0
mirror of synced 2025-12-25 11:03:37 -05:00
Commit Graph

35 Commits

Author SHA1 Message Date
Kevin Heis
912ac50034 End AB test on moving helpfulness prompt to bottom (#16552)
* End AB test on moving helpfulness prompt to bottom

* Move helpfulness to bottom of page only

* Update helpfulness.js

Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com>
2020-11-20 12:24:33 -08:00
Kevin Heis
30b2f8fd1d Fix chrome not sending exit events (#16488)
Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com>
2020-11-19 10:02:53 -05:00
Rachael Sewell
82407992d2 remove inactive sidebar links (#16500) 2020-11-17 14:26:14 -08:00
Kevin Heis
5bd61aa4b8 Experiment with moving Helpfulness Prompt to bottom of the page (#16448)
* Experiment with moving Helpfulness Prompt to bottom of the page

* Update experiment.js

* Update experiment.js
2020-11-17 14:10:03 -08:00
Kevin Heis
08880d9ecb Sort middleware by categories (#16494) 2020-11-17 09:49:10 -08:00
Sarah Schneider
0df625c7ea Merge branch 'main' into add-dev-toc-redux 2020-11-17 11:56:32 -05:00
Sarah Schneider
e6629a6416 fix Expand and Close toggling 2020-11-17 11:35:19 -05:00
Sarah Schneider
7848e3ce08 return early instead of erroring out on nonstandard page 2020-11-16 20:42:26 -05:00
Sarah Schneider
b5dddd4ac9 move deprecation date calculation from client side to server side 2020-11-16 20:06:16 -05:00
Sarah Schneider
9143e5d413 lint 2020-11-16 16:21:28 -05:00
Sarah Schneider
6d8792e43c Merge branch 'main' of github.com:github/docs-internal into add-dev-toc-redux 2020-11-16 16:14:08 -05:00
Sarah Schneider
86678fee34 add dev-toc javascripts 2020-11-16 16:13:42 -05:00
Kevin Heis
714ca0263b Add hostname to events (#16419)
...so that its easier to filter out localhost and herokuapp domains
2020-11-16 09:49:12 -08:00
Kevin Heis
db4fad8670 Hide sidebar navigation during AB test (#16447) 2020-11-16 09:43:44 -08:00
Jason Etcovitch
7b31c08e16 "All articles" component of Actions landing page (#16318)
* Spike out all-articles.html

* Use it somewhere

* Do the thing

* Use 3 columns

* Increase space between links

* Hide standalone categories

* Move all-articles to bottom of product-landing

* Add obj_size filter

* Add buttons if numArticles > 10

* Add click event to show

* Add a chevron ^

* Assign maxArticles for some DRY fun

* Add some comments
2020-11-12 12:57:30 -05:00
Jason Etcovitch
9e38a854b9 Filterable code examples on Actions landing page (#16276)
* Add custom hover shadows

* Support avatars

* Add guide-card include

* Use it in product-landing

* Add gradient styles

* Add guides frontmatter

* Use guideArticles instead of full objects

* Add support for authors

* Add support for category header

* Just pass the whole page

* Use it

* guide.url => guide.href

* Use `*.githubusercontent.com`

* Fix mobile card width

* Remove showDescription check

* Use featureLinks.guideCards

* Forgot an if

* Add contextualizers/actions-code-examples

* Use code-example-card include

* Tweak sizing/shadows

* Add a basic filterer

* Some visual tweaks

* labels => tags

* Cleanup some code

* Improve spacing on mobile

* Add "No results!" blurb

* Fix a boog

* Tweak spacing

* Remove support banner

* Improve "No results" state

* Just use login instead of name/avatarUrl

* Change card spacing

* Use circular avatars

* Add "Show more" button

* Add margin beneath "Guides"

* Use smaller font

* Assume github.com for code examples

* Show two columns at small screen

* Make "Show more" a btn

* Use the "repo" octicon

* Link to contributing guide

* Use a YAML file instead of a middleware

* Link straight to the file

* Fix some wonky markuip

* Fix a broken link

* Fix the borked test

* Allow variables that aren't strings

* Fix remaining tests
2020-11-12 11:35:43 -05:00
Cynthia Rich
d2d56ee206 Create hello world actions quickstart (#16218)
* create hello world quickstart

* Fix image link

* Apply suggestions from code review

Co-authored-by: Rachael Sewell <rachmari@github.com>

* Add step to merge pull request before triggering workflow

* Add slash in front of file path

* Remove unused reusable

* more explaining in hello world quickstart

* Add invitation to create new repo

* Add experiment code

Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2020-11-10 17:05:07 +00:00
Sarah Schneider
15f3f14096 Tweak code wrapping in tables (#16406)
* tweak code wrapping

* empty commit to rerun ci
2020-11-09 15:09:42 -05:00
Sarah Schneider
ba310bf991 Support GHAE in Algolia (#16315)
* add frontend search support for GHAE version

* add support for GHAE version to Algolia sync

* add browser tests for frontend search

* if a version can be derived from a path, but it is not a real version (like from a path that 404s), fall back to dotcom

* Update javascripts/search.js

* Update lib/algolia/sync.js
2020-11-03 15:35:56 -05:00
Kevin Heis
d743ff9512 Remove more Google Analytics references (#16194) 2020-10-26 14:17:49 -07:00
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