* updating to scroll past notification and keep header sticky
* Update components/page-header/Header.tsx
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
* moving breadcrumbs to sticky header
* update scroll
* update color-bg-primary to color-bg-default
* change back to primary since were on primer 17
* add effect dependency
* not changing
* clip left box shadow of header and unmount
* update to default
* update breadcrumbs tests
* sticky editor
* 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
* minor sidebar updates batch
* Update components/sidebar/SidebarNav.tsx
Co-authored-by: Ash Guillaume <10384315+ashygee@users.noreply.github.com>
* Update components/sidebar/SidebarProduct.tsx
Co-authored-by: Ash Guillaume <10384315+ashygee@users.noreply.github.com>
* changing back to bg-primary since we are on primer 17
Co-authored-by: Ash Guillaume <10384315+ashygee@users.noreply.github.com>
* homepage: reduce padding below search area
Bring as much useful content up "above the fold".
* homepage: add groups for the front page sections
Group the homepage links into sections that map to the GitHub features
page (`/features`) plus two groups that are bespoke to the docs ("Get
started" and "Developers").
* homepage: update group design
Group the feature list area using the design exploration work by
@arisacoba. Remove the description.
* homepage: remove ungrouped items from main area
Remove ungrouped items (like the external links) from the main feature
area. Users can still navigate to ungrouped items in the sidebar.
* fix tsc error, use Link component
* homepage: support empty icon in group
Don't assume that we have icons everywhere on the landing page groups.
* homepage: drop octocat/invertocat
Looks weird with the modern icons, looks bad in dark mode. Drop them
for now.
* homepage: document the childGroups frontmatter property
* homepage: don't test that sidebar == main content
We're reducing the links on the homepage in the main content area, but
the sidebar should be the complete list of products. Remove the tests
that ensure that the main content area has all the sidebar content. But
keep the tests that ensure that the sidebar content has all the links in
the main content area.
* homepage: remove "GitHub" doc set
The "GitHub" doc set "will be removed soon as we keep moving more content
out of it, so let's not include it here to keep the page more
evergreen."
* homepage: don't test that `/github` is linked on the main page
We're removing the `/github` doc set, and it's now not in the main page
grouped links. Remove the test that `/github` exists, now look for
`/get-started`.
* homepage: use octicons instead of images
The images from https://github.com/features will be updated 🔜 - in
the meantime, let's use octicons which are consistent and give visual
interest.
* homepage: use octicons from @primer/octicons-react
Using the react components adds `<svg>` elements instead of `<img>`
elements, which lets the element use the current fill color, supporting
both light and dark themes.
Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>
Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>
* adding effectiveDate frontmatter property
* Update components/article/ArticlePage.tsx
Co-authored-by: Peter Bengtsson <peterbe@github.com>
* adding validation for correct date
* update to dateTime
* update to year month day
* update error date validation
* moving validation to getArticleContextFromRequest and moving id to div
* remove enteredDate
* Update content/README.md
Co-authored-by: Laura Coursen <lecoursen@github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
Co-authored-by: Laura Coursen <lecoursen@github.com>
* adding switcher to creating a codespace guide
* adding additional switcher for vscode and updating codespaces name
* using webui in codespaces coontext
* updating internal documentation
* remove default tool
Co-authored-by: hubwriter <hubwriter@github.com>
* 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>
* semantic rendering of miniTocItems
* feat: create nested mini toc structure to simplify semantic rendering
* remove className usage of indentationLevel in miniToc rendering
* manually run script/graphql/update-files.js to update pre-rendered files
* use less brittle regex method to extract number
* 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 autolinkHeadings to use Doctocat link header style
* fix header link test
* update graphql/rest rendering to use doctocat header link
* fix: miniToc issue with stray anchor
Co-authored-by: Rachael Sewell <rachmari@github.com>
* Create a lead component
* Update to remove markdown-body from Lead, copy over <code> styles
* ...so I can read the test output
* Update Lead.tsx
* Update Lead.tsx