Kevin Heis
2d15c92e84
Move a few more files into events src ( #36574 )
2023-05-08 15:33:13 +00:00
Grace Park
8b26dfd301
Update to scss for ArticleGridLayout ( #36754 )
2023-05-02 00:01:27 +00:00
Kevin Heis
2876eda1f9
Change permalinks -> heading links ( #36739 )
2023-05-01 14:53:55 +00:00
Kevin Heis
d5281724e2
Update permalinks for accessibility ( #36714 )
...
Co-authored-by: Peter Bengtsson <mail@peterbe.com >
2023-05-01 14:03:02 +00:00
Zen van Riel
1aa1fd0425
Virtual Assistant in Docs - Move the VA iframe to the content of the article ( #36334 )
2023-04-14 10:26:59 +00:00
Peter Bengtsson
218c866805
Enable hover preview cards for all docsets ( #36078 )
...
Co-authored-by: Robert Sese <734194+rsese@users.noreply.github.com >
2023-04-13 17:21:39 +00:00
Kevin Heis
cc5a0e9613
Aria labelledby ( #36370 )
2023-04-13 16:35:30 +00:00
Kevin Heis
022c8b03e6
Add aria-label to external site icons ( #36269 )
2023-04-07 17:12:11 +00:00
Robert Sese
5641e7bff7
check for hover card hovering higher up in main-content ( #36223 )
2023-04-06 18:32:19 +00:00
Zen van Riel
6504748f1d
Render a height of 0px initially for VA iframe ( #36000 )
...
Co-authored-by: Peter Bengtsson <peterbe@github.com >
2023-03-29 18:27:44 +00:00
Zen van Riel
4825aa9439
Remove the need to post message from the Docs side and regain control… ( #35995 )
2023-03-29 17:01:16 +00:00
Zen van Riel
e66e2ab5ac
Support Portal & Docs Collaboration: Virtual Assistant in Docs ( #35772 )
...
Co-authored-by: Peter Bengtsson <peterbe@github.com >
Co-authored-by: Peter Bengtsson <mail@peterbe.com >
2023-03-29 12:38:47 +00:00
Peter Bengtsson
07a3e2a48c
Preview hover cards ( #34702 )
...
Co-authored-by: Grace Park <gracepark@github.com >
Co-authored-by: Joe Oak <41307427+joeoak@users.noreply.github.com >
2023-03-21 19:59:49 +00:00
Kevin Heis
0c67aadebc
Move events into subject folder ( #35262 )
2023-03-14 15:53:42 +00:00
Peter Bengtsson
3a3d18b850
Refresh picker on page visibility ( #34866 )
2023-02-17 18:08:59 +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
Hector Alfaro
add2b833be
Add support for video transcripts in top-level pages ( #34528 )
...
Co-authored-by: Rachael Sewell <rachmari@github.com >
2023-02-09 22:21:32 +00:00
Grace Park
ae197983aa
Fix double breadcrumbs ( #34494 )
2023-02-07 00:02:17 +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
Peter Bengtsson
bad81adba1
remove 'contributor' functionality ( #34117 )
2023-01-23 17:04:35 +00:00
hubwriter
18a2cc8498
Remove experimental format ("playground") page from Codespaces docs ( #33732 )
...
Co-authored-by: github-actions <github-actions@github.com >
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com >
Co-authored-by: Isaac Brown <101839405+isaacmbrown@users.noreply.github.com >
Co-authored-by: Peter Bengtsson <peterbe@github.com >
2023-01-11 19:52:51 +00:00
Evan Bonsignori
c3944238ed
add learning track card ( #33300 )
...
Co-authored-by: Peter Bengtsson <peterbe@github.com >
2023-01-05 20:59:23 +00:00
Peter Bengtsson
b240055443
Permissions statement rendering on automated pages ( #33718 )
2023-01-03 19:44:44 +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
Robert Sese
b2e5d14036
Automate + Reactify webhooks page ( #29534 )
...
Co-authored-by: Rachael Sewell <rachmari@github.com >
Co-authored-by: Peter Bengtsson <mail@peterbe.com >
Co-authored-by: Joe Oak <41307427+joeoak@users.noreply.github.com >
Co-authored-by: Sarah Edwards <skedwards88@github.com >
Co-authored-by: Grace Park <gracepark@github.com >
Co-authored-by: Peter Bengtsson <peterbe@github.com >
2022-11-15 22:12:16 +00:00
Peter Bengtsson
7d0f9a3c36
trigger onValue when changing query AND base path ( #32354 )
2022-11-04 17:12:08 +00:00
Peter Bengtsson
a9a0b1323b
set nested minitoc padding once ( #32315 )
2022-11-03 17:11:34 +00:00
Peter Bengtsson
c2ff22bb31
refactor PlatformPicker and ToolPicker into one shared component ( #31785 )
2022-10-19 02:23:15 +00:00
Peter Bengtsson
bb2dedd52b
respect hash on asPath ( #31775 )
2022-10-17 15:58:05 +00:00
Evan Bonsignori
5beb76e9fd
push locale when changing tabs ( #31655 )
2022-10-12 20:37:54 +00:00
Evan Bonsignori
d5cf8700ab
Persist tab state in query params for linking ( #31499 )
2022-10-12 11:43:31 +00:00
Peter Bengtsson
37fa4e871e
auto-refresh content ( #30689 )
...
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com >
2022-09-14 16:58:27 +00:00
Robert Sese
57c1ed5d6e
Update permissions statement design ( #30703 )
2022-09-13 16:19:53 +00:00
Kevin Heis
303d5190db
Create a translations test suite ( #30000 )
...
* Scaffold files for migration
* Move user-agent into unit suite
* Nothing to move from browser suite
* Migrate tests to translations/content
* Migrate existing translation test to meta
* No graphql tests to migrate
* Migrate lint-translation-reporter
* Migrate lint-translation-reporter
* Remove languages-schema, unused
* Restore languages-schema
* Restore languages-schema
* Migrate rendering
* Migrate routing
* Migrate most of unit
* Remove dead files, comment out tests that aren't expected to work yet
* Migrate from get-redirect
* Migrate page and pages
* Migrate linting code
* Fix lint issues
* Found a few more
* Run prettier
* Move crowdin-config test and helper
* Update crowdin-config.js
* Remove translation linting, crowdin config lint, reduce file count
* Remove test that's been skipped for a year
* Restore linting with note to remove later
* Update lint-translation-reporter.js
* Clean up rendering suite
* Update rendering.js
* Remove excessive describe blocks
* Redirect tests
* Clean up unit
* Remove test that's never called
* Don't compare early access
* Rename test suites
* Update "content" tests
* Update files.js
* Update search.js
* Update files.js
* Update files.js
2022-08-25 12:38:03 -07:00
Peter Bengtsson
f966792fb5
refactor ClientSideRedirectExceptions ( #29737 )
2022-08-08 20:42:59 -04:00
Peter Bengtsson
aa727c4f70
refactor clientsidehighlight ( #29713 )
...
* refactor ClientSideHighlight
* names
* names again
2022-08-08 20:17:58 +00:00
Rachael Sewell
dea3da2427
Add lazy syntax highlighting hook ( #29610 )
2022-08-04 21:23:22 +00:00
Rachael Sewell
aa8890ade6
add LinkIconHeading component ( #29258 )
2022-08-04 00:00:34 +00:00
Rachael Sewell
e8acff555c
refactor the enabled for apps page component ( #29253 )
2022-07-26 18:14:50 +00: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
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
Hector Alfaro
3b825a46d2
pull out tools from page.js and ToolPicker component
2022-05-23 10:48:49 -04: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
Lucas Costi
5cef9e2fe7
Remove Actions experimental articles ( #27524 )
2022-05-18 00:35:40 +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
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
Martin Lopes
93e179940b
Merge branch 'main' into pwsh-commands
2022-03-18 09:23:02 +10:00
Peter Bengtsson
021198411a
close intersection observer on dismount ( #26292 )
2022-03-17 12:14:53 -04:00