* removing search from home page and adding to header
* remove homepage search
* adding description
* update to f5
* remove homepage search test
* removing homepage search rendering test
* showing preview of larger font
* update wording at breakpoint
* update to short description everywhere
* Update components/homepage/HomePageHero.tsx
Co-authored-by: Joe Oak <41307427+joeoak@users.noreply.github.com>
* remove unnecessary stylesheet
* Update data/ui.yml
Co-authored-by: Janice <janiceilene@github.com>
Co-authored-by: Joe Oak <41307427+joeoak@users.noreply.github.com>
Co-authored-by: Janice <janiceilene@github.com>
* Add error response variant
* Add response table styles
* Already filtered
* Don't need these styles
* Fallback to http code status messsage
* Add translation strings
* Proper heading level
Co-authored-by: Grace Park <gracepark@github.com>
* Match table styling with params table
* Typing unnecessary
Co-authored-by: Peter Bengtsson <mail@peterbe.com>
* Typing unnecessary
Co-authored-by: Peter Bengtsson <mail@peterbe.com>
* Work with the status code as a number
* Move error responses to operation end
* Make RestResponseTable a standalone component
Co-authored-by: Grace Park <gracepark@github.com>
Co-authored-by: Peter Bengtsson <mail@peterbe.com>
* reactify rest pages
* add space
* speed up pages by only sending applicable rest operations
* reactify rest operation part 1
* remove restpage
* sync translations directory with origin/main
* remove translation file
* clean up
* fix openapi tests
* fix tests
* remove unused variables
* add apps available page component (#25086)
* simplify getRest module
* add code sample component
* revert translation files
* revert translation files
* update tests
* add rest response and notes
* refactor and create codeblock and add styling changes from design systems
* nested all returned jsx into one single fragment
* update style name
* remove unnecessary div
* update title and add response max height and overflow
* refactor entry to RestOperation component
* cleanup types and unique keys
* update decorated files
* Rest page data (#25346)
* update endpoints for apps layout
* remove null type
* Update components/rest/CodeBlock.tsx
Co-authored-by: Peter Bengtsson <mail@peterbe.com>
* updating renderTableRows
* cannot set p tag - should be div
* Ashs new feedback on the code blocks
* remove rest html pages
* Removing and updating decorated files (#25484)
* removing and updating decorated files
* bring back default tool
* fix tests
* add types
* fix styling in nested tables
* semantic changes
* adding unique key index
* remove unnecessary styling
* update styling for categories
* place app file in own directory
* update types
* update function in code samples
* fix some bad conflict resolution
* add rest banner back to rest pages
* Move all rest Markdown to data directory (#25598)
* Update components/rest/RestNotes.tsx
Co-authored-by: Peter Bengtsson <mail@peterbe.com>
* adding translation (#25673)
* revert change to Dockerfile
* refactor parameter tables
* move toc to server side
* adding missing files
* updating spacing
* update body table
* Update components/rest/BodyParametersRows.tsx
Co-authored-by: Peter Bengtsson <mail@peterbe.com>
* adding Fragment
* remove key from tr since it is on Fragment
* move around imports
* Update components/rest/BodyParametersRows.tsx
Co-authored-by: Peter Bengtsson <mail@peterbe.com>
* Update components/rest/BodyParametersRows.tsx
Co-authored-by: Peter Bengtsson <mail@peterbe.com>
* Update components/rest/ParameterRows.tsx
Co-authored-by: Peter Bengtsson <mail@peterbe.com>
* Update components/rest/ParameterRows.tsx
Co-authored-by: Peter Bengtsson <mail@peterbe.com>
* Update components/rest/BodyParametersRows.tsx
Co-authored-by: Peter Bengtsson <mail@peterbe.com>
* Update components/rest/BodyParametersRows.tsx
Co-authored-by: Peter Bengtsson <mail@peterbe.com>
* Update components/rest/BodyParametersRows.tsx
Co-authored-by: Peter Bengtsson <mail@peterbe.com>
* small changes and adding anchor link to table instead of empty div
* adding name type and description to translation
* adding more translation
* refactor and break out ChildBodyParameterRows
* fix table css
* check
* change the rest parameters table to fixed to show all description
* update name to match
* run prettier
* Update components/rest/RestCodeSamples.tsx
Co-authored-by: Peter Bengtsson <mail@peterbe.com>
* Update components/rest/ChildBodyParametersRows.tsx
Co-authored-by: Peter Bengtsson <mail@peterbe.com>
* Update components/rest/ChildBodyParametersRows.tsx
Co-authored-by: Peter Bengtsson <mail@peterbe.com>
* Update components/rest/BodyParametersRows.tsx
Co-authored-by: Peter Bengtsson <mail@peterbe.com>
* updating CHildBodyParameterRows
* run prettier
Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: Peter Bengtsson <mail@peterbe.com>
* Add link to 'about versions' in version picker
* Add translation string
* Match article short title
* Better text contrast
* Key names is 'docs_versions'
* 'About versions'
* Show version picker when only 1 version
Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
Co-authored-by: Laura Coursen <lecoursen@github.com>
* Match label with selection
* defaultText is a better default
Co-authored-by: Peter Bengtsson <peterbe@github.com>
* No longer used
* Also no longer used
* No longer used in the dropdown pickers
* Add translation strings for pickers
* Use translated strings in picker components
Co-authored-by: Peter Bengtsson <peterbe@github.com>
* Search on submit
* Should be a ul
* Fix broken link
* No search on change event
* Add translation strings
* Add role for the 0 results message
* Update test with new search behavior
* Make search input a controlled component
Co-authored-by: Peter Bengtsson <peterbe@github.com>
* Trim whitespace in search text
Co-authored-by: Peter Bengtsson <peterbe@github.com>
* Better variable names
Co-authored-by: Peter Bengtsson <peterbe@github.com>
* Update visible results count in useEffect
* Control the input's value with the typed state
Co-authored-by: Peter Bengtsson <peterbe@github.com>
* Inline the submit handler
Co-authored-by: Peter Bengtsson <peterbe@github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
* update to use heading markup
* updating to h3 for accessibility
* increase opactiy to meet 5.5:1 color contrast ratio
* update opacity to meet color contrast ratio
* update styling to match original but use heading markup
* remove aria-hidden for accessibility
* add h1 title search results and update scroll tip colors
* add number of matches
* remove no results since we are showing 0 results
* add overflow to fix border bottom on version search
* Update components/Search.tsx
Co-authored-by: Peter Bengtsson <peterbe@github.com>
* Update components/Search.tsx
Co-authored-by: Peter Bengtsson <peterbe@github.com>
* incorporating feedback and update padding
Co-authored-by: Peter Bengtsson <peterbe@github.com>
* Add new video properties frontmatter
* Handle video links in the middleware
* Video links don't have intros, authors, or full titles
* Make videos available from context
* Add default video heading
* Add basic tests for videos
* tmp videos test
* Remove stray test debugging
* more tmp videos testing
* Add videos test fixture
* Revert "more tmp videos testing"
This reverts commit 382946a5603ff217014797f77f37216bb8bb6c9c.
* Revert "tmp videos test"
This reverts commit 8767d0eaf08bd4ca04e2dacd12d476a2506c0367.
* Make guide filter accessible
Explain that the fields will filter a list.
Display a status message indicating the number of results found.
* update no guides found display, fix yaml issue
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>
* close Language and ArticleVersion pickers after click
* cleanup ArticleGridLayout due to VersionPicker changes
* fix tsc errors resulting from primer upgrade
* fix / update tests
* cleanup mobile pickers visual consistency
* use btn-sm on VersionPicker
* update translation and close on click for enterprise releases
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
* Update survey to use React/TS
* Working survey form in react land
* A little cleanup
* Update Search.tsx
* Update Survey.tsx
* Remove token field from schema entirely, just let it fail validation
* Update events.js
* Update survey.html
* use Link component
* Use enum for state
* Update old to match new