* 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
* Move article from github directory as a top-level product
* Update article titles
* Remove old -ing article titles
* Use older format for this PR
* Finish updating links for retitled articles
* Remove sponsors topic
* Add sponsors to index.md
* Create folder for map topic for sponsors
* Add integrating folder/category with super basic graphql article
* Add get started category/folder
* Update index.md
* Add articles to category folders and update all the links and check it out locally 🙏
* Fix space
* Fix set of broken links
* Update link in resuable
* Add the quickstart
* Add USD
* Add matching donations caveat
* fix ci failures
* Bringing back `-ing` to Sponsors titles, categories, & links (#18817)
* Bringing back -ing
* The one that got away
* Apply @ethanpalm's input
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
* Apply product input
* Apply suggestions from code review
Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>
* Apply @emilyistoofunky's input
* Sponsors landing page design (#18774)
* Add sponsors to index.md as a top-level product
* Revamp the GitHub Sponsors landing page with article links
* remove merge tags
* add community section
* add sponsor descriptions
* swap repo for user
* remove prefix tag
* lint
* remove topic fix landing page
* Tweak articles on landing page
* Drop "account"
* Add quickstart
* Bigger, brighter, and shorter intro
* Possibly too long of an intro?
* fix quickstart link
* add guides page
* fix error for mismatch between title and filename
* use link over guid
* remove HTML from layout file (aligns to #18811)
* use variable for section title
* Add intro
* Remove beta
* Apply suggestions from code review
Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>
* Apply suggestions from code review
* Integrate article changes and remove old TOC
* Fixing the commented out text to match other landing pages 👓
* Apply suggestions from code review
Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>
* Switch up order of sidebar categories
* Add new text to landing page button
* Add topics and types
* Add the underscore
* Add some more topics
* fix `type:`
* Fix topics
* plural ftw
* hide learning paths when not defined
* lint
* Add quickstart to guides page
* remove unused sidebar links
* hide subsection title when learning tracks are not present
* Apply @emilyistoofunky's topics input
* Remove duplicated topics
* Events ftw
* typo
* Remove obsolete topics for now
* add some temporary duplicate topics
* Resolve Linter error
Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>