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

117 Commits

Author SHA1 Message Date
Kevin Heis
9bf3fc185a Create languages src directory (#41661) 2023-08-30 17:24:59 +00:00
Hector Alfaro
4f7c77a70d Configure eslint using a11y recommendations (#41274) 2023-08-23 17:05:22 +00:00
Grace Park
b73880853f Add return focus ref to rest sidebar (#41223) 2023-08-22 21:41:03 +00:00
Peter Bengtsson
345c252c47 Upgrade all @primer/ dependencies (#40851) 2023-08-16 17:32:56 +00:00
Kevin Heis
a99924640a Add link_container property to link events (#40413) 2023-08-09 15:17:54 +00:00
Grace Park
9884730d2c Keyboard fix header medium viewports (#40240) 2023-08-03 16:57:27 +00:00
Hector Alfaro
e32f8e7e76 Redesign mobile menu (#39762)
Co-authored-by: Grace Park <gracepark@github.com>
2023-08-02 16:47:16 +00:00
Kevin Heis
b9cbe21612 Migrate tools directory (#40094) 2023-08-01 16:22:43 +00:00
Grace Park
8f314178e7 Add aria-label to header (#39805) 2023-07-27 19:29:50 +00:00
Robert Sese
913703d877 a11y: increase breakpoint width where we hide/show sidebar (#39465)
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2023-07-26 20:01:03 +00:00
Peter Bengtsson
0251a4f1ce Ability to close your language banner (#39223) 2023-07-25 19:25:27 +00:00
Grace Park
fa24961270 Add role and aria-label to header element (#39382) 2023-07-20 20:46:55 +00:00
Grace Park
576cf5c345 Update spacing for header (#39059) 2023-07-14 16:13:58 +00:00
Peter Bengtsson
2ec905fc77 trailingCommas:all on prettier (#38888) 2023-07-11 11:44:52 +00:00
Peter Bengtsson
9041a57ae5 Refactor how currentProductTree works (#37808)
Co-authored-by: Grace Park <gracepark@github.com>
2023-07-10 19:26:10 +00:00
Peter Bengtsson
8216de8f87 Remove banner to say the translations is incomplete (#38634) 2023-06-28 11:55:00 +00:00
Kevin Heis
f7fbba9074 Set cookies consistently (#37819) 2023-06-14 18:20:59 +00:00
Peter Bengtsson
d92c098daa Stop using currentProductTree in Header component (#37737) 2023-06-12 18:14:26 +00:00
Kevin Heis
ab91bc6b43 Move more REST files into src (#37026)
Co-authored-by: Rachael Sewell <rachmari@github.com>
2023-05-11 17:17:57 +00:00
Steve Ward
8e1900b3f6 Remove Desktop update banner (#36945) 2023-05-09 12:36:22 +00:00
Kevin Heis
022c8b03e6 Add aria-label to external site icons (#36269) 2023-04-07 17:12:11 +00:00
Peter Bengtsson
b6b99c8d9a Remove some unnecessary imports (#36260) 2023-04-07 14:30:41 +00:00
Kevin Heis
babb4a11ad Underline links in deprecation banner (#36212) 2023-04-05 21:04:42 +00:00
Kevin Heis
68e29e17f6 Move search files to src (#35822)
Co-authored-by: Peter Bengtsson <peterbe@github.com>
2023-04-03 17:14:26 +00:00
Peter Bengtsson
9ffd1e365c Revert "let's not be dangerous 💥" (#35659) 2023-03-17 16:00:21 +00:00
Evan Bonsignori
b3c8147bf6 let's not be dangerous 💥 (#35635) 2023-03-16 20:26:18 +00:00
Grace Park
f15aaee17c Upgrade primer react and primer css to use TreeView (#35408) 2023-03-09 22:12:02 +00:00
Evan Bonsignori
3f9651fbdf react page translation audit fixes (#35071) 2023-03-01 07:28:26 +00:00
Robert Sese
e5370a5990 Feature Branch: Global Nav Phase 2 (#34359)
Co-authored-by: Grace Park <gracepark@github.com>
Co-authored-by: Joe Oak <41307427+joeoak@users.noreply.github.com>
2023-02-13 17:37:47 +00:00
Grace Park
302b3a0663 Fixing mobile search header (#34326) 2023-02-01 18:21:18 +00:00
Grace Park
6b375939f3 Remove aria-hidden for accessibility (#34350) 2023-02-01 18:04:16 +00:00
Grace Park
95c3e494fc Update margins in header (#34301) 2023-01-31 18:25:46 +00:00
Grace Park
ef2efb0636 Feature Branch: Global Nav Phase 1 (#33465)
Co-authored-by: Robert Sese <734194+rsese@users.noreply.github.com>
Co-authored-by: Joe Oak <41307427+joeoak@users.noreply.github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
2023-01-31 17:49:50 +00:00
Laura Coursen
2b1689b43e Add instructions for updating GitHub Desktop to resolve crash at launch (#34272)
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2023-01-30 18:06:42 +00:00
Peter Bengtsson
862172e8af only send the minimal language needed as prop (#32765)
Co-authored-by: Grace Park <gracepark@github.com>
2023-01-04 19:43:37 +00:00
Grace Park
baa53b778f Picker refactor (#33113)
Co-authored-by: Peter Bengtsson <peterbe@github.com>
2022-12-07 23:17:06 +00:00
Kevin Heis
6b1ac124d8 Update "preferredlang" to "user_language" (#33045) 2022-11-30 17:51:51 +00:00
Grace Park
e3f8f71c42 Rest api versioning redo (#33011)
Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: Sarah Edwards <skedwards88@github.com>
Co-authored-by: Grace Park <gracepark@Graces-MacBook-Pro-2.local>
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>
Co-authored-by: Sarah Schneider <sarahs@github.com>
2022-11-28 11:55:02 -08:00
Peter Bengtsson
dd120617ef no language drop-down on early-access docs (#32749) 2022-11-18 16:46:52 +00:00
Grace Park
0ed7777736 Bring back wip temporarily for the dark ship of fr, ru, ko, and de (#32539) 2022-11-11 00:25:50 +00:00
Peter Bengtsson
26291a6e52 remove pageVersionTitle from page context data (#32453) 2022-11-10 13:38:40 +00:00
Peter Bengtsson
cb97fb4db3 Search result widget expands the whole page down (#30101) 2022-08-19 12:24:09 -04:00
Peter Bengtsson
8765c628ff dedicated search results page (redux) (#29902)
* dedicated search results page (redux)

* Update SearchResults.tsx

* adding pagination

* fix pagination

* say something on NoQuery

* better Flash

* tidying link

* small fixes for results

* debug info

* l18n the meta info

* inDebugMode

* basic jest rendering of the skeleton page

* basic jest rendering test

* fix content tests

* better document title

* fix tests

* quote query in page title

* use home page sidebar

* something when nothing is found

* parseInt no longer needs the 10

* fix linting tests

* fix test

* prettier

* Update pages/search.tsx

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

Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
2022-08-19 13:36:55 +00:00
Kevin Heis
ca61b3465a Use color_mode for gating "sign up" button (#29901)
* Use color_mode for gating "sign up" button

* Update useHasAccount.ts

* Update useHasAccount.ts

* Update useHasAccount.ts
2022-08-12 18:18:58 +00:00
Peter Bengtsson
5084160024 correct language link in header notification (#29799) 2022-08-10 15:52:24 +00:00
Kevin Heis
101e7155c8 userLanguage in browser instead of XHR (#29782)
* userLanguage in browser instead of XHR

* refactors on pr 29782 (#29798)

Co-authored-by: Peter Bengtsson <peterbe@github.com>
2022-08-10 15:28:21 +00:00
Peter Bengtsson
a1e3866fa5 don't get available languages from session (#29715)
* don't get available languages from session

* update useSession

* one more fix
2022-08-08 11:13:27 -04:00
Kevin Heis
56aa9ea094 Move use session to its own hook file (#29641)
* Move use session to its own hook file

* Trying useSWR

* Try one hour html cache

* blah blah lint

* Update to include loading state

* Update components/hooks/useSession.ts

Co-authored-by: Peter Bengtsson <peterbe@github.com>

Co-authored-by: Peter Bengtsson <peterbe@github.com>
2022-08-05 14:47:10 +00:00
Evan Bonsignori
ec76c796bb fix: nav scroll on mobile 2022-07-29 16:06:15 -07:00
Kevin Heis
0886faddac Move language context to browser/session (#29433) 2022-07-28 18:50:46 +00:00