1
0
mirror of synced 2026-01-01 09:04:46 -05:00
Commit Graph

837 Commits

Author SHA1 Message Date
Grace Park
822fe2926b Megabranch: Upgrade primer/react (#28458)
* upgrade primer/react

* upgrade

* using deprecated

* remove lib"

* Upgrade primer/react: Upgrade Label (#28502)

update Label to primer/react 35.2.2

* fix merge conflicts

* primer/react v35: update ActionList (#28467)

* Update to v35 ActionList for LearningTrack

* Update to v35 ActionList for ArticleList

* Update to v35 ActionList for ProductArticleList

* Update to v35 ActionList for TableOfContents

* Update to v35 ActionList for ProductCollapsibleSection

* Update to v35 ActionList for RestCollapsibleSection

* Update to v35 ActionList for SidebarHomepage

* Update to v35 ActionList for MiniTocs

* Update to v35 ActionList for Search

* Extra div for rendering test

* One less div for rendering test

* All the style updates for v35 ActionList

* Works without setting as an li which is already the default (didn't before for some reason)

* Use deprecated ItemInput for now

* Picker update for primer/react (#28485)

* update picker

* inline picker for mobile

* set width to auto

* Update components/ui/Picker/Picker.tsx

Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>

* update

* Update Picker.tsx

* update onselect

* checking language code

* move language cookie setting to language picker

Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>

* Resolve package merge conflicts

* fresh npm install

* Primer update UnderlineNav (#28582)

* update underlinenav for primer/react update

* update tests

* update switches test

* update one last label

* update header test"

* remove href in underlinenav

* update rendering tests

* update cursor

* primer/react v35: update DropDownMenu to ActionMenu (#28576)

* Update to v35 ActionMenu for ArticleCards

* Update to v35 ActionMenu for Search

* Set button to inline-block

* Put the props on the overlay

* Update test for ActionMenu markup

* update package

* update package lock

* primer/react v35: CodeLanguagePicker update from SelectMenu to ActionMenu (#28625)

* Use octicon for menu down arrow

* Update to v35 ActionMenu for CodeLanguagePicker

* update to SubNav

Co-authored-by: Grace Park <gracepark@github.com>

* update package-lock

Co-authored-by: Robert Sese <734194+rsese@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2022-07-11 11:51:18 -07:00
Peter Bengtsson
ef5406ae9a rest reference redirects with free-pro-team@latest (#28838) 2022-06-29 20:42:58 +00:00
Peter Bengtsson
ee1f20f4fb jest 28.1.1 (#28797)
* got 28.1.1

* wip

* force upgrade nth-check

* legacyFakeTimers
2022-06-29 11:55:03 +00:00
Sarah Schneider
024275bfed update prerendered graphql object tests so they pass 2022-06-23 12:27:49 -04:00
Kevin Heis
f948c81038 Upgrade got (#28617)
* Upgrade got

* Update e2etest.js

* Skip following redirects on redirect tests

* Update deprecated-enterprise-versions.js
2022-06-21 16:23:51 +00:00
Matt Pollard
965e27ca3a Merge branch 'main' into copilot-ga-megabranch 2022-06-20 09:43:14 +02:00
Kevin Heis
03e2cf22e6 Upgrade cheerio (#28614) 2022-06-17 16:34:56 +00:00
Sarita Iyer
bbf856c92a Merge branch 'main' into ske-dep-api 2022-06-17 11:50:10 -04:00
Matt Pollard
8297c57ac3 Add article with conceptual overview of GitHub Enterprise Server (#28221) 2022-06-17 09:25:36 +00:00
Jules
14b008c99b Merge branch 'main' into copilot-ga-megabranch 2022-06-17 09:56:12 +02:00
Sarita Iyer
b672b23df1 Merge branch 'main' into ske-dep-api 2022-06-16 15:40:07 -04:00
Peter Bengtsson
a39614fdcf remove supertest dependency (#28572)
* remove supertest dependency

* remove bad test
2022-06-16 15:56:41 +00:00
Peter Bengtsson
029291195c stop using supertest to unit test archived enterprise static assets (#28528)
* stop using supertest to unit test archived enterprise static assets

* feedbacked
2022-06-16 11:30:02 -04:00
Peter Bengtsson
d4692b208e put the full plan name in the page titles (#28450)
* put the full plan name in the page titles

* fix tests
2022-06-16 13:29:23 +00:00
Jules
7243bc6bc3 Merge branch 'copilot-ga-megabranch' into getting-started-articles 2022-06-16 08:15:50 +02:00
Jules
1e806577de Merge branch 'main' into copilot-ga-megabranch 2022-06-16 07:50:24 +02:00
Peter Bengtsson
2f37efd633 minimize content in miniToc prop (#28522)
* make miniToc pure data and no html strings

* fixups

* minimize content in miniToc prop

* minimize content in miniToc prop

* some types refactoring

* fix tests
2022-06-15 21:04:54 +00:00
Jules Parker
bd577924ee Merge branch 'copilot-ga-megabranch' into getting-started-articles 2022-06-13 11:01:11 +02:00
Jules
c8951c2e15 Merge branch 'main' into copilot-ga-megabranch 2022-06-13 08:45:47 +02:00
Jules Parker
30ef36eebf Merge branch 'copilot-ga-megabranch' into getting-started-articles 2022-06-10 09:51:00 +02:00
Sarah Edwards
f85983a6cf Merge branch 'main' into ske-dep-api 2022-06-09 13:15:31 -07:00
Robert Sese
61a777f18d Update rendering tests to use different products 2022-06-08 12:05:45 -05:00
Jules Parker
57cf72a7c7 Merge branch 'copilot-ga-megabranch' into getting-started-articles 2022-06-08 19:05:43 +02:00
Robert Sese
beefde480e Use issues product for homepage redirect tests 2022-06-08 11:37:44 -05:00
Robert Sese
fd521e25e4 Use repositories product for breadcrumbs tests 2022-06-08 11:18:18 -05:00
Sarah Schneider
333a08804a we do not need this test anymore 2022-06-08 09:19:57 -04:00
Matt Pollard
f117de3e4d Fix test 2022-06-08 14:47:20 +02:00
Matt Pollard
0984f7dae6 Fix tests 2022-06-08 14:47:15 +02:00
Matt Pollard
3e6bac801e Update test to use different product 2022-06-08 14:44:14 +02:00
Matt Pollard
e4877b8517 Fix two tests for deleted product 2022-06-08 14:44:13 +02:00
Matt Pollard
e2be0f253c Remove unnecessary tests 2022-06-08 14:44:12 +02:00
Matt Pollard
eb19b9bfe8 Fix test 2022-06-08 14:39:26 +02:00
Matt Pollard
fcfedf6e47 Use different repository name; exclude 2022-06-08 14:38:00 +02:00
Matt Pollard
2625bed686 Fix tests 2022-06-08 14:26:19 +02:00
Matt Pollard
534eb5ba3d Update test to use different product 2022-06-08 14:09:52 +02:00
Matt Pollard
4adcfe638a Fix two tests for deleted product 2022-06-08 14:07:32 +02:00
Matt Pollard
cb420156ad Remove unnecessary tests 2022-06-08 14:03:50 +02:00
Sarah Schneider
61123762d3 add the two new props to the versions schema 2022-06-07 18:48:20 -04:00
Sarah Schneider
56c1531708 make the pattern a string in all-versions so it can be serialized, and regex-ify it during implementation 2022-06-07 18:38:50 -04:00
Sarah Schneider
f3bd355941 fix test fixture 2022-06-07 16:43:00 -04:00
Sarah Schneider
ebbc664578 add a new test to validate versions FM in fixture 2022-06-07 16:14:29 -04:00
Sarah Schneider
092de5186e improve the validation 2022-06-07 16:14:03 -04:00
Sarah Schneider
2a03cad6dc remove redundant test 2022-06-07 16:13:38 -04:00
Sarah Schneider
cc3e827239 update tests to support ifversion for FBV instead of if 2022-06-06 18:11:45 -04:00
Sarah Schneider
1b016e26e8 extract versioning linters into a separate file 2022-06-06 10:54:14 -04:00
Peter Bengtsson
0504d968c6 stop mocking hydro calls with supertest (#28179)
* stop mocking hydro calls with supertest

* wip

* fix the tests

* nock.cleanAll()
2022-06-03 15:17:12 +00:00
Peter Bengtsson
d014f36222 fix external redirects (#28063)
* fix external redirects

* oops

* feedbacked
2022-06-02 02:06:29 +00:00
Mike Surowiec
b4608a86d8 fix: remove usage of readFileAsync (#28053)
* fix: remove usage of readFileAsync

* fix: use same import style

* fix: update tests

Co-authored-by: Peter Bengtsson <mail@peterbe.com>
2022-06-01 14:49:30 +00:00
Zach Steindler
33423ee77e Add example content around connecting from Actions to a private network 2022-05-27 12:54:40 +00:00
Peter Bengtsson
107a40ebb3 move json versioning rendering tests to tests/rendering/ (#28017) 2022-05-26 17:13:34 +00:00