1
0
mirror of synced 2025-12-21 19:06:49 -05:00
Commit Graph

109 Commits

Author SHA1 Message Date
Tom Schmelzer
a09efda1be fix: add rel noopener to aitgap-links.js 2021-05-11 08:52:09 +02:00
Kevin Heis
57e1a1b9c1 End Lunr AB test (#19155)
* Revert "Start an AB test with Lunr search results as treatment (#18993)"

This reverts commit 3d621ba715.

* Update lunr-search.js
2021-05-06 18:04:28 +00:00
Sarah Edwards
be8aa2bccb Add tabs for cli/desktop/ui (#19071) 2021-05-04 16:53:52 +00:00
Kevin Heis
3d621ba715 Start an AB test with Lunr search results as treatment (#18993)
* Start search_lunr AB test

* Towards prewarming

* Towards prewarming

* Warm only english/dotcom index

* Update warm-server.js
2021-05-04 16:24:19 +00:00
Sarah Schneider
9722f2e8eb Update javascripts/toggle-images.js 2021-04-29 15:20:09 -04:00
Sarah Schneider
cb54ce72ef Update javascripts/toggle-images.js 2021-04-29 15:20:01 -04:00
Sarah Schneider
f770a5b9a2 Revert "Image toggle button AB test" 2021-04-29 12:16:12 -04:00
Sarah Schneider
afea41a43d fix logic of treatment bucket vs. cookie preference 2021-04-29 11:07:45 -04:00
Sarah Schneider
0d08b8c78f tidy up the code, var names, etc 2021-04-29 11:07:08 -04:00
Sarah Schneider
8cdef3997f allow force treatment with env variable 2021-04-28 15:26:34 -04:00
Sarah Schneider
cc500a4602 lint 2021-04-27 13:10:44 -04:00
Sarah Schneider
297cf047f9 AB test! 2021-04-27 12:56:14 -04:00
Sarah Schneider
ee96655f64 Update javascripts/toggle-images.js 2021-04-27 10:40:43 -04:00
Sarah Schneider
d976323089 remove individual image toggle code 2021-04-27 10:29:03 -04:00
Sarah Schneider
a9cef6b2b5 fix the blur 2021-04-23 11:14:39 -04:00
Sarah Schneider
2dcdc8a2f1 filter out images in tables from the getgo instead of using continue in the loop 2021-04-23 10:36:59 -04:00
Sarah Schneider
c09705448d skip images in tables 2021-04-23 10:22:13 -04:00
Sarah Schneider
bf70a00b8f use relevant styles from the procedural-image-wrapper 2021-04-22 14:30:27 -04:00
Sarah Schneider
7a66493a12 fix comment formatting 2021-04-22 12:20:28 -04:00
Sarah Schneider
f5514113d5 update default state 2021-04-22 12:17:53 -04:00
Sarah Schneider
75d2dcf136 Merge branch 'main' of github.com:github/docs-internal into toggle-images 2021-04-22 11:16:51 -04:00
Sarah Schneider
5caf712ffa respect user defaults on button icon text 2021-04-22 11:16:32 -04:00
jmarlena
1fc4c3f68b Article restructuring for Sponsors landing page (#18772)
* Move article from github directory as a top-level product

* Update article titles

* Remove old -ing article titles

* Use older format for this PR

* Finish updating links for retitled articles

* Remove sponsors topic

* Add sponsors to index.md

* Create folder for map topic for sponsors

* Add integrating folder/category with super basic graphql article

* Add get started category/folder

* Update index.md

* Add articles to category folders and update all the links and check it out locally 🙏

* Fix space

* Fix set of broken links

* Update link in resuable

* Add the quickstart

* Add USD

* Add matching donations caveat

* fix ci failures

* Bringing back `-ing` to Sponsors titles, categories, & links (#18817)

* Bringing back -ing

* The one that got away

* Apply @ethanpalm's input

Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>

Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>

* Apply product input

* Apply suggestions from code review

Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>

* Apply @emilyistoofunky's input

* Sponsors landing page design (#18774)

* Add sponsors to index.md as a top-level product

* Revamp the GitHub Sponsors landing page with article links

* remove merge tags

* add community section

* add sponsor descriptions

* swap repo for user

* remove prefix tag

* lint

* remove topic fix landing page

* Tweak articles on landing page

* Drop "account"

* Add quickstart

* Bigger, brighter, and shorter intro

* Possibly too long of an intro?

* fix quickstart link

* add guides page

* fix error for mismatch between title and filename

* use link over guid

* remove HTML from layout file (aligns to #18811)

* use variable for section title

* Add intro

* Remove beta

* Apply suggestions from code review

Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>

* Apply suggestions from code review

* Integrate article changes and remove old TOC

* Fixing the commented out text to match other landing pages 👓

* Apply suggestions from code review

Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>

* Switch up order of sidebar categories

* Add new text to landing page button

* Add topics and types

* Add the underscore

* Add some more topics

* fix `type:`

* Fix topics

* plural ftw

* hide learning paths when not defined

* lint

* Add quickstart to guides page

* remove unused sidebar links

* hide subsection title when learning tracks are not present

* Apply @emilyistoofunky's topics input

* Remove duplicated topics

* Events ftw

* typo

* Remove obsolete topics for now

* add some temporary duplicate topics

* Resolve Linter error

Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>

Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>
2021-04-21 11:48:19 -07:00
Sarah Schneider
5f67b5d204 use cookies to track image visibility preference 2021-04-16 18:44:34 -04:00
Sarah Schneider
098dda53e8 make it easier to swap out placeholder icon 2021-04-16 15:25:56 -04:00
Sarah Schneider
da2c13cc5c use .blur() to remove focus from image buttons after click 2021-04-16 15:14:54 -04:00
Sarah Schneider
6a708b9a49 wrap images in a button so they can be individually toggled 2021-04-16 14:55:16 -04:00
Sarah Schneider
eccbe33f64 insert a placeholder img 2021-04-16 12:17:34 -04:00
Sarah Schneider
fc8b7152ef per @janiceilene: make the button outlined for the default and solid once pressed to help differentiate the two modes 2021-04-16 10:12:47 -04:00
Sarah Schneider
0dde2aeed7 take the button text toggle out of the for loop, and hide the button if no images 2021-04-16 09:56:51 -04:00
Sarah Schneider
f860ff34e2 add an image toggler button 2021-04-13 15:54:39 -04:00
Kevin Heis
46c16001c3 Upgrade Primer with translation shim for trashcan icon (#18735)
* Revert "Revert "Upgrade Primer CSS to 16 (#18713)""

This reverts commit c01d3e302e.

* Add a hack to handle trashcan icon in translated content
2021-04-13 18:38:04 +00:00
Mike Surowiec
c01d3e302e Revert "Upgrade Primer CSS to 16 (#18713)"
This reverts commit 49377f9096.
2021-04-13 09:19:28 -07:00
Kevin Heis
49377f9096 Upgrade Primer CSS to 16 (#18713)
* Upgrade primer to 16

* Upgrade colors in scss

* Get SCSS to build

* Initial dark mode support

* trashcan -> trash

* More specific search browser test

* Fix link color on homepage

* Update overrides.scss

* Upgrade some colors to primer variables

* Hide dark mode support for now

* Apply suggestions from code review

* Update overrides.scss
2021-04-13 16:00:46 +00:00
Kevin Heis
938639b2af Merge branch 'main' into graphql-explorer-query-params 2021-03-25 09:39:06 -07:00
Kevin Heis
4dbf2c527a Update display-platform-specific-content.js 2021-03-22 13:19:15 -07:00
Octomerger Bot
0c8bf6f64e Branch was updated using the 'autoupdate branch' Actions workflow. 2021-03-18 07:03:19 +10:00
Tyler True
abee1fcf49 Add ChromeOS support in defaultPlatform frontmatter (#4102)
* Add ChromeOS support

Adds CrOS to defaultPlatform frontmatter, as Linux.

* Update schema-event.js

* Update schema-event.js

Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2021-03-17 20:42:28 +00:00
Rachael Sewell
02ee72fa25 add topics attribute to search (#18212) 2021-03-17 13:11:29 -07:00
Sarah Schneider
13d8fe66ab well process.env is just not a thing in frontend javascripts 2021-03-04 13:53:06 -05:00
Sarah Schneider
7d0c8f0eff special exception to search handling on Explorer page 2021-02-26 09:30:19 -05:00
Sarah Schneider
2a7586221a use postMessage to send query params in URL as Explorer query 2021-02-26 09:29:51 -05:00
Kevin Heis
3ea7737a9b Update scroll-up.js 2021-02-23 08:55:01 -08:00
Kevin Heis
bae890e9b3 Update scroll-up.js 2021-02-23 08:51:46 -08:00
Kevin Heis
8b6e1bed8b Merge branch 'main' into add-button-for-scrolling-to-top 2021-02-22 14:40:16 -08:00
Kevin Heis
bcd91a04c6 End survey stars AB test (#17907)
Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com>
2021-02-22 18:27:57 +00:00
Kevin Heis
46ccfc5d93 Run AB test on survey stars (#17861)
* Run AB test on survey stars

* Update browser.js

* Use text stars instead of primer ones

* Update experiment.js
2021-02-18 16:29:17 +00:00
Kevin Heis
626bfa5918 Move the one performance metric in page to exit to avoid join (#17784) 2021-02-11 16:28:07 +00:00
kazuhitonakayama
92163877c1 fix conflict 2021-02-11 18:56:41 +09:00
Kevin Heis
a3ad549e39 Block a few more things in AIRGAP (#17657)
* Block a few more things in AIRGAP

* Update middleware/context.js

Co-authored-by: Vanessa Yuen <6842965+vanessayuenn@users.noreply.github.com>

* Update product-landing.html

Co-authored-by: Vanessa Yuen <6842965+vanessayuenn@users.noreply.github.com>
2021-02-09 23:07:23 +00:00