Граф коммитов

530 Коммитов

Автор SHA1 Сообщение Дата
Kevin Heis 823135417e
Fix the gray chin (#29625) 2022-08-04 10:23:50 -07:00
Rachael Sewell aa8890ade6
add LinkIconHeading component (#29258) 2022-08-04 00:00:34 +00:00
Rachael Sewell 3cbd7103da
Remove top-level categories on graphql queries page (#29592) 2022-08-03 20:01:38 +00:00
Rachael Sewell 467459af7c
Reactify graphql pages (#28547) 2022-08-03 10:51:21 -07:00
Evan Bonsignori 552269d949
Merge branch 'main' into ebonsignori/1918/wrong-scrolling-target 2022-08-02 17:39:21 -07:00
Kevin Heis f8d2395960
Remove theme from HTML (#29560)
* Remove theme from HTML

* update for linting error

* Fix for overriding default color modes

Co-authored-by: Grace Park <lugraciecy@gmail.com>
Co-authored-by: Grace Park <gracepark@github.com>
2022-08-02 17:06:54 -07:00
Evan Bonsignori cab266e803
Merge branch 'main' into ebonsignori/1918/wrong-scrolling-target 2022-07-29 18:10:41 -07:00
Evan Bonsignori ec76c796bb fix: nav scroll on mobile 2022-07-29 16:06:15 -07:00
Robert Sese 4a039244b3
Handle microsoft translation frontmatter properties (#28994)
* Add translation frontmatter to the schema

* Drop frontmatter in reusables.

Co-authored-by: Sarah Schneider <sarahs@github.com>

* Delete 'ms' property from data/ui.yml

Co-authored-by: Hector Alfaro <hectorsector@github.com>
Co-authored-by: Sarah Schneider <sarahs@github.com>
2022-07-29 19:40:11 +00:00
Kevin Heis 6dcfab6338
Move `waitForSession` into get-session so its with family (and we are… (#29450)
Move `waitForSession` into get-session so its with family (and we are less likely to forget about it)
2022-07-29 16:24:29 +00:00
Kevin Heis ccb9cd28e3
Fix lang dropdown (#29444)
* Let  be the caller, so events doesnt 403 on the first call

* Declare function

* Call all s so that the lang banner shows up consistently

* Update get-session.ts
2022-07-28 20:04:29 +00:00
Kevin Heis 9d0cb690a7
Let be the caller, so events doesnt 403 on the first call (#29441)
* Let  be the caller, so events doesnt 403 on the first call

* Declare function
2022-07-28 19:51:32 +00:00
Kevin Heis e46b4d155f
Call /api/session less (#29440) 2022-07-28 19:18:41 +00:00
Kevin Heis 0886faddac
Move language context to browser/session (#29433) 2022-07-28 18:50:46 +00:00
Evan Bonsignori 034fc18348
feat: contribution links to .md (#29411) 2022-07-28 17:16:27 +00:00
Evan Bonsignori febc27cb8f
fix: dark mode miniToc style overrides (#29364) 2022-07-27 22:18:39 +00:00
Kevin Heis 13093f421d
Change sign up button to browser-side only (#29400)
* Change sign up button to browser-side only

* Remove console.log

* Try removing components/context/DotComAuthenticatedContext.tsx, I don't think anything else is using it

* Revert "Try removing components/context/DotComAuthenticatedContext.tsx, I don't think anything else is using it"

This reverts commit 64d72c5dcb2efc67273a84fed371ff2ecc6c6f43.
2022-07-27 13:37:37 -07:00
Kevin Heis f79e1d2cb7
Fetch CSRF token over XHR (browser-side) (#29337)
* Client side csrf token grab

* Update get-session.ts

* Update get-session.ts

* Update get-session.ts

* Remove test refs to meta tag

* Update get-session.ts

* Update get-session.ts

* Update get-session.ts

* Update get-session.ts

* Fix some type issues

* Simplify api

* Update components/lib/get-session.ts

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

Co-authored-by: Rachael Sewell <rachmari@github.com>
2022-07-27 16:18:07 +00:00
Rachael Sewell e8acff555c
refactor the enabled for apps page component (#29253) 2022-07-26 18:14:50 +00:00
Rachael Sewell 425e052816
remove nested markdown component (#29250) 2022-07-26 18:08:05 +00:00
Kevin Heis bb3cb78dd1
Move events under api (#29298) 2022-07-26 18:00:58 +00:00
Peter Bengtsson b1226676e7
Picker sends just the selected value (#29191) 2022-07-19 18:06:55 -04:00
Peter Bengtsson 8d1f41633a
prevent whitespace-only searches (#29075) 2022-07-15 19:10:10 +00:00
Peter Bengtsson 08ffe45da7
add debounced search query string without anchor (#29073)
add debounched search query string without anchor
2022-07-15 18:41:14 +00:00
Peter Bengtsson a37f023f40
search body for setting-up-your-project-for-codespaces (#29038) 2022-07-14 16:40:45 +00:00
Peter Bengtsson 37d3bded04
simplify Table of Contents (#28833)
* simplify table-of-contents

* key

* fix rendering tests

* Not so much top margin

* Map topic ToC links are spans

* use p tag

* Back to span for the article title

* Update comment to match markup

* remove hack

* use h2 instead

* fix tests

* fix use of key

* use regular className instead

Co-authored-by: Robert Sese <734194+rsese@users.noreply.github.com>
2022-07-14 14:28:41 +00:00
Rachael Sewell 26e4dbc4bf
refactor rest context provider to be generic (#29021) 2022-07-14 14:09:38 +00:00
Peter Bengtsson 3a3cf7dd28
Home page has header accessibility order problem (#29022) 2022-07-14 13:55:06 +00:00
Grace Park 97212c5114
Fix reactions and search large rest pages (#29012)
* fix reactions and search large rest pages

* remove white space at the end
2022-07-13 21:08:21 +00:00
Hector Alfaro fbf03bc2e6
Merge branch 'main' into repo-sync 2022-07-13 15:58:40 -04:00
Robert Sese c9870c5418
Add 'About versions' link to search version dropdown (#29005)
* Add 'About versions' to search versions dropdown

* Fix search result list markup
2022-07-13 17:58:10 +00:00
Courtney Wilson 6071c0e5d9
Merge branch 'main' into patch-5 2022-07-12 19:53:26 -04:00
Kevin Heis 396c77f497
Update python.tsx 2022-07-12 07:57:12 -07:00
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
Paras dfd4ad7183
kbd shortcuts updated 2022-07-04 03:26:53 -07:00
Tim Rogers 037d6328b8
Recommend an `Accept` header without V3 in it when documenting our REST API operations (#28477)
* Recommend an `Accept` header for REST API requests which doesn't mention V3

In the documentation for every REST API, in the "Headers"
section, we say for the `Accept` header that:

> Setting to `application/vnd.github.v3+json` is recommended.

Putting the V3 bit in doesn't actually do anything - in fact,
a high proportion of API consumers don't do it - and this
recommendation is going to be confusing once we launch our
new API versioning. This recommends that people use
`application/vnd.gitrhub+json` instead.

We could just recommend `application/json` - I'd be in favour
of that! - but I'm trying to make this change as small as
possible.

* Update cURL and GitHub CLI code examples to use an `Accept` header without V3

Co-authored-by: Sarah Edwards <skedwards88@github.com>
2022-06-29 15:50:07 +00:00
Peter Bengtsson 67dc3ac7cd
remove need for styled-jsx construct (#28749)
* remove need for styled-jsx construct

* remove line that might not be needed
2022-06-28 11:53:35 +00:00
Peter Bengtsson 538566aebd
remove js-print button GAHE release notes (#28745) 2022-06-27 13:04:49 -04:00
Mike Surowiec 20d10a8b80
fix: guides layout cards collapsing (#28570) 2022-06-16 18:39:38 +00: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
Peter Bengtsson 071c95a91c
make miniToc pure data and no html strings (#28517)
* make miniToc pure data and no html strings

* fixups

* some types refactoring
2022-06-15 18:31:36 +00:00
Rachael Sewell e15a73aaf5
rest default values for false not rendering (#28451) 2022-06-13 17:01:21 +00:00
Rachael Sewell dd6e60242b
add token to curl examples (#28357) 2022-06-09 15:36:57 +00:00
Grace Park 3a88ec5f1f
Add curl -h authorization header to REST API Code Samples (#28332)
* add curl -h authorization header

* move to get-rest-code-samples
2022-06-08 20:06:48 +00:00
Robert Sese 748f2a1d0b
Fix header overlap on release notes pages (#28202)
Apply class so we get the scroll-margin-top
2022-06-03 18:32:27 +00:00
Robert Sese 2339bef120
Don't skip code term wrapping with single anchor child (#28175)
Wrap for single anchor child
2022-06-02 16:56:55 +00:00
Peter Bengtsson 8e27bbac9a
Remove contribution component from mobile temporarily (#27866)
* Remove contribution component from mobile temporarily

* Update components/page-footer/Contribution.tsx

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

* cleanup

Co-authored-by: Grace Park <gracepark@github.com>
2022-05-27 14:20:34 +00:00
Hector Alfaro 9b7d04edc6
Merge branch 'main' into hectorsector/consolidate-tool-picker 2022-05-25 10:04:58 -04:00
Peter Bengtsson 5b6852dffb
rest reference pages should have body and lead in sync search (#27961)
* rest reference pages should have body and lead in sync-search

* tests passing
2022-05-24 16:10:03 -04:00
Peter Bengtsson 070ac1b823
fix more shorthand eslint warnings (#27952) 2022-05-24 13:23:11 -04:00
Hector Alfaro 4b27213cc6
Merge branch 'main' into hectorsector/consolidate-tool-picker 2022-05-24 11:01:46 -04:00
Hector Alfaro 91778790d8
clean up and comment tool picker stuff 2022-05-24 10:40:46 -04:00
Matt Pollard ab1f8b0ee2
First responder bug fixes for 2022-05-20 (#27875) 2022-05-23 15:41:33 +00:00
Hector Alfaro 3b825a46d2
pull out tools from page.js and ToolPicker component 2022-05-23 10:48:49 -04:00
Peter Bengtsson 18504871b9
cache full rendering (#25424)
* cache full rendering

* still not working with gzip

* progress progress progress

* smaller

* hacky progress

* small fixes

* wip

* lock file

* wip

* wip

* package-lock updates

* wip

* search DOM in lowercase

* simplify

* with instrument

* improve test coverage

* mutateCheeriobodyByRequest

* fix

* remove renderContentCacheByContex

* disable render caching in sync-search

* diables things in github/github link checker

* gzip lru

* tidying up

* updated

* correct tests

* fix: move userLanguage to LanguagesContext

* Revert "fix: move userLanguage to LanguagesContext"

This reverts commit d7c05d958c71eaad496eb46764eb845d80b866ca.

* contexts ftw

* fixed rendering tests

* oops for got new file

* nits addressed

Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>
2022-05-23 12:12:09 +00:00
Robert Sese bd660da728
Show entire (long) mini-tocs (#27878)
* Show entire long mini-tocs

* Nudge top position

Co-authored-by: Joe Oak <41307427+joeoak@users.noreply.github.com>

* Use 'calc()` for max-height

Co-authored-by: Joe Oak <41307427+joeoak@users.noreply.github.com>

Co-authored-by: Joe Oak <41307427+joeoak@users.noreply.github.com>
2022-05-20 23:17:42 +00:00
Grace Park 10fea98af5
Search updates larger font (#27838)
* 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>
2022-05-20 12:12:36 -07:00
Peter Bengtsson a8d45acea9
refactor getThemeProps to be available in JS (#27439)
* refactor getThemeProps to be available in JS

* wip

* mike's idea

* delete no longer used file
2022-05-18 18:47:27 +00:00
Lucas Costi 5cef9e2fe7
Remove Actions experimental articles (#27524) 2022-05-18 00:35:40 +00:00
Peter Bengtsson 67064b14c9
fix "Preview notice" anchor link (#27767) 2022-05-17 17:32:41 -04:00
Sarah Schneider a9d3390c2f change hiddenNoBanner to noEarlyAccessBanner 2022-05-13 16:35:33 -04:00
Sarah Schneider 2962666b55 update banner component 2022-05-13 12:47:11 -04:00
Grace Park 2c56b5fdea
Fix REST small bugs (#27484)
* fix lucas found bugs

* remove language-

* update getLanguageHighlight

* add back launch.json

* remove line break
2022-05-11 12:57:14 -07:00
Grace Park 2e821f52ff
REST subcategory/category rendering test and refactor test-open-api-schema (#27138)
* first stage of test

* update test

* add rest test for categories and subcategories rendering

* update timeout back to original

* remove export

* remove testing

* refactor test-open-api-schema

* remove function

* remove check

* remove slash

* remove comment

* rearrange

* update getting the categories and maptopic levels

* update tests

* update copy

* add error message task
2022-05-10 17:09:47 +00:00
Grace Park f5fa66c452
update to size 16 per design and add d-flex (#27450) 2022-05-04 04:15:35 +00:00
Rachael Sewell 97fe617e15
adding enums back to rest param table (#27448) 2022-05-03 23:47:06 +00:00
Grace Park f1f96c6a3a
update to design feedback (#27420) 2022-05-02 17:03:21 -07:00
Grace Park 982d596d28
REST Bug fixes: Guides/Overview useEffect, duplicate key (#27414)
* add conditional in useeffect

* fix duplicate key error

* consolidate conceptual article check

* remove unnecessary currentanchor

* revert consolidating variable

Co-authored-by: Rachael Sewell <rachmari@github.com>
2022-05-02 13:39:53 -07:00
Rachael Sewell 5f4f858b94
REST two-pane layout (#26954) 2022-05-02 10:10:33 -07:00
Peter Bengtsson 50c8da01a1
correct translations namespace for product guides (#27403) 2022-05-02 11:38:31 -04:00
Grace Park f5bffa3817
REST API Pages: active anchor highlighting on scroll sidebar (#27310)
* add anchor highlighting

* update to show active when going to direct anchor link

* update rootMargin
2022-04-28 12:26:28 -07:00
Grace Park e087622e1f
REST Docs: update H3 to H2 operation heading (#27242)
* update H3 to H2 operation heading

* update rest test to h2
2022-04-27 17:22:21 +00:00
Peter Bengtsson 1a4a46ddb3
respect current path change for toolpicker (#27288)
* respect current path change for toolpicker

* remove debugging

* refactor imports
2022-04-27 16:50:15 +00:00
Rachael Sewell 749efd7b99
Rest redirect endpoint (#27027) 2022-04-25 16:14:04 +00:00
Robert Sese 3404349081
Fix sticky header issue in Firefox (#27159)
* Redundant sticky?

* update zindex to bring scroll button up

Co-authored-by: Grace Park <gracepark@github.com>
2022-04-22 21:31:12 +00:00
Grace Park b98c83e924
REST operations sidebar (#26225)
* testing out a rest operations sidebar

* cleanup

* renamed 5 files

* renamed 5 files

* set redirect_from on 5 files

* renamed 1 files

* renamed 1 files

* renamed 3 files

* renamed 1 files

* renamed 1 files

* renamed 3 files

* renamed 1 files

* renamed 2 files

* renamed 1 files

* renamed 4 files

* renamed 15 files

* renamed 2 files

* renamed 6 files

* renamed 1 files

* renamed 4 files

* renamed 7 files

* renamed 1 files

* renamed 3 files

* renamed 3 files

* renamed 1 files

* renamed 5 files

* renamed 1 files

* renamed 1 files

* renamed 3 files

* renamed 4 files

* renamed 1 files

* renamed 1 files

* renamed 2 files

* renamed 4 files

* renamed 1 files

* renamed 1 files

* renamed 1 files

* renamed 6 files

* renamed 6 files

* renamed 4 files

* move files

* adding more

* updating to add restcontext and start of removing data/reusables/rest-reference

* removed data/reusables

* add a RestMiniTocItem and updating the filtering to add a subcategory so all manually added H3s are in mini tocs in addition to operations

* remove console log

* [WIP]: REST New Proposal Sidebar (#26471)

* saving

* update sidebar

* remove console log

* update guides and overview

* import Category for category level rest pages

* update undefined restOperations

* update restOperationData category and subcategory levels"

* minor updates

* update get mini toc items function

* updating REST context for sidebar

* updating rest data

* remove console logs

* WIP: mini-toc-ing the sidebar

Co-authored-by: Robert Sese <rsese@github.com>

* A little cleanup

* Fix first subcategory link and add some comments

* updating anchor links in sidebar

* adding updates

* remove standalone

* update product and maptopic pages using article context

* add conditional link wrapper

* fix sidebar toggle and versions for enterprise admin

* update versions per subcategory

* Highlight sidebar link for current page

* Update miniToc hash links and hash change tracking

* fix unique key in CollapsibleSection

* Fix list markup

* remove title

* update permissions

* Hide minitocs on landing (#26594)

* hide minitocs on landing page

* simplify page components and remove minitoc from sidebar for guides/overview

* fix carats and category fix

* remove id

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

* updating content based on versions script check with the OpenAPI

* update script and content files

* update script and content/rest files

* update to add TocLanding

* update script

* update index files

* add codespaces repository-secrets

* remove openapi schema check script

* remove minitocs at the top

* add h2 about the {title} api

* fix tests/unit/openapi-schema.js

* Fix linting tests

* fix search/topics test

* fix tests/unit/pages test

* update rest/reference links in components

* run prettier

* Update components/rest/RestReferencePage.tsx

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

* Update components/rest/RestReferencePage.tsx

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

* Update pages/[versionId]/rest/[category]/[subcategory].tsx

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

* Update pages/[versionId]/rest/[category]/[subcategory].tsx

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

* Update pages/[versionId]/rest/[category]/[subcategory].tsx

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

* Update pages/[versionId]/rest/[category]/[subcategory].tsx

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

* Update tests/unit/openapi-schema.js

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

* updating comment location

* remove dependabot override

* remove path-utils current product update for rest

* run linter

* remove dependabot.md and remove h2 heading on restreference

* update the correct product to rest for rest pages

* adding comments for updates to path-utils

* remove console log

* REST sidebar: handle legacy v3 redirects (#26686)

* Add script to handle legacy v3 REST redirects

* Run the script

* Handle a redirect to a redirect

* Update REST test URLs

* 'await' and test runs subcategory of checks

* Update REST URLs for routing/developer-site-redirects tests

* Update developer-redirects fixture with new REST URLs

* Resolve merge conflicts

* Update rest-redirects fixture with new REST URLs

* Fix broken links with REST pages re-org

* redirectTo could be undefined

* Fix script for posterity, can't redirect paths with hashes

* Remove invalid hash redirects

* Typically don't need to save one-off scripts

* Undo redirect changes (not necessary for handling v3 redirects)

* Remove script-added redirects

* Update old v3 redirects with new REST URLs

* No more GHES search indexing page

* 'org' not 'organization'

* Update fixture data for new REST URLs

* revert any content directory changes

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

* Adding test rest (#26750)

* add test to check openapi schema versions and content rest frontmatter versions

* update lib/redirects

* fix test and add error messages

* adding repository secrets

* adding repository-secrets.md

* Revert "update lib/redirects"

This reverts commit 3aafe28265764d5bc09c0c478c8e0ca099c8fbcf.

* remove lib/redirects changes and console logs

* Update lib/rest/index.js

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

* update unique key

* Rest client side redirects (#26754)

* adding tags subcategory for the rest content repos category

* run prettier

* bug fix for anchor scrolls" (#26892)

* updating width size for rest reference page

* Rest sidebar consolidation (#26862)

* refactor sidebar

* fix articlecontext provider issue on rest product landing page for all versions

* fix a bug, create new component

* revert change to create new component and fix bug

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

* Set currentAnchor with a hashchange handler (#26923)

* Rest sidebar design tweaks (#26807)

* Rest sidebar design tweaks

* tweak color to subtle

* use muted color and margin for line

* update to design feedback

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

* Remove cheerio from rest-collapsible (#26948)

* remove cheerio from rest-collapsible

* update type

* adding endswith instead

* use productId instead

* one off edge case for secret-scanning

* Reorganize subcategory and category, Update pre -> div, Add RestContext (#26950)

* reorganize subcategory and category

* add RestContext

* update comment

* update for endpoints page

* add comment

* move object to restcontext

* remove effectiveDate in restcontext

* remove width calculation for rest reference page

* fix adding manual writer's minitocs to sidebar

* update with feedback

* update comment

* update isRestReferencePage

* remove page component and fix bug

* adding back rest/index.tsx

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

* update content/rest"

* add back design tweak

* update to div

* update margins on rest api reference

* remove page component

* adding tests

* separate product from rest sidebar (#27065)

* separate product from rest sidebar

* Use ProductCollapsibleSections for product pages

* fix tests

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

* Rest sidebar translations (#27052)

* update translations

* remove general test

Co-authored-by: Robert Sese <rsese@github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
2022-04-20 10:19:48 -07:00
hubwriter b4d40af7ca
Multiple devcontainer.json files & advanced codespace creation options (GA) (#26708) 2022-04-13 19:43:59 +00:00
Mike Surowiec 575c6adaf3
Merge branch 'main' into fix/#16325 2022-04-13 09:44:59 -05:00
Robert Sese 2ee8aad472
Handle query parameters with PUT/POST operations (#26848)
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2022-04-12 14:36:50 -05:00
Ritesh Patil 1a7f1a813e fix: add relationship between Select version and Youre searching the Free, Pro, & Team version text 2022-04-12 12:19:58 +00:00
Mike Surowiec dce7f676ec
fix(content): apostrophe in title renders incorrectly in production only (#26859)
* fix(content): apostrophe in title renders incorrectly in production only

* fix(ProductArticlesList): use renderedFullTitle to display childNodes

* fix(lint): run prettier
2022-04-11 18:29:08 -05:00
Rachael Sewell 02dbebbef3
render existing openapi examples (#26405) 2022-04-11 16:09:03 +00:00
Ramya Parimi 52889940a8
Merge branch 'main' into fix/#16313 2022-04-08 07:42:29 -05:00
Hector Alfaro 7e09e2ba85
offset underline for md content 2022-04-07 11:26:46 -04:00
Ritesh Patil ce5f599a4e fix: Rephrase search label; add an aria description label to the search input 2022-04-07 08:26:28 +00:00
Hector Alfaro ba27b2e62c
use functional variables 2022-04-05 18:43:11 -04:00
Hector Alfaro cd732d19e1
override bg on rest toc for better contrast 2022-04-05 12:29:40 -04:00
Hector Alfaro 3a5f786e62
override minitoc bg for better contrast 2022-04-05 12:29:04 -04:00
Ritesh Patil a739577639 fix: code examples searc componenth toescape special characters in regex formattion 2022-04-03 19:26:19 +00:00
Robert Sese 33c05d81ce
Change product landing page `introLinks` to a general map of link titles to links (#26360)
* Add cta button to frontmatter and context

* Add cta to Page

* Render cta button in product landing hero

* Handle external links

* Add simple unit test for cta link

* Address feedback

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

* Actually push condition update

* Show it's an external link

* Refactor FullLink so we use Link once

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

* Custom link can also be null

* Rename 'cta' to 'custom' and make it the last introLink

* Update tests with 'cta' to 'custom' change

* Filter once

* Revert "Filter once"

This reverts commit a3f9a8a06b505d77fed47ca96a66c187c86c3c91.

* Update introLinks to a map of titles and URLs

* No more custom introLink in LandingHero

* Simplify introLinks processing

* introLinks can also be null

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

* more concise

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

* No longer necessary with the a plain introLinks map

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

* '.entries()` is simpler

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

* 'link' could be false depending on what version you're on

* Update test for new introLinks

Co-authored-by: Peter Bengtsson <mail@peterbe.com>
2022-04-01 11:01:37 -05:00
Lucas Costi b49c768777
Version actions for GHES, use reusables (#26004)
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Sarah Edwards <skedwards88@github.com>
2022-04-01 09:36:17 +10:00
Peter Bengtsson 43f0e5270c
remove GHEC signup button for dotcom_user cookied users (#26521) 2022-03-29 20:21:38 +00:00
Rachael Sewell 622eda013c
change error codes table to all status codes table (#26518) 2022-03-29 13:16:34 -07:00
Rachael Sewell 7f3b2597ad
Rest required previews are deprecated (#26527) 2022-03-29 12:52:12 -07:00
Martin Lopes 93e179940b
Merge branch 'main' into pwsh-commands 2022-03-18 09:23:02 +10:00
Grace Park 2c8713037d
Move deploy keys from deployments to keys in rest pages (#26166)
* move deploy keys from deployments to keys in rest pages

* move minitocs above intro

* Update content/rest/reference/keys.md

Co-authored-by: Sarah Edwards <skedwards88@github.com>

* add to banner, add redirects from deployments

* remove deploy keys from deployments intro

* update data/reusables name

* update - to _

* update script and add redirects for subcategories turned categories

Co-authored-by: Sarah Edwards <skedwards88@github.com>
2022-03-17 17:25:12 +00:00
Peter Bengtsson 021198411a
close intersection observer on dismount (#26292) 2022-03-17 12:14:53 -04:00
Martin Lopes 9176a26a56
Merge branch 'main' into pwsh-commands 2022-03-17 17:19:26 +10:00
Grace Park c26936f900
fixing styling on code blocks for rest pages (#26237) 2022-03-16 20:06:05 +00:00
Grace Park e0e2ed3de3
adding observer disconnect (#26228) 2022-03-15 16:54:32 -07:00