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

32 Коммитов

Автор SHA1 Сообщение Дата
Peter Bengtsson 72d40de414
make getMainContext async (#31622) 2022-10-12 16:43:58 +00:00
Grace Park b84b627e8c
Fix bug for ghec version of experimental pages (#30494) 2022-09-06 16:14:25 +00:00
hubwriter dbb8426cb4
Codespaces: Use correct keypress formatting (#30248) 2022-09-01 11:59:02 +00:00
Peter Bengtsson 7bd83ef4b1
able to use HTML tags in playground markdown content (#30256)
* able to use HTML tags in playground Markdown content

* small fixes
2022-08-25 14:34:08 +00:00
hubwriter a4d56c1134
Codespaces: Fix rendering of keyboard input in Typescript file (#30218)
Fix rendering of keyboard input
2022-08-24 15:39:46 +01:00
Peter Bengtsson cce0416b0d
unique react key in playground editor buttons (#29836)
* unique React key in playground editor buttons

* second place
2022-08-11 15:56:58 +00:00
Peter Bengtsson a37f023f40
search body for setting-up-your-project-for-codespaces (#29038) 2022-07-14 16:40:45 +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
Lucas Costi 5cef9e2fe7
Remove Actions experimental articles (#27524) 2022-05-18 00:35:40 +00:00
hubwriter b4d40af7ca
Multiple devcontainer.json files & advanced codespace creation options (GA) (#26708) 2022-04-13 19:43:59 +00: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
newmanrs 4f748be951 Python versions in examples should be type string, not float 2022-03-09 18:16:51 -08:00
Jonathan Tamsut d04e4046ae
bump version for upload-artifact and download-artifact code snippets (#25782) 2022-03-04 10:17:09 +10:00
Mike Surowiec f3fc80cf05
Upgrade primer/components -> primer/react (#25591)
* upgrade primer/components -> primer/react

* fix jest failure
2022-02-24 00:30:14 +00:00
Robert Sese 918a0956e0
Update icon colors (#25189) 2022-02-09 18:25:23 +00:00
hubwriter 0651660f33
Change "workflow templates" to "starter workflows" (#23823)
Co-authored-by: skedwards88 <skedwards88@github.com>
2021-12-21 18:15:54 +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
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
ftnext b987ffd10a fix typo in workflow paths 2021-11-10 22:53:34 +09:00
Kevin Heis 567652b0e3
Primer 18 b (#22462)
* Create migrate-colors-primer-18.js

* Update colors round 1

* upgrade primer packages

* Update index.scss

* Replace auto colors

* remove btn-primary-matte

* Turns out the class names and variables names DONT LINE UP... ugh....

* Check for allowed var colors
2021-10-28 19:17:23 +00:00
Mike Surowiec d81f51ebf7
Picker improvements (#21765)
* 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>
2021-09-30 20:22:13 +00:00
Rachael Sewell f346096897
move playground loading indicator image (#21816) 2021-09-29 22:00:37 +00:00
Martin Lopes 83dc407ada
Restructure Actions guides (#21577)
Co-authored-by: Sarah Edwards <skedwards88@github.com>
Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>
2021-09-22 16:49:41 +10:00
Mike Surowiec 046a586c06
fix: primer/components use resolvedColorMode (#21569) 2021-09-16 20:00:26 +00:00
Kevin Heis 9f7c20dae8
Upgrade Primer CSS to version 17, removing marketing styles (#20965)
* Package updates

* Fix up things that look broken

* Add to utils

* Lead now just sets font size, just use f3 where needed

* Update package-lock.json

* Update index.tsx

* Delete bump-link.scss

* Update trigger-error.js

* Update components/GenericError.tsx

Co-authored-by: Ash Guillaume <10384315+ashygee@users.noreply.github.com>

* Update ArticlePage.tsx

* Update ActionBar.tsx

* Changes from meeting

* Found a few more monos

* Fix from a merge conflict

* Missed a few f3s

* Update SubLandingHero.tsx

* Bye gradients

* Match up breadcrumbs

* Update SubLandingHero.tsx

* Update lists.scss

Co-authored-by: Ash Guillaume <10384315+ashygee@users.noreply.github.com>
2021-08-31 14:49:39 -07:00
Grace Park d4e3614676
same minWidth as you scroll down article (#21182) 2021-08-30 16:44:59 +00:00
Mike Surowiec d76c16da19
Scope markdown body (#21082)
* update article content to markdown ui component

* decouple lunr indexing from class name

* remove summary outline none rule, apply utility class instead

* improve typing

* scope more styles down to markdown-body/extended-markdown

* move all markdown-body style overrides to MarkdownContent component

* fix class targeting within css module

* clean up MarkdownContent header style

* rename data-lunr to data-search

* fix: inline code color issue

* fix: update article markdown to work with MarkdownContent
2021-08-30 14:24:49 +00:00
Mike Surowiec 529629ddec
Fix: editor border and theme (#21172)
* fix: set theme based on colorMode

* fix border issue
2021-08-26 15:35:32 -04:00
Mike Surowiec 06d8f81401
Two-pane Experiment (#21092)
* pull changes from docs-playground

* cleanup, add callout banner

* cleanup linting and test fixes

* add discussion link

Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-08-26 14:19:40 -04:00