1
0
mirror of synced 2025-12-23 11:54:18 -05:00
Commit Graph

271 Commits

Author SHA1 Message Date
Grace Park
41c7f58437 Accessibility: Nesting headingLevel 3 mini tocs (#23663)
* nesting headingLevel 3 mini tocs

* fix tests

* Update components/article/ArticlePage.tsx

Co-authored-by: Robert Sese <robert.sese@gmail.com>

* run prettier

Co-authored-by: Robert Sese <robert.sese@gmail.com>
2021-12-14 04:29:09 +00:00
Kevin Heis
821c1e693b Release note sticky fixes (#23643) 2021-12-13 18:23:30 +00:00
Grace Park
cb4e962ce8 fixing styling of toc pages (#23583) 2021-12-13 18:05:02 +00:00
Grace Park
e0c31e09e7 update padding bottom (#23580)
Co-authored-by: docubot <67483024+docubot@users.noreply.github.com>
2021-12-13 09:58:53 -08:00
Grace Park
3ce46b9172 move custom tool tip to remain permanent next to scroll to top button (#23551) 2021-12-13 17:40:48 +00:00
Peter Bengtsson
815f9d40c3 only link all enterprise versions if any is enterprise version (#23640) 2021-12-13 17:19:15 +00:00
Peter Bengtsson
9d59f7dc8b Lack of unique React keys (#23573) 2021-12-11 03:32:45 +00:00
Grace Park
70262789ec make clear list structure in footer for accessibility (#23549) 2021-12-09 20:31:22 +00:00
Robert Sese
4ce6dd2840 More misc a11y bits (#23542)
* List-ify guide labels

* Use aria-expanded with 🍔 menu
2021-12-09 19:20:04 +00:00
Grace Park
078fdc9a71 Remove bumplink symbol (#23539)
* run prettier

* removing space

* run prettier again
2021-12-09 18:41:35 +00:00
Grace Park
f19223503a Update Search Version Button to Dropdown (#23465)
* adding to view

* updating the portal location

* add new line

* updating font styling to class

* Update components/Search.tsx

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

* Update components/Search.module.scss

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

* update ItemInput

* using router.replace and import updates

* Update components/Search.tsx

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

* run prettier

* Update components/Search.tsx

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

Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
2021-12-09 17:56:24 +00:00
Kevin Heis
86b5a52b3e Query string abuse causing 5xxs (#23501) 2021-12-08 21:05:32 +00:00
Robert Sese
9dbc44100c Misc accessibility bits (#23495)
* Fix and make article date format consistent

* Add aria-label to repo icon

* Remove unnecessary title attribute
2021-12-08 19:01:40 +00:00
Peter Bengtsson
7f6f20a73f run prettier on all code in CI (#23482)
* run prettier on all code in CI

* rename

* test .tsx too

* ignore more

* prettier the stragglers

* minimal permission
2021-12-08 16:11:52 +00:00
Matt Pollard
b3e1ff4e89 Update documentation for GitHub AE's December 2021 release (#23405) 2021-12-07 10:36:37 +01:00
Peter Bengtsson
046de169fd fix TypeScript violation with Overlay in @primer/components@32.1.0 (#23358)
Part of #1311
2021-12-03 19:43:12 +00:00
Grace Park
8931793024 updating table-of-contents pages with actionlist (#23338) 2021-12-02 12:50:04 -08:00
Robert Sese
9d79148aef ActionList for LearningTracks (#23335)
* ActionList for LearningTracks

* Try to resolve TS error
2021-12-02 19:59:01 +00:00
Grace Park
4ff5167e51 Updating name: sublanding to guides and using DropdownMenu for type/topics filter (#23290)
* updating sublanding to guides page and using DropdownMenu primer component

* fix linting error

* remove unnecessary import

* updating translation files

* move data-testid

* trying to fix test

* fix browser tests

* Update content/README.md

Co-authored-by: Francis <15894826+francisfuzz@users.noreply.github.com>

Co-authored-by: Francis <15894826+francisfuzz@users.noreply.github.com>
2021-12-02 18:43:33 +00:00
Peter Bengtsson
93a11d50f3 prettier release date on enterprise release logs (#23288)
Part of #1291
2021-12-01 23:06:33 +00:00
Peter Bengtsson
d98af05017 unbreak React unique key prop warning (#23279) 2021-12-01 22:39:07 +00:00
Robert Sese
37b311dd8f Actionlist-ify ProductArticleList (#23280)
* WIP: ActionList ProductArticleList

* remove mb

* Put article count in link

* Full width links

* remove indent

* fixing link space for mini tocs

Co-authored-by: Grace Park <gracepark@github.com>
2021-12-01 21:49:52 +00:00
Robert Sese
b67bd854c4 Override border-radius (#23271) 2021-12-01 11:00:48 -06:00
Robert Sese
ae22e18a9a Use ActionList for ArticleList (#23252)
* Use ActionList under the hood for ArticleList

* Update components/landing/ArticleList.tsx
2021-12-01 00:16:03 +00:00
Grace Park
29f8e80e71 HomePage Component Updates (#23251)
* separaet out into homepage components

* remove unnecessary translation

* update component names
2021-12-01 00:08:49 +00:00
Grace Park
3ca4b73bc4 update to bold instead of yellow highlighting (#23244) 2021-11-30 22:02:30 +00:00
Mike Surowiec
39cdb0dce6 fix: tool picker update content on currentTool change (#23216) 2021-11-30 17:07:39 +00:00
Kevin Heis
e3b2e820fd React tool picker (#23004)
* Working on tool picker

* Start on react version of tool picker

* Update ToolPicker.tsx

* Update tool-switcher.html

* Get it working

* Update browser.js

* Update browser.js

* Update ToolPicker.tsx
2021-11-29 23:04:06 +00:00
Amy Burns
c3bc538cd4 Add 2 pane layout to "Setting up Codespaces" docs and update IA (#21700) 2021-11-24 11:41:30 -08:00
Robert Sese
74c94121be Use Primer ActionList for sidebar (#22885)
* Initial move to ActionLists nav, handle terminal links

* ActionList-ify map topic items

* Some 🎨

* ActionList-ify homepage sidebar

* More 🎨

* Resolve test failures (and 'better' markup?)

* Properties don't exist on ActionList

* Use ul + li elements for ActionLists

* Workaround for TS error with 'as='

Co-authored-by: Octomerger Bot <63058869+Octomerger@users.noreply.github.com>
2021-11-23 18:33:54 +00:00
Grace Park
a3e67be13a design system request (#23071) 2021-11-23 17:50:26 +00:00
ahdbilal
487c56cb49 update actions docs with setup-python caching (#22990)
* updated the python testing doc with caching

* updated docs with setup-actions caching for node and python

* updaed content with setup-actions cachine

* fix links

* Update content/actions/advanced-guides/caching-dependencies-to-speed-up-workflows.md

Co-authored-by: MaksimZhukov <46996400+MaksimZhukov@users.noreply.github.com>

* Update components/playground/content/building-and-testing/python.tsx

* Update components/playground/content/building-and-testing/python.tsx

* Update content/actions/advanced-guides/caching-dependencies-to-speed-up-workflows.md

* Update content/actions/advanced-guides/caching-dependencies-to-speed-up-workflows.md

* Update content/actions/advanced-guides/caching-dependencies-to-speed-up-workflows.md

* Update content/actions/automating-builds-and-tests/building-and-testing-python.md

* Update content/actions/automating-builds-and-tests/building-and-testing-python.md

Co-authored-by: MaksimZhukov <46996400+MaksimZhukov@users.noreply.github.com>
Co-authored-by: hubwriter <hubwriter@github.com>
2021-11-23 17:26:03 +00:00
Mike Surowiec
0c3fa5f80b fix: use components/Link in Search.tsx (#23019) 2021-11-22 15:08:02 +00:00
Kevin Heis
58fbe1edf5 Move px to rem in scss files (#23009)
Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>
2021-11-19 21:06:45 +00:00
Grace Park
33c5ce2d36 Updating images styling and accessibility for minitocitems (#22976)
* updating images styling on design systems feedback

* maintaining ul li structure for accessiblity

Co-authored-by: Octomerger Bot <63058869+Octomerger@users.noreply.github.com>
2021-11-19 00:56:51 +00:00
Kevin Heis
f17c7a2598 Update search to use rem units where possible (#22970)
* Update search to use rem units where possible

* Use more primer classes

* Move more search to primer classes
2021-11-18 20:43:31 +00:00
Kevin Heis
308aa9cb0c Fix heading sizes (#22968)
* Align heading sizes with Primer

* Make the headings on other pages match normal pages
2021-11-18 19:45:13 +00:00
Grace Park
f5008425ba Updating ordered lists numbering border (#22972)
* updating ordered lists numbering border

* moving 8px away
2021-11-18 11:12:55 -08:00
Grace Park
75577663e9 bringing back i - thanks rsese (#22969) 2021-11-18 17:41:20 +00:00
Grace Park
5a809be3dc MiniTocItems: rerender tocs and fix bugs (#22948)
* add key to force rerender tocs

* move up platform specific to properly display none and go back to using contents

* remove i
2021-11-17 22:29:07 -08:00
Robert Sese
98d87bb4f2 Make list key unique (#22946) 2021-11-17 23:30:21 -06:00
Grace Park
130016bd0a Fix html in tocs (#22936)
* fix html in tocs

* render html
2021-11-17 17:17:10 -08:00
Grace Park
0afdf66a08 Primer Update: Table of Contents (#22933)
* update to ActionList

* fix nested mini tocs

* adding key

* remove li and fix tests

* update font size to 14px

* remove border radius
2021-11-18 00:27:12 +00:00
Peter Bengtsson
d605556a80 encode 'query' in 'redirectQuery' (#22913) 2021-11-17 23:08:46 +00:00
Peter Bengtsson
eb4a4741ad refactory getting 'query' with a hook (#22879) 2021-11-17 15:02:50 +00:00
Grace Park
56521881a2 Adding scroll to header search results (#22874)
* adding scroll to header search results

* move search-result

* search-result data test id addition

* forgot s
2021-11-16 21:32:45 +00:00
Kevin Heis
329a8c664e Create a shared picker component (#22836)
* Unified picker component

* Add picker to storybook

* TS fixes

* Simplify "mobile" header spacing

* Fix a few testid

* Update Picker.tsx

* Update Picker.tsx

* Update Picker.tsx

* Fix unit test

* Fix rendering tests
2021-11-16 19:10:28 +00:00
Peter Bengtsson
07a5edd2ab rewrite search state from useRouter (take 2) (#22833)
* rewrite search state from useRouter (take 2)

* fix the problem with isHeaderSearch

* cleaning ups

* updating mobile search results ui (#22841)

* remove useCallback

Co-authored-by: Grace Park <gracepark@github.com>
2021-11-16 18:55:48 +00:00
Rachael Sewell
e919d5085d change version within search result window (#22702) 2021-11-12 22:01:08 +00:00
Grace Park
5ac9d72005 styling updates and get all results (#22809) 2021-11-12 21:47:40 +00:00