Skip to content

Commit

Permalink
Bring in latest website changes (#6710)
Browse files Browse the repository at this point in the history
* Update index.tsx (#6278)

* Fix updates bit on the website (#6287)

* Content management update (#6282)

* Add Wes Testimonial. Cleanup.

* Typos

* Fixed whitespace (#6283)

* Update Header.tsx (#6289)

* Add CTA block for Web Box eCommerce Course (#6273)

* Content update (#6290)

* Style fixes (#6291)

* Fix styles: CommunityCta

* Fix Styles: Homepage

* Stylefix: Wes CTA block

* Style fixes: Why Keystone

* Style fixes: Content Management

* Style fixes: Developers

* Style fixes: Organisations

* Style fixes: Prose lite

Reverts text color to default `--text` var per Figma

* Style fixes: Docs Home

* Stye fixes: examples CTA

* Added new content to /updates (#6300)

* Update fields.mdx (#6304)

* Fixed typo (#6322)

* Added top margin to docs page component (#6301)

* Added styles to table (#6315)

* Added styles to table

* Update prose-lite.ts

* Update prose-lite.ts

* Update prose-lite.ts

Co-authored-by: Thomas Walker <[email protected]>

* Un-nest <Head> tags. (#6327)

* Fixed link value (#6328)

* Update `website_live` (#6336)

* Update patch dependencies (patch) (#6253)

* Update search config to match new DocSearch config (#6255)

* Update dependency/apollo client (#6259)

* update apolloclient dependency to latest

* changeset

* Update dependency @graphql-tools/merge to v7 (#6246)

Co-authored-by: Renovate Bot <[email protected]>

* Rename first to take (#6266)

* Expose stacktraces from exceptions thrown in before/after hooks. (#6263)

* 6268/next typescript config error (#6269)

* add typescript ignoreBuildErrors flag

* changeset

* Updated /updates with new things (#6272)

* Check exceptions returned from GraphQL (#6271)

* Lock file maintenance (#6277)

* Allow bearer auth in header using sessionToken (#6276)

* Use Next 11 in the website (#6256)

* 6223/custom pages guide improvements (#6264)

* update example to include helper components

* update docs and examples

* update docs and examples

* update to docs

* more updates

* changeset

* correct incorrect props in README.md

* update smoke test

* update images

* update example

* update tests

* remove next dep from package.json

* updates

* re-add schema.prisma for admin-ui-navigation example

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Apply suggestions from code review

Co-authored-by: Tim Leslie <[email protected]>

* update docs

* revert change to next-env.d.ts

* Apply suggestions from code review

Co-authored-by: Tim Leslie <[email protected]>

Co-authored-by: Tim Leslie <[email protected]>

* Update dependency eslint-plugin-import to ^2.24.0 (#6285)

Co-authored-by: Renovate Bot <[email protected]>

* Fix updates bit on the website (#6288)

* Include stacktrace flag (#6267)

* Remove `gqlType` option on `autoIncrement` field type (#6280)

* Use playwright install-deps (#6294)

* Update patch dependencies (patch) (#6284)

* Update prisma monorepo to v2.29.0 (minor) (#6292)

* Nested filters (#6095)

* GraphQL API docs changes (#6297)

* Update dependency @types/jest to v27 (#6293)

* Ignore generated files in prisma-utils (#6305)

* Move import of mergeSchemas (#6310)

* Update resolveInput error handling (#6316)

* Upgrade Next to 11.1.0 for the website (#6311)

* Update @graphql-ts/schema (#6312)

* Lock file maintenance (#6320)

* Split create/update field input resolvers for relationship fields (#6317)

* Expand editable area (#6318)

* POC - Expand editable area

* Change things

* Create cyan-rabbits-look.md

Co-authored-by: mitchellhamilton <[email protected]>

* Fixed import url on CustomNavigation component (#6308)

Co-authored-by: Tim Leslie <[email protected]>

* Update text filter API table (#6330)

* Update the tags in the docs navigation (#6329)

* Update patch dependencies (patch) (#6331)

* Add a GraphQL API upgrade guide (#6281)

* Fix issue with VisuallyHidden checkbox interactions in table  (#6334)

* resolve CHROME BUG

* changeset

* 6261/fix delete alert (#6296)

* refactor confirm procedure to only add success toast on success

* new deletion logic in Listview

* add crud-notifications test project

* update deletion solution to be more pragmatic at scale

* update bug fix to be more verbose

* update schema.graphql

* minor updates

* fix yarn lint:examples to not break when running more than one test-project

* minor updates to copy

* remove log

* changeset

Co-authored-by: Tim Leslie <[email protected]>

* Version Packages (#6199)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Charles <[email protected]>
Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Mitchell Hamilton <[email protected]>
Co-authored-by: Tim Leslie <[email protected]>
Co-authored-by: Ronald Aveling <[email protected]>
Co-authored-by: Gautam Singh <[email protected]>
Co-authored-by: Charlie Jonas <[email protected]>
Co-authored-by: KeystoneJS Release Bot <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Release notes for 2021-08-17 release (#6345)

* New release notes.

* Update index.tsx

* Update 2021-08-17.mdx

* Update next-env.d.ts

* Update index.mdx

* Update 2021-08-17.mdx

* Fixed markdown for bold styles (#6346)

* Update wording on upgrade guide and release notes (#6353)

* Updates nav additions (#6366)

* Relocated "K5 vs K6" guidance

* Updated sidebar navigation content for `/updates`

* Update new-graphql-api.mdx (#6375)

* Updated URLs (#6374)

* Tweaking docs for Next.js walkthrough for latest version (#6383)

* Tweaking docs for Next.js walkthrough.

* Update next-env.d.ts

* Added upgrade notices to GraphQL API related pages (#6387)

* Fixed link color inconsistency (#6388)

* Add note to use `yarn` in the embedded Next.js guide (#6384)

* Tweaking docs for Next.js walkthrough.

* Update next-env.d.ts

* Update embedded-mode-with-sqlite-nextjs.mdx

* [WIP] Related content links (#6360)

* WIP: get well in bottom of page

* New RelatedContent component.

* Added related content for POC

* Added more related content cards

* Updated guides index

* Styles fix for inline code within <Well> component

Co-authored-by: Thomas Walker <[email protected]>

* Added 2x testimonials (#6400)

* Typo (#6405)

* Replaced absolute links with relative (#6406)

* Fix broken link (#6407)

To copy https://github.com/keystonejs/keystone/pull/6404 for `website_live` branch

* Add missing <Link>'s in docs pages. (#6421)

* Add `Edit on GitHub` button to all docs pages (#6423)

* Progress commit.

* Update EditButton.tsx

* Update EditButton.tsx

* Tab index improvements. (#6427)

* Update EditButton.tsx (#6428)

* Fix styles on document field demo on website live (#6447)

* Content edits (#6451)

* Changes to global header (#6452)

* Update `website_live` with `master` (#6472)

* Website live (#6340)

* Update index.tsx (#6278)

* Fix updates bit on the website (#6287)

* Content management update (#6282)

* Add Wes Testimonial. Cleanup.

* Typos

* Fixed whitespace (#6283)

* Update Header.tsx (#6289)

* Add CTA block for Web Box eCommerce Course (#6273)

* Content update (#6290)

* Style fixes (#6291)

* Fix styles: CommunityCta

* Fix Styles: Homepage

* Stylefix: Wes CTA block

* Style fixes: Why Keystone

* Style fixes: Content Management

* Style fixes: Developers

* Style fixes: Organisations

* Style fixes: Prose lite

Reverts text color to default `--text` var per Figma

* Style fixes: Docs Home

* Stye fixes: examples CTA

* Added new content to /updates (#6300)

* Update fields.mdx (#6304)

* Fixed typo (#6322)

* Added top margin to docs page component (#6301)

* Added styles to table (#6315)

* Added styles to table

* Update prose-lite.ts

* Update prose-lite.ts

* Update prose-lite.ts

Co-authored-by: Thomas Walker <[email protected]>

* Un-nest <Head> tags. (#6327)

* Fixed link value (#6328)

* Update `website_live` (#6336)

* Update patch dependencies (patch) (#6253)

* Update search config to match new DocSearch config (#6255)

* Update dependency/apollo client (#6259)

* update apolloclient dependency to latest

* changeset

* Update dependency @graphql-tools/merge to v7 (#6246)

Co-authored-by: Renovate Bot <[email protected]>

* Rename first to take (#6266)

* Expose stacktraces from exceptions thrown in before/after hooks. (#6263)

* 6268/next typescript config error (#6269)

* add typescript ignoreBuildErrors flag

* changeset

* Updated /updates with new things (#6272)

* Check exceptions returned from GraphQL (#6271)

* Lock file maintenance (#6277)

* Allow bearer auth in header using sessionToken (#6276)

* Use Next 11 in the website (#6256)

* 6223/custom pages guide improvements (#6264)

* update example to include helper components

* update docs and examples

* update docs and examples

* update to docs

* more updates

* changeset

* correct incorrect props in README.md

* update smoke test

* update images

* update example

* update tests

* remove next dep from package.json

* updates

* re-add schema.prisma for admin-ui-navigation example

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Apply suggestions from code review

Co-authored-by: Tim Leslie <[email protected]>

* update docs

* revert change to next-env.d.ts

* Apply suggestions from code review

Co-authored-by: Tim Leslie <[email protected]>

Co-authored-by: Tim Leslie <[email protected]>

* Update dependency eslint-plugin-import to ^2.24.0 (#6285)

Co-authored-by: Renovate Bot <[email protected]>

* Fix updates bit on the website (#6288)

* Include stacktrace flag (#6267)

* Remove `gqlType` option on `autoIncrement` field type (#6280)

* Use playwright install-deps (#6294)

* Update patch dependencies (patch) (#6284)

* Update prisma monorepo to v2.29.0 (minor) (#6292)

* Nested filters (#6095)

* GraphQL API docs changes (#6297)

* Update dependency @types/jest to v27 (#6293)

* Ignore generated files in prisma-utils (#6305)

* Move import of mergeSchemas (#6310)

* Update resolveInput error handling (#6316)

* Upgrade Next to 11.1.0 for the website (#6311)

* Update @graphql-ts/schema (#6312)

* Lock file maintenance (#6320)

* Split create/update field input resolvers for relationship fields (#6317)

* Expand editable area (#6318)

* POC - Expand editable area

* Change things

* Create cyan-rabbits-look.md

Co-authored-by: mitchellhamilton <[email protected]>

* Fixed import url on CustomNavigation component (#6308)

Co-authored-by: Tim Leslie <[email protected]>

* Update text filter API table (#6330)

* Update the tags in the docs navigation (#6329)

* Update patch dependencies (patch) (#6331)

* Add a GraphQL API upgrade guide (#6281)

* Fix issue with VisuallyHidden checkbox interactions in table  (#6334)

* resolve CHROME BUG

* changeset

* 6261/fix delete alert (#6296)

* refactor confirm procedure to only add success toast on success

* new deletion logic in Listview

* add crud-notifications test project

* update deletion solution to be more pragmatic at scale

* update bug fix to be more verbose

* update schema.graphql

* minor updates

* fix yarn lint:examples to not break when running more than one test-project

* minor updates to copy

* remove log

* changeset

Co-authored-by: Tim Leslie <[email protected]>

* Version Packages (#6199)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Charles <[email protected]>
Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Mitchell Hamilton <[email protected]>
Co-authored-by: Tim Leslie <[email protected]>
Co-authored-by: Ronald Aveling <[email protected]>
Co-authored-by: Gautam Singh <[email protected]>
Co-authored-by: Charlie Jonas <[email protected]>
Co-authored-by: KeystoneJS Release Bot <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

Co-authored-by: Mitchell Hamilton <[email protected]>
Co-authored-by: Ronald Aveling <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Charles <[email protected]>
Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Tim Leslie <[email protected]>
Co-authored-by: Gautam Singh <[email protected]>
Co-authored-by: Charlie Jonas <[email protected]>
Co-authored-by: KeystoneJS Release Bot <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Website live (#6341)

* Update index.tsx (#6278)

* Fix updates bit on the website (#6287)

* Content management update (#6282)

* Add Wes Testimonial. Cleanup.

* Typos

* Fixed whitespace (#6283)

* Update Header.tsx (#6289)

* Add CTA block for Web Box eCommerce Course (#6273)

* Content update (#6290)

* Style fixes (#6291)

* Fix styles: CommunityCta

* Fix Styles: Homepage

* Stylefix: Wes CTA block

* Style fixes: Why Keystone

* Style fixes: Content Management

* Style fixes: Developers

* Style fixes: Organisations

* Style fixes: Prose lite

Reverts text color to default `--text` var per Figma

* Style fixes: Docs Home

* Stye fixes: examples CTA

* Added new content to /updates (#6300)

* Update fields.mdx (#6304)

* Fixed typo (#6322)

* Added top margin to docs page component (#6301)

* Added styles to table (#6315)

* Added styles to table

* Update prose-lite.ts

* Update prose-lite.ts

* Update prose-lite.ts

Co-authored-by: Thomas Walker <[email protected]>

* Un-nest <Head> tags. (#6327)

* Fixed link value (#6328)

* Update `website_live` (#6336)

* Update patch dependencies (patch) (#6253)

* Update search config to match new DocSearch config (#6255)

* Update dependency/apollo client (#6259)

* update apolloclient dependency to latest

* changeset

* Update dependency @graphql-tools/merge to v7 (#6246)

Co-authored-by: Renovate Bot <[email protected]>

* Rename first to take (#6266)

* Expose stacktraces from exceptions thrown in before/after hooks. (#6263)

* 6268/next typescript config error (#6269)

* add typescript ignoreBuildErrors flag

* changeset

* Updated /updates with new things (#6272)

* Check exceptions returned from GraphQL (#6271)

* Lock file maintenance (#6277)

* Allow bearer auth in header using sessionToken (#6276)

* Use Next 11 in the website (#6256)

* 6223/custom pages guide improvements (#6264)

* update example to include helper components

* update docs and examples

* update docs and examples

* update to docs

* more updates

* changeset

* correct incorrect props in README.md

* update smoke test

* update images

* update example

* update tests

* remove next dep from package.json

* updates

* re-add schema.prisma for admin-ui-navigation example

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Apply suggestions from code review

Co-authored-by: Tim Leslie <[email protected]>

* update docs

* revert change to next-env.d.ts

* Apply suggestions from code review

Co-authored-by: Tim Leslie <[email protected]>

Co-authored-by: Tim Leslie <[email protected]>

* Update dependency eslint-plugin-import to ^2.24.0 (#6285)

Co-authored-by: Renovate Bot <[email protected]>

* Fix updates bit on the website (#6288)

* Include stacktrace flag (#6267)

* Remove `gqlType` option on `autoIncrement` field type (#6280)

* Use playwright install-deps (#6294)

* Update patch dependencies (patch) (#6284)

* Update prisma monorepo to v2.29.0 (minor) (#6292)

* Nested filters (#6095)

* GraphQL API docs changes (#6297)

* Update dependency @types/jest to v27 (#6293)

* Ignore generated files in prisma-utils (#6305)

* Move import of mergeSchemas (#6310)

* Update resolveInput error handling (#6316)

* Upgrade Next to 11.1.0 for the website (#6311)

* Update @graphql-ts/schema (#6312)

* Lock file maintenance (#6320)

* Split create/update field input resolvers for relationship fields (#6317)

* Expand editable area (#6318)

* POC - Expand editable area

* Change things

* Create cyan-rabbits-look.md

Co-authored-by: mitchellhamilton <[email protected]>

* Fixed import url on CustomNavigation component (#6308)

Co-authored-by: Tim Leslie <[email protected]>

* Update text filter API table (#6330)

* Update the tags in the docs navigation (#6329)

* Update patch dependencies (patch) (#6331)

* Add a GraphQL API upgrade guide (#6281)

* Fix issue with VisuallyHidden checkbox interactions in table  (#6334)

* resolve CHROME BUG

* changeset

* 6261/fix delete alert (#6296)

* refactor confirm procedure to only add success toast on success

* new deletion logic in Listview

* add crud-notifications test project

* update deletion solution to be more pragmatic at scale

* update bug fix to be more verbose

* update schema.graphql

* minor updates

* fix yarn lint:examples to not break when running more than one test-project

* minor updates to copy

* remove log

* changeset

Co-authored-by: Tim Leslie <[email protected]>

* Version Packages (#6199)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Charles <[email protected]>
Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Mitchell Hamilton <[email protected]>
Co-authored-by: Tim Leslie <[email protected]>
Co-authored-by: Ronald Aveling <[email protected]>
Co-authored-by: Gautam Singh <[email protected]>
Co-authored-by: Charlie Jonas <[email protected]>
Co-authored-by: KeystoneJS Release Bot <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

Co-authored-by: Mitchell Hamilton <[email protected]>
Co-authored-by: Ronald Aveling <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Charles <[email protected]>
Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Tim Leslie <[email protected]>
Co-authored-by: Gautam Singh <[email protected]>
Co-authored-by: Charlie Jonas <[email protected]>
Co-authored-by: KeystoneJS Release Bot <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* adding a devcontainer definition for easier local dev (#6343)

* resolve label bug

* changeset

* Releasing update.

* Move testing package into main package (#6361)

* Move fields package into main package (#6362)

* Move admin-ui-utils into main package (#6367)

* Reorder access control tests (#6369)

* Move utils package into main package (#6368)

* Move types package into main package (#6371)

* Better fix for list view checkbox bug  (#6354)

* Remove old fix, and added position relative to content container to prevent misallignment of hidden inputs and labels on the list view page

* changeset

* Move the exports of `@keystone-next/keystone` to `@keystone-next/keystone/system` (#6377)

* Fixed error from prisma when using `.keystone/api` from `generateNodeAPI` in a API route (#6381)

* Move `@keystone-next/keystone/schema` to `@keystone-next/keystone` (#6378)

* Fix negative `take` values above the list's `graphql.queryLimits.maxResults` not causing an error before getting the values from the database (#6392)

* Update dependency stripe to ^8.170.0 (#6396)

Co-authored-by: Renovate Bot <[email protected]>

* Update @graphql-ts/schema, rename `schema` export to `graphql` and move it to main entrypoint (#6393)

* Update @graphql-ts/schema

* Update prisma utils

* Update patch dependencies (patch) (#6394)

* Lock file maintenance (#6386)

* Add comments explaining that the schema files are generated in the schema files (#6397)

* Improve performance of create item modal with many fields (#6390)

* 6261/delete alert tests (#6382)

* new deletion logic in Listview

* add crud-notifications test project

* update deletion solution to be more pragmatic at scale

* update bug fix to be more verbose

* minor updates to copy

* remove log

* init

* updated delete notif tests

* update usage of deleteAll utility

* update test.yml to include new test file

* remove onconnect and unnecessary try catch

* comments

* update gitignore

* update tests and schema.graphql

* remove headless false flag

* remove unnecessary closure, update failing test

* remove unnecessary try/catch block

* fix test add throw statement to errors

* add waitForNaigation to beforeEach to avoid navigation destroying evaluation context

* remove navigation in beforeAll altogether

* add acess control headers to fix ff preflight errors

* sub out fetch for node-fetch and circumvent weird preflight issues via page.evaluate

* remove page argument from seedData fn

* update yarn.lock

* simplify code by exporting deleteAllData and moving projectRoot resolution

* Add `introspection` support to Apollo Server Config (#6391)

* Allow support for introspection.

* Create great-cougars-argue.md

* Update patch dependencies (#6398)

Co-authored-by: Renovate Bot <[email protected]>

* Update master from website live (#6402)

* Update index.tsx (#6278)

* Fix updates bit on the website (#6287)

* Content management update (#6282)

* Add Wes Testimonial. Cleanup.

* Typos

* Fixed whitespace (#6283)

* Update Header.tsx (#6289)

* Add CTA block for Web Box eCommerce Course (#6273)

* Content update (#6290)

* Style fixes (#6291)

* Fix styles: CommunityCta

* Fix Styles: Homepage

* Stylefix: Wes CTA block

* Style fixes: Why Keystone

* Style fixes: Content Management

* Style fixes: Developers

* Style fixes: Organisations

* Style fixes: Prose lite

Reverts text color to default `--text` var per Figma

* Style fixes: Docs Home

* Stye fixes: examples CTA

* Added new content to /updates (#6300)

* Update fields.mdx (#6304)

* Fixed typo (#6322)

* Added top margin to docs page component (#6301)

* Added styles to table (#6315)

* Added styles to table

* Update prose-lite.ts

* Update prose-lite.ts

* Update prose-lite.ts

Co-authored-by: Thomas Walker <[email protected]>

* Un-nest <Head> tags. (#6327)

* Fixed link value (#6328)

* Update `website_live` (#6336)

* Update patch dependencies (patch) (#6253)

* Update search config to match new DocSearch config (#6255)

* Update dependency/apollo client (#6259)

* update apolloclient dependency to latest

* changeset

* Update dependency @graphql-tools/merge to v7 (#6246)

Co-authored-by: Renovate Bot <[email protected]>

* Rename first to take (#6266)

* Expose stacktraces from exceptions thrown in before/after hooks. (#6263)

* 6268/next typescript config error (#6269)

* add typescript ignoreBuildErrors flag

* changeset

* Updated /updates with new things (#6272)

* Check exceptions returned from GraphQL (#6271)

* Lock file maintenance (#6277)

* Allow bearer auth in header using sessionToken (#6276)

* Use Next 11 in the website (#6256)

* 6223/custom pages guide improvements (#6264)

* update example to include helper components

* update docs and examples

* update docs and examples

* update to docs

* more updates

* changeset

* correct incorrect props in README.md

* update smoke test

* update images

* update example

* update tests

* remove next dep from package.json

* updates

* re-add schema.prisma for admin-ui-navigation example

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Apply suggestions from code review

Co-authored-by: Tim Leslie <[email protected]>

* update docs

* revert change to next-env.d.ts

* Apply suggestions from code review

Co-authored-by: Tim Leslie <[email protected]>

Co-authored-by: Tim Leslie <[email protected]>

* Update dependency eslint-plugin-import to ^2.24.0 (#6285)

Co-authored-by: Renovate Bot <[email protected]>

* Fix updates bit on the website (#6288)

* Include stacktrace flag (#6267)

* Remove `gqlType` option on `autoIncrement` field type (#6280)

* Use playwright install-deps (#6294)

* Update patch dependencies (patch) (#6284)

* Update prisma monorepo to v2.29.0 (minor) (#6292)

* Nested filters (#6095)

* GraphQL API docs changes (#6297)

* Update dependency @types/jest to v27 (#6293)

* Ignore generated files in prisma-utils (#6305)

* Move import of mergeSchemas (#6310)

* Update resolveInput error handling (#6316)

* Upgrade Next to 11.1.0 for the website (#6311)

* Update @graphql-ts/schema (#6312)

* Lock file maintenance (#6320)

* Split create/update field input resolvers for relationship fields (#6317)

* Expand editable area (#6318)

* POC - Expand editable area

* Change things

* Create cyan-rabbits-look.md

Co-authored-by: mitchellhamilton <[email protected]>

* Fixed import url on CustomNavigation component (#6308)

Co-authored-by: Tim Leslie <[email protected]>

* Update text filter API table (#6330)

* Update the tags in the docs navigation (#6329)

* Update patch dependencies (patch) (#6331)

* Add a GraphQL API upgrade guide (#6281)

* Fix issue with VisuallyHidden checkbox interactions in table  (#6334)

* resolve CHROME BUG

* changeset

* 6261/fix delete alert (#6296)

* refactor confirm procedure to only add success toast on success

* new deletion logic in Listview

* add crud-notifications test project

* update deletion solution to be more pragmatic at scale

* update bug fix to be more verbose

* update schema.graphql

* minor updates

* fix yarn lint:examples to not break when running more than one test-project

* minor updates to copy

* remove log

* changeset

Co-authored-by: Tim Leslie <[email protected]>

* Version Packages (#6199)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Charles <[email protected]>
Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Mitchell Hamilton <[email protected]>
Co-authored-by: Tim Leslie <[email protected]>
Co-authored-by: Ronald Aveling <[email protected]>
Co-authored-by: Gautam Singh <[email protected]>
Co-authored-by: Charlie Jonas <[email protected]>
Co-authored-by: KeystoneJS Release Bot <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Release notes for 2021-08-17 release (#6345)

* New release notes.

* Update index.tsx

* Update 2021-08-17.mdx

* Update next-env.d.ts

* Update index.mdx

* Update 2021-08-17.mdx

* Fixed markdown for bold styles (#6346)

* Update wording on upgrade guide and release notes (#6353)

* Updates nav additions (#6366)

* Relocated "K5 vs K6" guidance

* Updated sidebar navigation content for `/updates`

* Update new-graphql-api.mdx (#6375)

* Updated URLs (#6374)

* Tweaking docs for Next.js walkthrough for latest version (#6383)

* Tweaking docs for Next.js walkthrough.

* Update next-env.d.ts

* Added upgrade notices to GraphQL API related pages (#6387)

* Fixed link color inconsistency (#6388)

* Add note to use `yarn` in the embedded Next.js guide (#6384)

* Tweaking docs for Next.js walkthrough.

* Update next-env.d.ts

* Update embedded-mode-with-sqlite-nextjs.mdx

* [WIP] Related content links (#6360)

* WIP: get well in bottom of page

* New RelatedContent component.

* Added related content for POC

* Added more related content cards

* Updated guides index

* Styles fix for inline code within <Well> component

Co-authored-by: Thomas Walker <[email protected]>

* Added 2x testimonials (#6400)

Co-authored-by: Mitchell Hamilton <[email protected]>
Co-authored-by: Ronald Aveling <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Charles <[email protected]>
Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Tim Leslie <[email protected]>
Co-authored-by: Gautam Singh <[email protected]>
Co-authored-by: Charlie Jonas <[email protected]>
Co-authored-by: KeystoneJS Release Bot <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Add config.experimental.contextInitialisedLists (#6403)

* fixed count in relationship field count mode (#6385)

Co-authored-by: Tim Leslie <[email protected]>

* Add graphql.isEnabled config option at the list and field levels (#6376)

* fix List Items API link on new-graphql-api page (#6404)

* merge aria-description text into aria-label (#6412)

* merge aria-description text into aria-label

* chnageset

* Ensure relationship input types respect graphql.isEnabled (#6408)

* Add isFilterable and isOrderable config options (#6416)

* Add seed data feature to examples (#6370)

* Progress commit.

* Replaced Lorem Ipsum with Public Domain content

* Progress commit (task manager seed data)

* Progress commit.

* Final tweaks for TS.

* Update index.ts

* Create tiny-guests-sin.md

* TS tweaks.

Co-authored-by: Ronald Aveling <[email protected]>

* Fixing the "try the v5 site" link in the docs site (#6411)

* Fixing the "try the v5 site" link in the docs site

* Adding a note on security and a (redundant) check for a leading slash in the path

* Add dynamic tab index logic for navigation on website (#6418)

* wip

* Progress commit.

Add to Header to prevent duplication, needs further testing.

* Progress commit.

* Moving logic up to Header.

* Update Navigation.tsx

* Update next-env.d.ts

* Update Header.tsx

Co-authored-by: Dominik Wilkowski <[email protected]>

* Code cosmetics in Admin UI (#6422)

* Update example READMEs with seed data instructions (#6419)

* POC commit

* Typo

* Update examples/task-manager/README.md

Co-authored-by: Tim Leslie <[email protected]>

* Edits to blog README

Co-authored-by: Tim Leslie <[email protected]>

* Replace graphql.isEnabled with graphql.omit (#6420)

* Update index.ts (#6424)

* Lock file maintenance (#6425)

* Update prisma monorepo to v2.30.2 (minor) (#6433)

* Update typescript-eslint monorepo to ^4.30.0 (#6434)

* Update patch dependencies (patch) (#6431)

* Next 11 (#6414)

* Respect graphql.omit in fieldMode resolvers (#6429)

* Update dependency @graphql-tools/schema to ^8.2.0 (#6441)

Co-authored-by: Renovate Bot <[email protected]>

* Update dependency @changesets/cli to ^2.17.0 (#6439)

* Update patch dependencies (#6438)

Co-authored-by: Renovate Bot <[email protected]>

* Change isUnique: true to isIndexed: 'unique' in fields (#6437)

* Remove unused dependency (#6443)

* Update dependency typescript to ^4.4.2 (#6432)

* Integration tests admin UI (#6260)

* navigation tests

* more navigation related tests

* commit out bad test

* update schema.graphql

* update nav tests

* update schema.graphql

* update tests.yml to include navigation admin-ui test

* fix tests

* add determinism to init.test.ts

* update nav test to be a bit more deterministic

* update init.test.ts

* rename seedData fn and move it to utils module

* remove log

* update util for better errors

* remove unnecessary try catch

* Fix CodeSandbox CI packages when @keystone-ui packages change (#6445)

* Clean up blog schema (#6449)

* Update embedded-mode-with-sqlite-nextjs.mdx (#6444)

* Fix styles on document field demo (#6446)

* Add getChildTag fn to Inline component (#6453)

* move getChildTag to util, apply to Inline component as well

* update comment

* changeset

* replace padding-inline-start with more standard padding-left

* Admin UI menu available for unauthenticated users (#6459)

* Rename fieldPath to fieldKey in hook arguments (#6455)

* Add config.graphql.path option (#6458)

* Fix a process crash when createContext() fails for the Admin UI (#6462)

* Fix a process crash when createContext() fails for the Admin UI

* Lock file maintenance (#6466)

* Fast Graphql API Startup in Dev (#6463)

* Add extendExpressApp config option (#6467)

* Update access control APIs (#6426)

* Version Packages (#6339)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Update `master` with `website_live` (#6470)

* Update index.tsx (#6278)

* Fix updates bit on the website (#6287)

* Content management update (#6282)

* Add Wes Testimonial. Cleanup.

* Typos

* Fixed whitespace (#6283)

* Update Header.tsx (#6289)

* Add CTA block for Web Box eCommerce Course (#6273)

* Content update (#6290)

* Style fixes (#6291)

* Fix styles: CommunityCta

* Fix Styles: Homepage

* Stylefix: Wes CTA block

* Style fixes: Why Keystone

* Style fixes: Content Management

* Style fixes: Developers

* Style fixes: Organisations

* Style fixes: Prose lite

Reverts text color to default `--text` var per Figma

* Style fixes: Docs Home

* Stye fixes: examples CTA

* Added new content to /updates (#6300)

* Update fields.mdx (#6304)

* Fixed typo (#6322)

* Added top margin to docs page component (#6301)

* Added styles to table (#6315)

* Added styles to table

* Update prose-lite.ts

* Update prose-lite.ts

* Update prose-lite.ts

Co-authored-by: Thomas Walker <[email protected]>

* Un-nest <Head> tags. (#6327)

* Fixed link value (#6328)

* Update `website_live` (#6336)

* Update patch dependencies (patch) (#6253)

* Update search config to match new DocSearch config (#6255)

* Update dependency/apollo client (#6259)

* update apolloclient dependency to latest

* changeset

* Update dependency @graphql-tools/merge to v7 (#6246)

Co-authored-by: Renovate Bot <[email protected]>

* Rename first to take (#6266)

* Expose stacktraces from exceptions thrown in before/after hooks. (#6263)

* 6268/next typescript config error (#6269)

* add typescript ignoreBuildErrors flag

* changeset

* Updated /updates with new things (#6272)

* Check exceptions returned from GraphQL (#6271)

* Lock file maintenance (#6277)

* Allow bearer auth in header using sessionToken (#6276)

* Use Next 11 in the website (#6256)

* 6223/custom pages guide improvements (#6264)

* update example to include helper components

* update docs and examples

* update docs and examples

* update to docs

* more updates

* changeset

* correct incorrect props in README.md

* update smoke test

* update images

* update example

* update tests

* remove next dep from package.json

* updates

* re-add schema.prisma for admin-ui-navigation example

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Update docs/pages/docs/guides/custom-admin-ui-pages.mdx

Co-authored-by: Tim Leslie <[email protected]>

* Apply suggestions from code review

Co-authored-by: Tim Leslie <[email protected]>

* update docs

* revert change to next-env.d.ts

* Apply suggestions from code review

Co-authored-by: Tim Leslie <[email protected]>

Co-authored-by: Tim Leslie <[email protected]>

* Update dependency eslint-plugin-import to ^2.24.0 (#6285)

Co-authored-by: Renovate Bot <[email protected]>

* Fix updates bit on the website (#6288)

* Include stacktrace flag (#6267)

* Remove `gqlType` option on `autoIncrement` field type (#6280)

* Use playwright install-deps (#6294)

* Update patch dependencies (patch) (#6284)

* Update prisma monorepo to v2.29.0 (minor) (#6292)

* Nested filters (#6095)

* GraphQL API docs changes (#6297)

* Update dependency @types/jest to v27 (#6293)

* Ignore generated files in prisma-utils (#6305)

* Move import of mergeSchemas (#6310)

* Update resolveInput error handling (#6316)

* Upgrade Next to 11.1.0 for the website (#6311)

* Update @graphql-ts/schema (#6312)

* Lock file maintenance (#6320)

* Split create/update field input resolvers for relationship fields (#6317)

* Expand editable area (#6318)

* POC - Expand editable area

* Change things

* Create cyan-rabbits-look.md

Co-authored-by: mitchellhamilton <[email protected]>

* Fixed import url on CustomNavigation component (#6308)

Co-authored-by: Tim Leslie <[email protected]>

* Update text filter API table (#6330)

* Update the tags in the docs navigation (#6329)

* Update patch dependencies (patch) (#6331)

* Add a GraphQL API upgrade guide (#6281)

* Fix issue with VisuallyHidden checkbox interactions in table  (#6334)

* resolve CHROME BUG

* changeset

* 6261/fix delete alert (#6296)

* refactor confirm procedure to only add success toast on success

* new deletion logic in Listview

* add crud-notifications test project

* update deletion solution to be more pragmatic at scale

* update bug fix to be more verbose

* update schema.graphql

* minor updates

* fix yarn lint:examples to not break when running more than one test-project

* minor updates to copy

* remove log

* changeset

Co-authored-by: Tim Leslie <[email protected]>

* Version Packages (#6199)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Charles <[email protected]>
Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Mitchell Hamilton <[email protected]>
Co-authored-by: Tim Leslie <[email protected]>
Co-authored-by: Ronald Aveling <[email protected]>
Co-authored-by: Gautam Singh <[email protected]>
Co-authored-by: Charlie Jonas <[email protected]>
Co-authored-by: KeystoneJS Release Bot <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Release notes for 2021-08-17 release (#6345)

* New release notes.

* Update index.tsx

* Update 2021-08-17.mdx

* Update next-env.d.ts

* Update index.mdx

* Update 2021-08-17.mdx

* Fixed markdown for bold styles (#6346)

* Update wording on upgrade guide and release notes (#6353)

* Updates nav additions (#6366)

* Relocated "K5 vs K6" guidance

* Updated sidebar navigation content for `/updates`

* Update new-graphql-api.mdx (#6375)

* Updated URLs (#6374)

* Tweaking docs for Next.js walkthrough for latest version (#6383)

* Tweaking docs for Next.js walkthrough.

* Update next-env.d.ts

* Added upgrade notices to GraphQL API related pages (#6387)

* Fixed link color inconsistency (#6388)

* Add note to use `yarn` in the embedded Next.js guide (#6384)

* Tweaking docs for Next.js walkthrough.

* Update next-env.d.ts

* Update embedded-mode-with-sqlite-nextjs.mdx

* [WIP] Related content links (#6360)

* WIP: get well in bottom of page

* New RelatedContent component.

* Added related content for POC

* Added more related content cards

* Updated guides index

* Styles fix for inline code within <Well> component

Co-authored-by: Thomas Walker <[email protected]>

* Added 2x testimonials (#6400)

* Typo (#6405)

* Replaced absolute links with relative (#6406)

* Fix broken link (#6407)

To copy https://github.com/keystonejs/keystone/pull/6404 for `website_live` branch

* Add missing <Link>'s in docs pages. (#6421)

* Add `Edit on GitHub` button to all docs pages (#6423)

* Progress commit.

* Update EditButton.tsx

* Update EditButton.tsx

* Tab index improvements. (#6427)

* Update EditButton.tsx (#6428)

* Fix styles on document field demo on website live (#6447)

* Content edits (#6451)

* Changes to global header (#6452)

Co-authored-by: Mitchell Hamilton <[email protected]>
Co-authored-by: Ronald Aveling <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Charles <[email protected]>
Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Tim Leslie <[email protected]>
Co-authored-by: Gautam Singh <[email protected]>
Co-authored-by: Charlie Jonas <[email protected]>
Co-authored-by: KeystoneJS Release Bot <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

Co-authored-by: Mitchell Hamilton <[email protected]>
Co-authored-by: Ronald Aveling <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Charles <[email protected]>
Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Tim Leslie <[email protected]>
Co-authored-by: Gautam Singh <[email protected]>
Co-authored-by: Charlie Jonas <[email protected]>
Co-authored-by: KeystoneJS Release Bot <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Aaron Powell <[email protected]>
Co-authored-by: Josh Calder <[email protected]>
Co-authored-by: Ronald Aveling <[email protected]>
Co-authored-by: John Molomby <[email protected]>
Co-authored-by: Dominik Wilkowski <[email protected]>
Co-authored-by: Jed Watson <[email protected]>

* Remove link to non-existant document (#6475)

* typo (#6485)

* content updates (#6486)

* Fixed typos (#6491)

* Revert project creation instructions (#6492)

* Revert project creation instructions

* Update embedded-mode-with-sqlite-nextjs.mdx

* Update embedded-mode-with-sqlite-nextjs.mdx

* Update embedded-mode-with-sqlite-nextjs.mdx

Co-authored-by: Thomas Walker <[email protected]>

* typo fix (#6493)

* Make all docs pages editable via Github (#6494)

* Fix link to item section in page (#6502)

* Add filter api links to access control api page (#6506)

* Fix explanation of allowed Field-level operations (#6510)

* Update embedded-mode-with-sqlite-nextjs.mdx (#6516)

* Deployment examples (#6527)

* Updated examples index

* Exposed example subsections, and docs parent links in nav

* Fixed links

* Deployment examples (#6528)

* Updated examples index

* Exposed example subsections, and docs parent links in nav

* Fixed links

* Update Navigation.tsx

* Fixed Noviny's suggestions

* Lint fix

Co-authored-by: Thomas Walker <[email protected]>

* Update DocumentEditorDemo.tsx (#6529)

* `create-keystone-app` outputed URLs sometimes have hidden characters, cater for this (#6533)

* Update redirects.js

* Fixes.

* Landing page cta (#6464)

* WIP

* make gradients pass AA

* responsive tweaks

* landings cleanup

* add arrow back to well

* place CTA on relevant pages

* revert tokens

* decomponentise

* WIP copy stamp

* remove bounding box

* WIP

* Introduce new icons

* Landing page CTA block content updates

* Tweak max width slightly for Firefox.

Co-authored-by: Thomas Walker <[email protected]>

* Updated `Quote` component styles in Docsfield Demo (#6541)

* Updated `Quote` component styles in Docsfield Demo

* Linty stuff

* Update docs. (#6561)

* Updates. (#6563)

* Update getting-started-with-create-keystone-app.mdx (#6566)

* Improve documentation for chromeless feature (#6572)

* Improve documentation for chromeless feaure

* Making docs clearer.

* Update document-fields.mdx

Co-authored-by: Thomas Walker <[email protected]>

* Update custom-admin-ui-logo.mdx (#6585)

* Q&A banner for website (#6589)

* Q&A Banner.

* Update Page.tsx

* Formatting.

* Updates.

* Update Keystone5DocsCTA.tsx

* TS.

* Update schema.mdx (#6594)

Remove reference to allUsers

* Typo (#6628)

a => at

* Update banner post Q&A. (#6633)

* Adding Splitbee. (#6636)

* Edit suggestions (#6586)

* Youtube 2 (#6646)

* Added Youtube component

* Add YouTube SVG path

* Added YouTube link to Socials component

* Added railway example (#6648)

* Update resolvedData docs for relationships - take 2 (#6665)

* Update Header.tsx (#6661)

* Try bumping the cache version number (#6673)

* New updates for `/updates` (#6671)

* Update index.tsx

* Update docs/pages/updates/index.tsx

Co-authored-by: Tim Leslie <[email protected]>

* Update docs/pages/updates/index.tsx

Co-authored-by: Tim Leslie <[email protected]>

* Update index.tsx

* Update index.tsx

Co-authored-by: Tim Leslie <[email protected]>

* Create email-welcome-banner.png (#6677)

* Remove reference to defaultValue on relationship field (#6679)

* Update virtual-fields.mdx (#6695)

Co-authored-by: Mitchell Hamilton <[email protected]>
Co-authored-by: Ronald Aveling <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Charles <[email protected]>
Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Tim Leslie <[email protected]>
Co-authored-by: Gautam Singh <[email protected]>
Co-authored-by: Charlie Jonas <[email protected]>
Co-authored-by: KeystoneJS Release Bot <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Aaron Powell <[email protected]>
Co-authored-by: Josh Calder <[email protected]>
Co-authored-by: Ronald Aveling <[email protected]>
Co-authored-by: John Molomby <[email protected]>
Co-authored-by: Dominik Wilkowski <[email protected]>
Co-authored-by: Jed Watson <[email protected]>
Co-authored-by: Lochlan Bunn <[email protected]>
Co-authored-by: Noorullah Ahmadzai <[email protected]>
Co-authored-by: Jake Giri <[email protected]>
  • Loading branch information
20 people authored Oct 5, 2021
1 parent a7a4029 commit cb99b6c
Show file tree
Hide file tree
Showing 40 changed files with 1,409 additions and 373 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ jobs:
path: |
${{ steps.yarn-cache-dir-path.outputs.dir }}
node_modules
key: ${{ runner.os }}-yarn-v4-${{ hashFiles('yarn.lock') }}
key: ${{ runner.os }}-yarn-v5-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-v4-
${{ runner.os }}-yarn-v5-
- name: Install Dependencies
run: yarn
Expand Down Expand Up @@ -136,9 +136,9 @@ jobs:
path: |
${{ steps.yarn-cache-dir-path.outputs.dir }}
node_modules
key: ${{ runner.os }}-yarn-v4-${{ hashFiles('yarn.lock') }}
key: ${{ runner.os }}-yarn-v5-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-v4-
${{ runner.os }}-yarn-v5-
- name: Install Dependencies
run: yarn
Expand Down Expand Up @@ -191,9 +191,9 @@ jobs:
path: |
${{ steps.yarn-cache-dir-path.outputs.dir }}
node_modules
key: ${{ runner.os }}-yarn-v4-${{ hashFiles('yarn.lock') }}
key: ${{ runner.os }}-yarn-v5-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-v4-
${{ runner.os }}-yarn-v5-
- name: Install Dependencies
run: yarn
Expand Down Expand Up @@ -229,9 +229,9 @@ jobs:
path: |
${{ steps.yarn-cache-dir-path.outputs.dir }}
node_modules
key: ${{ runner.os }}-yarn-v4-${{ hashFiles('yarn.lock') }}
key: ${{ runner.os }}-yarn-v5-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-v4-
${{ runner.os }}-yarn-v5-
- name: Install Dependencies
run: yarn
Expand Down Expand Up @@ -290,9 +290,9 @@ jobs:
path: |
${{ steps.yarn-cache-dir-path.outputs.dir }}
node_modules
key: ${{ runner.os }}-yarn-v4-${{ hashFiles('yarn.lock') }}
key: ${{ runner.os }}-yarn-v5-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-v4-
${{ runner.os }}-yarn-v5-
- name: Install Dependencies
if: needs.should_run_tests.outputs.shouldRunTests == 'true'
Expand Down Expand Up @@ -340,9 +340,9 @@ jobs:
path: |
${{ steps.yarn-cache-dir-path.outputs.dir }}
node_modules
key: ${{ runner.os }}-yarn-v4-${{ hashFiles('yarn.lock') }}
key: ${{ runner.os }}-yarn-v5-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-v4-
${{ runner.os }}-yarn-v5-
- name: Install Dependencies
if: needs.should_run_tests.outputs.shouldRunTests == 'true'
Expand Down Expand Up @@ -379,9 +379,9 @@ jobs:
path: |
${{ steps.yarn-cache-dir-path.outputs.dir }}
node_modules
key: ${{ runner.os }}-yarn-v4-${{ hashFiles('yarn.lock') }}
key: ${{ runner.os }}-yarn-v5-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-v4-
${{ runner.os }}-yarn-v5-
- name: Install Dependencies
run: yarn
Expand Down
4 changes: 4 additions & 0 deletions docs/components/Announce.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ export function Announce({ children, ...props }: AnnounceProps) {
<div
css={{
'--focus': '#fff',
// standard styling (blue)
background: 'var(--brand-bg)',
// special styling (orange gradient)
// backgroundColor: 'var(--grad4-2)',
// backgroundImage: `linear-gradient(116.01deg, var(--grad4-2), var(--grad4-1))`,
color: 'var(--brand-text)',
padding: '1rem',
textAlign: 'center',
Expand Down
30 changes: 27 additions & 3 deletions docs/components/Page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,38 @@ import { Announce } from '../components/Announce';
import { TableOfContents } from './docs/TableOfContents';
import { Wrapper } from './primitives/Wrapper';
import { EditButton } from './primitives/EditButton';
// import { Emoji } from './primitives/Emoji';
import { Breadcrumbs } from './Breadcrumbs';
import { Sidebar } from './docs/Sidebar';
import { Stack } from './primitives/Stack';
import { Header } from './Header';
import { Footer } from './Footer';

function Announcement() {
// special announcement
// return (
// <Announce>
// <Emoji symbol="🎤" alt="Microphone" />{' '}
// <a
// href="https://306ucv95ugh.typeform.com/to/TbFERbep"
// rel="noopener noreferrer"
// target="_blank"
// >
// Join us
// </a>{' '}
// for our first <strong>Community Q&A</strong> next{' '}
// <strong>Tuesday Sep 21st @ 3–4pm AEST</strong> –{' '}
// <a
// href="https://306ucv95ugh.typeform.com/to/TbFERbep"
// rel="noopener noreferrer"
// target="_blank"
// >
// Register now
// </a>
// !
// </Announce>
// );
// standard announcement
return (
<Announce>
Keystone 6 is in <Link href="/updates/roadmap">Community Preview</Link>! For Keystone 5 docs
Expand Down Expand Up @@ -131,9 +156,8 @@ export function DocsPage({
css={{ justifyContent: 'space-between', alignItems: 'baseline' }}
>
<Breadcrumbs />
{!isUpdatesPage && (
<EditButton pathName={pathname} isIndexPage={isIndexPage} editPath={editPath} />
)}

<EditButton pathName={pathname} isIndexPage={isIndexPage} editPath={editPath} />
</Stack>
{children}
</main>
Expand Down
21 changes: 20 additions & 1 deletion docs/components/Socials.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ import { jsx } from '@emotion/react';
import { HTMLAttributes } from 'react';

import { Twitter } from './icons/Twitter';
import { YouTube } from './icons/YouTube';
import { Slack } from './icons/Slack';

export function Socials(props: HTMLAttributes<HTMLElement>) {
return (
<div
css={{
display: 'inline-grid',
gridTemplateColumns: '1fr 1fr',
gridTemplateColumns: '1fr 1fr 1fr',
gap: 'var(--space-large)',
alignItems: 'center',
marginLeft: 'auto',
Expand Down Expand Up @@ -67,6 +68,24 @@ export function Socials(props: HTMLAttributes<HTMLElement>) {
>
<Slack css={{ height: '1.5em' }} />
</a>
<a
href="https://www.youtube.com/channel/UClWScN0YMgpN7swHVaEPKuQ"
target="_blank"
rel="noopener noreferrer"
css={{
display: 'inline-flex',
padding: 0,
justifyContent: 'center',
borderRadius: '100%',
color: 'currentColor',
transition: 'color 0.3s ease',
':hover': {
color: '#fb0202',
},
}}
>
<YouTube css={{ height: '2em' }} />
</a>
</div>
);
}
4 changes: 3 additions & 1 deletion docs/components/docs/DocumentEditorDemo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -296,15 +296,17 @@ export const DocumentEditorDemo = () => {
'blockquote, p, pre': {
marginTop: '1em',
marginBottom: '1em',
lineHeight: 1.75,
},
'h1,h2,h3,h4,h5,h6': { fontWeight: 'bold', margin: 0 },
'h1,h2,h3,h4,h5,h6': { fontWeight: 'bold', margin: 0, lineHeight: 1.75 },
h1: { fontSize: 'var(--font-xxlarge)' },
h2: { fontSize: 'var(--font-large)' },
h3: { fontSize: 'var(--font-medium)' },
h5: { fontSize: 'var(--font-xsmall)' },
h6: { fontSize: 'var(--font-xxsmall)' },
'ul, ol': {
paddingLeft: 40,
lineHeight: 1.75,
},
}}
>
Expand Down
4 changes: 2 additions & 2 deletions docs/components/docs/GitHubExamplesCTA.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function GitHubExamplesCTA() {
margin: '0 1rem 0.5rem 0',
}}
>
See the full set of examples in our
All example projects live in the
</span>
<Button
as="a"
Expand All @@ -25,7 +25,7 @@ export function GitHubExamplesCTA() {
target="_blank"
rel="noopener noreferrer"
>
GitHub Repo <ArrowR />
Keystone GitHub repo <ArrowR />
</Button>
</Alert>
);
Expand Down
23 changes: 23 additions & 0 deletions docs/components/docs/Keystone5DocsCTA.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/** @jsxRuntime classic */
/** @jsx jsx */
import { jsx } from '@emotion/react';

import { Alert } from '../primitives/Alert';

export function Keystone5DocsCTA() {
return (
<Alert css={{ margin: '2rem 0' }}>
<span
css={{
display: 'inline-block',
margin: '0 1rem 0rem 0',
}}
>
Using <strong>Keystone 5</strong>? Find the docs at{' '}
<a href="https://v5.keystonejs.com/documentation" target="_blank">
v5.keystonejs.com
</a>
</span>
</Alert>
);
}
41 changes: 25 additions & 16 deletions docs/components/docs/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { Badge } from '../primitives/Badge';
import { Type } from '../primitives/Type';
import { Emoji } from '../primitives/Emoji';

type SectionProps = { label: string; children: ReactNode };
type SectionProps = { label?: string; children: ReactNode };
export function Section({ label, children }: SectionProps) {
return (
<div
Expand All @@ -22,18 +22,20 @@ export function Section({ label, children }: SectionProps) {
marginTop: 'var(--space-xlarge)',
}}
>
<Type
as="h3"
look="body16bold"
margin="var(--space-xlarge) 0 var(--space-large) 0"
color="var(--text-heading)"
css={{
textTransform: 'uppercase',
fontWeight: 700,
}}
>
{label}
</Type>
{label && (
<Type
as="h3"
look="body16bold"
margin="var(--space-xlarge) 0 var(--space-large) 0"
color="var(--text-heading)"
css={{
textTransform: 'uppercase',
fontWeight: 700,
}}
>
{label}
</Type>
)}
{children}
</div>
);
Expand Down Expand Up @@ -142,8 +144,14 @@ export function DocsNavigation() {
>
<PrimaryNavItem href="/docs">Docs Home</PrimaryNavItem>
<PrimaryNavItem href="/docs/walkthroughs">Walkthroughs</PrimaryNavItem>
<PrimaryNavItem href="/docs/examples">Examples</PrimaryNavItem>
<Section label="Guides">
<Section>
<PrimaryNavItem href="/docs/examples">Examples</PrimaryNavItem>
<NavItem href="/docs/examples/#base-projects">Basic</NavItem>
<NavItem href="/docs/examples/#feature-projects">Feature</NavItem>
<NavItem href="/docs/examples/#deployment-projects">Deployment</NavItem>
</Section>
<Section>
<PrimaryNavItem href="/docs/guides">Guides</PrimaryNavItem>
<NavItem href="/docs/guides/cli">Command Line</NavItem>
<NavItem href="/docs/guides/relationships">Relationships</NavItem>
<NavItem href="/docs/guides/filters">
Expand Down Expand Up @@ -180,7 +188,8 @@ export function DocsNavigation() {
Custom Field Views
</NavItem>
</Section>
<Section label="API">
<Section>
<PrimaryNavItem href="/docs/apis">APIs</PrimaryNavItem>
<SubHeading>Config</SubHeading>
<NavItem href="/docs/apis/config">Config API</NavItem>
<NavItem href="/docs/apis/schema">Schema API</NavItem>
Expand Down
26 changes: 26 additions & 0 deletions docs/components/icons/Bulb.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/** @jsx jsx */
import { jsx } from '@emotion/react';

import { Gradients, IconProps } from './util';

export function Bulb({ grad, ...props }: IconProps) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
aria-label="Bulb"
role="img"
fill="none"
stroke={grad ? `url(#Bulb-${grad})` : 'currentColor'}
{...props}
>
<Gradients name="Bulb" />
<path
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth={2}
d="M9.66353 17H14.3365M12 3V4M18.364 5.63604L17.6569 6.34315M21.0001 11.9999H20.0001M4.00005 11.9999H3.00005M6.34315 6.34315L5.63604 5.63604M8.46447 15.5356C6.51184 13.5829 6.51184 10.4171 8.46447 8.46449C10.4171 6.51187 13.5829 6.51187 15.5355 8.46449C17.4882 10.4171 17.4882 13.5829 15.5355 15.5356L14.9884 16.0827C14.3556 16.7155 14 17.5739 14 18.469V19C14 20.1046 13.1046 21 12 21C10.8954 21 10 20.1046 10 19V18.469C10 17.5739 9.64445 16.7155 9.01156 16.0827L8.46447 15.5356Z"
/>
</svg>
);
}
26 changes: 26 additions & 0 deletions docs/components/icons/Question.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/** @jsx jsx */
import { jsx } from '@emotion/react';

import { Gradients, IconProps } from './util';

export function Question({ grad, ...props }: IconProps) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
aria-label="Question"
role="img"
fill="none"
stroke={grad ? `url(#Question-${grad})` : 'currentColor'}
{...props}
>
<Gradients name="Question" />
<path
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth={2}
d="M8.22766 9C8.77678 7.83481 10.2584 7 12.0001 7C14.2092 7 16.0001 8.34315 16.0001 10C16.0001 11.3994 14.7224 12.5751 12.9943 12.9066C12.4519 13.0106 12.0001 13.4477 12.0001 14M12 17H12.01M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12Z"
/>
</svg>
);
}
26 changes: 26 additions & 0 deletions docs/components/icons/Video.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/** @jsx jsx */
import { jsx } from '@emotion/react';

import { Gradients, IconProps } from './util';

export function Video({ grad, ...props }: IconProps) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
aria-label="Video"
role="img"
fill="none"
stroke={grad ? `url(#Video-${grad})` : 'currentColor'}
{...props}
>
<Gradients name="Video" />
<path
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth={2}
d="M15 10L19.5528 7.72361C20.2177 7.39116 21 7.87465 21 8.61803V15.382C21 16.1253 20.2177 16.6088 19.5528 16.2764L15 14M5 18H13C14.1046 18 15 17.1046 15 16V8C15 6.89543 14.1046 6 13 6H5C3.89543 6 3 6.89543 3 8V16C3 17.1046 3.89543 18 5 18Z"
/>
</svg>
);
}
Loading

0 comments on commit cb99b6c

Please sign in to comment.