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

38 Commits

Author SHA1 Message Date
Meg Bird
754ceda517 [Universe] Discussions Public Beta (#16547)
* Update README

* create structure for discussions landing page

* is everything broken

* [Universe] Dark mode (#16545)

* Fix title

* Add Discussions product

* Correct title

* Correct title

* Move quickstart article

* Move quickstart back out into article

* Add and incorporate reusables

* Move information about search

* Draft conceptual information

* Draft best practices

* Draft further reading

* Draft product introduction

* Draft introduction

* Add author metadata

* Pluralize

* Fix typos

* Add introduction

* Bump Octicons

* Add some reusables

* Add images

* Revise article

* Draft article

* Change word

* 🔪 the gerund

* Add reusable

* Revise introduction

* Revise list

* Simplify

* Revise reusable

* Fix reusable; add context

* Rename reusable

* Deduplicate conceptual information

* 🔪 gerund

* Add link to further reading

* Move link and dispose of tip

* Delete space

* Add images

* Add conceptual section

* Add word

* Delete newline

* Revert package.json to state on main

* Tweak images

* Draft article

* Add product name

* Remove beta note

* Use product name for future-proofing

* Begin adding search information

* Fix copypasta

* little edits

* build out a bit more of the guides content

* Don't mention integrations for now

* Escape quote

* Remove authorship information for new defaults

* Finish drafting article

* Replace encoded character to match description

* Revise away inline link

* Accommodate 'for more information' in reusable

* Fix links

* Fix one last bit of copypasta

* Update indices

* Temporarily remove heading

* Update introduction

* Add new article 💀

* Remove commits from universe-2020-megabranch

* Add article 💀

* update with a very rough draft

* Add content about collaboration options to "About repositories"

* Add content about discussions to "About issues"

* Reorder content

* Add is:discussion query

* update with a few mmore fleshed out sections

* update with more structure

* Add reusable

* Add screenshots

* Clear way for actual procedural

* Discussions landing page "Communities" section (#16692)

* Make button Overview-able

* Make card filtering more extensible

* Guard for missing attributes

* Use arbitrary dataset attributes

* Add section with discussions-community-card

* Tweak show more button behavior

* Conditionally show "Show more"

* Add beta_product frontmatter/label

* Remove beta callout note

* Hide changelog with no items

* Finish importing community info

* Fix borked markup

* Omit search abr

* Two columns should actually be two columns

* Use org image, change card layout

* Add two more examples

* Fix title

* Escape quote

* Escape another quote

* Draft article

* Lower case

* Relocate conceptual information

* Update qualifier name

* Draft article

* Add conceptual information and links

* Remove duplicative section

* Fix copypasta

* Revise reusable

* Update link

* Add content on categories

* Lint the discussions YAML file

* Update introduction and permissions

* 

* Reusablize; fix link

* more planning content stuff

* Escape quotes

* Align prerequisites

* Soften

* Clean up prerequisites

* Fix titles; version; add screenshot

* Fix links

* Actually fix links

* Use better variable

* Mention pinning

* Update screenshots

* Add screenshot

* forgot to committ

* update with reusable

* add that screenshot

* beef up landing page a bit

* remove extra space

* messed that up

* fix hardcoded linkks weirdo

* fix tests

* update with permissions content

* update with placeholder

* filter out standalone category files from test

* update

* update @becca's  feedback

* update with more feedback

* so many updates

* fix links

* fix some more tests

* flesh some more things out

* update with further reading blah blah

* fix some things

* remove the gate-features label for beta ship only

* Add discussions video to product landing page (#16759)

* Add discussions video placeholder

* This might work maybe

* fix tests

* apply all of @becca's and @lecoursen's  feedback ❤️

* rename to fix test

* Revert "Add discussions video to product landing page (#16759)"

This reverts commit 2247e5d0881ca6b36cee421218e8341a7cc12ac7.

* update with test fix

Co-authored-by: Melanie Yarbrough <11952755+myarb@users.noreply.github.com>
Co-authored-by: Laura Coursen <lecoursen@github.com>
Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
Co-authored-by: Jason Etcovitch <jasonetco@github.com>
Co-authored-by: Sarah Schneider <sarahs@github.com>
2020-12-07 15:00:35 -07:00
Kevin Heis
11d8e415da Check repository references (#16680)
* Check repository references

* Remove "foundRepoNames" that I used to find all the unique names

* A little speed up with Set

* Ignore a few files

* Remove remaining references

* Update README.md
2020-12-03 16:41:03 +00:00
Kevin Heis
685e7a3655 Remove unsafe eval (#16704)
* Remove unsafe eval

* Actually, we're not using this anyways

* Reset package-lock, I have no idea why this keeps changing

* Update csp.js

* Update server.js
2020-12-02 16:19:14 +00:00
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