Skip to content

Commit 1713d88

Browse files
katiegoinesjimblancrenebrandelatierianHuiSF
authored
Merge in from main (#5579)
* chore: Add instructions on using Next.js App Router (#5463) * chore: Update JS Analytics docs to clarify `immediate` flag usage with Kinesis. * chore: Added a section with information on using SSR with Next.js App Router enabled apps. * Cleanup * Cleanup * PR feedback * PR feedback * Update src/fragments/lib/ssr/js/getting-started.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/ssr/js/getting-started.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/ssr/js/getting-started.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/ssr/js/getting-started.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/ssr/js/getting-started.mdx Co-authored-by: Rene Brandel <[email protected]> * PR feedback. * Formatting changes. * Update src/fragments/lib/ssr/js/getting-started.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/ssr/js/getting-started.mdx Co-authored-by: Rene Brandel <[email protected]> --------- Co-authored-by: Rene Brandel <[email protected]> * fix: update amplifyconfiguration.json links and wording (#5459) * chore(flutter,js): clarify the timeliness of validateObjectExistence flag (#5447) * feat(predictions): add amplify-swift predictions v2 documentation (#5427) * add dir paths * update getting started * update identify pages * update interpret APIs * update texttospeech * update transcribe * update translate text * final api updates * add predictions to getting started > next steps * card overlap was fixed (#5457) Co-authored-by: Roman Lavrenov <[email protected]> * feat: adds index directive limitation and callout (#5464) * feat: adds index directive limitation and callout * fix: language typo * chore(deps): bump @aws-amplify/ui-react from 4.6.0 to 4.6.1 (#5444) Bumps [@aws-amplify/ui-react](https://github.com/aws-amplify/amplify-ui/tree/HEAD/packages/react) from 4.6.0 to 4.6.1. - [Release notes](https://github.com/aws-amplify/amplify-ui/releases) - [Changelog](https://github.com/aws-amplify/amplify-ui/blob/main/packages/react/CHANGELOG.md) - [Commits](https://github.com/aws-amplify/amplify-ui/commits/@aws-amplify/[email protected]/packages/react) --- updated-dependencies: - dependency-name: "@aws-amplify/ui-react" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump @aws-amplify/amplify-cli-core from 4.0.4 to 4.0.5 Bumps [@aws-amplify/amplify-cli-core](https://github.com/aws-amplify/amplify-cli/tree/HEAD/packages/amplify-cli-core) from 4.0.4 to 4.0.5. - [Release notes](https://github.com/aws-amplify/amplify-cli/releases) - [Changelog](https://github.com/aws-amplify/amplify-cli/blob/dev/packages/amplify-cli-core/CHANGELOG.md) - [Commits](https://github.com/aws-amplify/amplify-cli/commits/@aws-amplify/[email protected]/packages/amplify-cli-core) --- updated-dependencies: - dependency-name: "@aws-amplify/amplify-cli-core" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Update Readme.md (#5475) Minor grammatical and punctuation changes. * chore(JS): callout for Push Notification migration guide (#5466) * chore(JS): callout for pn migration guide * chore(JS): callout for pn migration guide * chore(CLI): Block switcher for admin actions (#5452) * Block switcher for admin actions * Update src/pages/cli/auth/admin.mdx Co-authored-by: josef <[email protected]> * Update src/pages/cli/auth/admin.mdx Co-authored-by: josef <[email protected]> --------- Co-authored-by: josef <[email protected]> * feat: Multi select mock and functions (#5450) * feat: adds info on multiSelect workflow for mock and functions * Update src/pages/cli/usage/mock.mdx Co-authored-by: josef <[email protected]> * Update src/pages/cli/usage/mock.mdx Co-authored-by: josef <[email protected]> --------- Co-authored-by: josef <[email protected]> * docs(graphql): add sample code reference to cli iam auth section (#5428) * Add DynamoDB config parameters override samples (#5305) * Update override.mdx Add DynamoDB config parameters override samples * Update override.mdx Modified raw url to readable link * Update override.mdx added ProvisionedThroughput reference link * Update override.mdx * Update override.mdx * Update override.mdx add GSI provisionedThroughput overiride sample * Update override.mdx * Update override.mdx * Update override.mdx * Update override.mdx * Update override.mdx * Update override.mdx * Update src/pages/cli/graphql/override.mdx Co-authored-by: josef <[email protected]> * Update src/pages/cli/graphql/override.mdx Co-authored-by: josef <[email protected]> * Update src/pages/cli/graphql/override.mdx Co-authored-by: Amplifiyer <[email protected]> * Update src/pages/cli/graphql/override.mdx Co-authored-by: Amplifiyer <[email protected]> * Update src/pages/cli/graphql/override.mdx Co-authored-by: Amplifiyer <[email protected]> * Update src/pages/cli/graphql/override.mdx Co-authored-by: Amplifiyer <[email protected]> * Update src/pages/cli/graphql/override.mdx Co-authored-by: Amplifiyer <[email protected]> * Update src/pages/cli/graphql/override.mdx Co-authored-by: Amplifiyer <[email protected]> * Update src/pages/cli/graphql/override.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/pages/cli/graphql/override.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/pages/cli/graphql/override.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/pages/cli/graphql/override.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/pages/cli/graphql/override.mdx Co-authored-by: Rene Brandel <[email protected]> --------- Co-authored-by: josef <[email protected]> Co-authored-by: Amplifiyer <[email protected]> Co-authored-by: Rene Brandel <[email protected]> * Update Amplify Android versions (#5469) * Update versions.ts * Update Amplify Android version * Wrpeck/formbuilder update (#5473) * small adjustment to language * adding storagemanager documentation * Adding relationships documentation * final edits to v1 relationships and storage * Update data-binding.mdx Adjusting header for clarity * Update data-binding.mdx Removed unnecessary hint * Update special-inputs.mdx Additional configuration changes * Update data-binding.mdx minor change to heading --------- Co-authored-by: wpeck-amplify <[email protected]> * update import * update vm2 * update dev preview mention (#5484) * update dev preview mention * Update src/fragments/lib/project-setup/flutter/prereq/prereq.mdx Co-authored-by: Jordan Nelson <[email protected]> --------- Co-authored-by: Jordan Nelson <[email protected]> * chore: remove stale explanations from aws-exports.js file reference (#5487) * chore(deps): bump @aws-amplify/graphql-transformer-interfaces (#5485) Bumps [@aws-amplify/graphql-transformer-interfaces](https://github.com/aws-amplify/amplify-category-api/tree/HEAD/packages/amplify-graphql-transformer-interfaces) from 2.1.1 to 2.2.0. - [Release notes](https://github.com/aws-amplify/amplify-category-api/releases) - [Changelog](https://github.com/aws-amplify/amplify-category-api/blob/main/packages/amplify-graphql-transformer-interfaces/CHANGELOG.md) - [Commits](https://github.com/aws-amplify/amplify-category-api/commits/@aws-amplify/[email protected]/packages/amplify-graphql-transformer-interfaces) --- updated-dependencies: - dependency-name: "@aws-amplify/graphql-transformer-interfaces" dependency-type: indirect update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat: add limitation on figma to code (#5482) * chore(deps): bump @aws-amplify/ui-react from 4.6.1 to 4.6.2 (#5480) Bumps [@aws-amplify/ui-react](https://github.com/aws-amplify/amplify-ui/tree/HEAD/packages/react) from 4.6.1 to 4.6.2. - [Release notes](https://github.com/aws-amplify/amplify-ui/releases) - [Changelog](https://github.com/aws-amplify/amplify-ui/blob/main/packages/react/CHANGELOG.md) - [Commits](https://github.com/aws-amplify/amplify-ui/commits/HEAD/packages/react) --- updated-dependencies: - dependency-name: "@aws-amplify/ui-react" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs(predictions): make sure refer Predictions class before using it (#5478) * Addresses aws-amplify/admin-ui#443 (#4340) * Addresses aws-amplify/admin-ui#443 * Update [platform].mdx * Update [platform].mdx * Update [platform].mdx --------- Co-authored-by: John Corser <[email protected]> Co-authored-by: Katie Goines <[email protected]> * "+" sign was removed from copied code snippets (#5492) * plus sign was removed from copied code snippets * removed log import --------- Co-authored-by: Roman Lavrenov <[email protected]> * Remove dev-preview language from mobile authenticators on this docs site as well (#5500) Co-authored-by: Thomas Leing <[email protected]> * redesigned feedback component and mobile secondary nav (#5334) * feedback-component * desktop * mobile styling * style changes * fixed transpiler issue * animation updates * adjustments from alee and rlee * window undefined errors * moved component into page from table of contents * fix hight discrepancy * mobile menu update * animation for mobile menus * Update src/components/FeedbackSticky/index.tsx Co-authored-by: Tim Nguyen <[email protected]> * animation speed adjustments * refactor * PR comment resolutions * wording changes ; * fix mobile menu scroll * passing refs * ref passing trials * .. * fix hook issues and finish refactor * cleanup * fix tests * remove errant } * alee & jacob adjustments * make expand longer * collapse duration * animation adjustment * change collapse speed * change animation ease * fix toc on studio mobile * move mobile menu icons close to divider * animation speed adjustment" --------- Co-authored-by: Tim Nguyen <[email protected]> * fix: mobile secondary nav overlap fix (#5505) * styling fixes for issues introduced by #5334 (#5506) * fix for desktop sizing issues * set explicit widths for toc and secondary nav * tablet breakpoint changes * using correct sizing attributes for flex * change width from % to vw * remove unnecessary flex * remove unneeded flex attributes * chore(Flutter): Amplify Flutter API subscription reconnection guide (#5501) * chore(Flutter): Amplify Flutter API subscription reconnection guide * fix: more verbose * update React Native dependency installations to INCLUDE `amazon-cognito-identity-js` or REMOVE `core-js` as needed (#5498) * Misc. docs engineering improvements (#5495) * Misc. docs engineering improvements * Add comment to explain QSP logic --------- Co-authored-by: Thomas Leing <[email protected]> * add maintenance mode callout for Amplify iOS and Android v1 (#5524) * add maintenance mode callout for Amplify iOS and Android v1 * move callout to reusable fragment * add ios callout to each lib-v1 page * add android callout to each lib-v1 page * add missed pages --------- Co-authored-by: Daddala <[email protected]> Co-authored-by: Ian Saultz <[email protected]> * feat: add unsupported field level auth rule (#5502) * Link checker (#5467) * updated link checker to use puppeteer and axios, just commiting the task and does not include the workflow * add link checker workflow * filter out platform selector from results * update link checker task to mjs * update versions of puppeteer and node * update platform pages list * remove unneeded comments * update yml formatting * readd yarn.lock file * remove lock files from gitignore --------- Co-authored-by: Jacob Logan <[email protected]> * feat(hosting): add guide to deploy a Vite site on Amplify Hosting (#5460) * feat(hosting): add guide to deploy a Vite site on Amplify Hosting * added the page to directory.js * fix: Update screenshots on Social Sign In guide for Facebook & Google (#5489) * fix: Update screenshots for Social Sign In guide * pr changes/image fixes * remove feedback component from mobile (#5525) * feat(data): add docs for CRUD operations between Storage files and GraphQL API records (#5503) * fix(data): update CSPELL dictionary * feat(data): API + files and attachments * feat(data): API + files updates * feat(data): add JavaScript examples to API + files docs * minor phrasing update * style updates * fix spacing * address PR comments * remove JS examples until TS examples are approved * addressing feedback * address PR feedback * address PR feedback * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * add JS code snippets * minor updates * add complete examples * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Ivan Artemiev <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Ivan Artemiev <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Ivan Artemiev <[email protected]> * fix typo * make CLI commands more readable * add location of schema file * final example updates --------- Co-authored-by: Rene Brandel <[email protected]> Co-authored-by: Ivan Artemiev <[email protected]> * chore(amplify-ui): fix docs to change imports to use new packages ui-react-geo and ui-react-notifications (#5508) * chore: fix docs to change imports to use new packages ui-react-geo and ui-react-notifications * chore: replace Geocoder with LocationSearch component * chore: condense step to install aws-amplify * chore: fix install scripts * Update src/fragments/lib/geo/js/geofences.mdx Co-authored-by: Caleb Pollman <[email protected]> * chore: fix Amplify import statement * chore: fix code snippet for App when using withInAppMessaging --------- Co-authored-by: Caleb Pollman <[email protected]> * chore(deps): bump @aws-amplify/graphql-transformer-interfaces (#5538) Bumps [@aws-amplify/graphql-transformer-interfaces](https://github.com/aws-amplify/amplify-category-api/tree/HEAD/packages/amplify-graphql-transformer-interfaces) from 2.2.0 to 2.2.1. - [Release notes](https://github.com/aws-amplify/amplify-category-api/releases) - [Changelog](https://github.com/aws-amplify/amplify-category-api/blob/main/packages/amplify-graphql-transformer-interfaces/CHANGELOG.md) - [Commits](https://github.com/aws-amplify/amplify-category-api/commits/@aws-amplify/[email protected]/packages/amplify-graphql-transformer-interfaces) --- updated-dependencies: - dependency-name: "@aws-amplify/graphql-transformer-interfaces" dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(js): Clarify in-app enum import source (#5531) * chore(js): Clarify in-app enum import source * Use ts/js switcher instead of callout * feat(data): add API record id to Storage file prefix for API + Storage docs; update comments; update callout (#5533) * feat(data): add API record id to Storage file prefix for API + Storage docs; update comments; update callout * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * address PR feedback --------- Co-authored-by: Rene Brandel <[email protected]> * chore: callout need for additional permissions for containers (#5542) * chore: callout need for additional permissions for containers * remove extra 'policy' * swift(storage): add validateObjectExistence example (#5532) * fix: index entrypoint reference and add react app creation (#5520) * fix: index reference and add react app creation * fix: typo * Update src/pages/console/formbuilder/overview.mdx Co-authored-by: josef <[email protected]> * Update src/pages/console/uibuilder/figmatocode.mdx Co-authored-by: josef <[email protected]> --------- Co-authored-by: josef <[email protected]> * feat(data): add docs for working with multiple files with Storage and GraphQL API; updates to existing code examples (#5539) * fix(data): update CSPELL dictionary * feat(data): API + files and attachments * feat(data): API + files updates * feat(data): add JavaScript examples to API + files docs * minor phrasing update * style updates * fix spacing * address PR comments * remove JS examples until TS examples are approved * addressing feedback * address PR feedback * address PR feedback * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * add JS code snippets * minor updates * add complete examples * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Ivan Artemiev <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Ivan Artemiev <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Ivan Artemiev <[email protected]> * fix typo * make CLI commands more readable * add location of schema file * working with multiple images * final example updates * updates * feat(data): add API record id to Storage file prefix for API + Storage docs; update comments; update callout * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * add all examples * minor updates to existing examples * Apply suggestions from code review Co-authored-by: Rene Brandel <[email protected]> * remove outdated examples * completed multi-file examples * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Jon Wire <[email protected]> * address PR feedback --------- Co-authored-by: Rene Brandel <[email protected]> Co-authored-by: Ivan Artemiev <[email protected]> Co-authored-by: Jon Wire <[email protected]> * chore(deps): bump @aws-amplify/ui-react from 4.6.4 to 5.0.0 (#5544) Bumps [@aws-amplify/ui-react](https://github.com/aws-amplify/amplify-ui/tree/HEAD/packages/react) from 4.6.4 to 5.0.0. - [Release notes](https://github.com/aws-amplify/amplify-ui/releases) - [Changelog](https://github.com/aws-amplify/amplify-ui/blob/main/packages/react/CHANGELOG.md) - [Commits](https://github.com/aws-amplify/amplify-ui/commits/@aws-amplify/[email protected]/packages/react) --- updated-dependencies: - dependency-name: "@aws-amplify/ui-react" dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add resolution for fast-xml-parser (#5547) * feat(data): Storage and GraphQL API authorization guidance; add additional guidance for error handling and real-time data access; remove existing AppSync SDK docs; update docs comments (#5545) * fix(data): update CSPELL dictionary * feat(data): API + files and attachments * feat(data): API + files updates * feat(data): add JavaScript examples to API + files docs * minor phrasing update * style updates * fix spacing * address PR comments * remove JS examples until TS examples are approved * addressing feedback * address PR feedback * address PR feedback * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * add JS code snippets * minor updates * add complete examples * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Ivan Artemiev <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Ivan Artemiev <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Ivan Artemiev <[email protected]> * fix typo * make CLI commands more readable * add location of schema file * working with multiple images * final example updates * updates * feat(data): add API record id to Storage file prefix for API + Storage docs; update comments; update callout * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * add all examples * minor updates to existing examples * Apply suggestions from code review Co-authored-by: Rene Brandel <[email protected]> * remove outdated examples * completed multi-file examples * auth updates * remove existing complex objects docs * auth updates * checkpoint * move callout to real-time data section * minor updates * move callout, other minor updates * update phrasing * update phrasing * update naming * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx * reshuffled the page order * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Rene Brandel <[email protected]> * Update src/fragments/lib/graphqlapi/js/working-with-files.mdx Co-authored-by: Jon Wire <[email protected]> --------- Co-authored-by: Rene Brandel <[email protected]> Co-authored-by: Ivan Artemiev <[email protected]> Co-authored-by: Jon Wire <[email protected]> * fix(data): update API + Storage header; minor grammatical updates (#5553) * fix(auth): fix typo in signIn v2 combine flavor (#5555) * chore(deps): bump @aws-amplify/amplify-cli-core from 4.0.8 to 4.1.0 (#5558) Bumps [@aws-amplify/amplify-cli-core](https://github.com/aws-amplify/amplify-cli/tree/HEAD/packages/amplify-cli-core) from 4.0.8 to 4.1.0. - [Release notes](https://github.com/aws-amplify/amplify-cli/releases) - [Changelog](https://github.com/aws-amplify/amplify-cli/blob/dev/packages/amplify-cli-core/CHANGELOG.md) - [Commits](https://github.com/aws-amplify/amplify-cli/commits/@aws-amplify/[email protected]/packages/amplify-cli-core) --- updated-dependencies: - dependency-name: "@aws-amplify/amplify-cli-core" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump @aws-amplify/ui-react from 5.0.0 to 5.0.1 (#5560) Bumps [@aws-amplify/ui-react](https://github.com/aws-amplify/amplify-ui/tree/HEAD/packages/react) from 5.0.0 to 5.0.1. - [Release notes](https://github.com/aws-amplify/amplify-ui/releases) - [Changelog](https://github.com/aws-amplify/amplify-ui/blob/main/packages/react/CHANGELOG.md) - [Commits](https://github.com/aws-amplify/amplify-ui/commits/@aws-amplify/[email protected]/packages/react) --- updated-dependencies: - dependency-name: "@aws-amplify/ui-react" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(cli): fix typo for Lambda function resolver event (#5556) Fixed a typo in the description of the "typeName" parameter in the "Structure of the function event" section. * chore(flutter): Update versions (#5564) * chore(deps): bump @aws-amplify/graphql-transformer-interfaces (#5573) Bumps [@aws-amplify/graphql-transformer-interfaces](https://github.com/aws-amplify/amplify-category-api/tree/HEAD/packages/amplify-graphql-transformer-interfaces) from 2.2.1 to 2.2.2. - [Release notes](https://github.com/aws-amplify/amplify-category-api/releases) - [Changelog](https://github.com/aws-amplify/amplify-category-api/blob/main/packages/amplify-graphql-transformer-interfaces/CHANGELOG.md) - [Commits](https://github.com/aws-amplify/amplify-category-api/commits/@aws-amplify/[email protected]/packages/amplify-graphql-transformer-interfaces) --- updated-dependencies: - dependency-name: "@aws-amplify/graphql-transformer-interfaces" dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * add getProperties API to JavaScript library (#5568) * chore: add get-properties api to js * chore: add level of access * chore: remove encryption part * chore: change the key type * chore: remove file access level * chore: use await in api call * chore: change key name * chore: addressing feedback --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Jim Blanchard <[email protected]> Co-authored-by: Rene Brandel <[email protected]> Co-authored-by: Ian Saultz <[email protected]> Co-authored-by: Hui Zhao <[email protected]> Co-authored-by: Roman <[email protected]> Co-authored-by: Roman Lavrenov <[email protected]> Co-authored-by: ykethan <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jim Eagan <[email protected]> Co-authored-by: Dan Kiuna <[email protected]> Co-authored-by: josef <[email protected]> Co-authored-by: Christopher Sundersingh <[email protected]> Co-authored-by: Anil Maktala <[email protected]> Co-authored-by: Amplifiyer <[email protected]> Co-authored-by: Erica Eaton <[email protected]> Co-authored-by: Wesley P <[email protected]> Co-authored-by: wpeck-amplify <[email protected]> Co-authored-by: Jacob Logan <[email protected]> Co-authored-by: jacoblogan <[email protected]> Co-authored-by: Abdallah Shaban <[email protected]> Co-authored-by: Jordan Nelson <[email protected]> Co-authored-by: AllanZhengYP <[email protected]> Co-authored-by: John Corser <[email protected]> Co-authored-by: Thomas Leing <[email protected]> Co-authored-by: Thomas Leing <[email protected]> Co-authored-by: Tim Nguyen <[email protected]> Co-authored-by: Elijah Quartey <[email protected]> Co-authored-by: Chris Womack <[email protected]> Co-authored-by: Harshita Daddala <[email protected]> Co-authored-by: Daddala <[email protected]> Co-authored-by: Jay Raval <[email protected]> Co-authored-by: David McAfee <[email protected]> Co-authored-by: Ivan Artemiev <[email protected]> Co-authored-by: Sreeram Sama <[email protected]> Co-authored-by: Caleb Pollman <[email protected]> Co-authored-by: Chris F <[email protected]> Co-authored-by: Jon Wire <[email protected]> Co-authored-by: Abhash Kumar Singh <[email protected]> Co-authored-by: Alberto Baroso <[email protected]> Co-authored-by: Dillon Nys <[email protected]> Co-authored-by: Venkata Ramyasri Kota <[email protected]>
1 parent f8897f4 commit 1713d88

File tree

223 files changed

+11638
-6184
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

223 files changed

+11638
-6184
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: LinkChecker
2+
on: workflow_dispatch
3+
permissions:
4+
contents: read
5+
jobs:
6+
LinkChecker:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout repository
10+
uses: actions/checkout@v3
11+
- name: Setup Node.js 16.x
12+
uses: actions/setup-node@main
13+
with:
14+
node-version: 16.x
15+
- name: Install Dependencies
16+
run: yarn
17+
- name: Run Link Checker
18+
run: node tasks/link-checker.mjs

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ www/
44
*~
55
*.sw[mnpcod]
66
*.log
7-
*.lock
87
*.tmp
98
*.tmp.*
109
log.txt

Readme.md

+10-10

cspell.json

+7
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@
439439
"confirmSignUp",
440440
"ConfirmSignUp",
441441
"confirmSignUpConfig",
442+
"connectedform",
442443
"connectionWithKeyExamples.md",
443444
"constraintlayout",
444445
"contactapi",
@@ -484,6 +485,7 @@
484485
"deeplink",
485486
"Deeplink",
486487
"deepskyblue",
488+
"defaultform",
487489
"defaultName",
488490
"defaultPriority",
489491
"defaultTTL",
@@ -722,6 +724,7 @@
722724
"Info.plist",
723725
"initapi",
724726
"inout",
727+
"inputs.mdx",
725728
"installable",
726729
"Intelli",
727730
"interceptApplication",
@@ -858,6 +861,7 @@
858861
"myangularapp",
859862
"myapi",
860863
"reactamplified",
864+
"region",
861865
"myapp.xcodeproj",
862866
"myapp",
863867
"mybucket",
@@ -963,6 +967,7 @@
963967
"parameters.json",
964968
"parcelable",
965969
"passwordless",
970+
"pausable",
966971
"PAY_PER_REQUEST",
967972
"Permission.Read",
968973
"phone_number",
@@ -1194,6 +1199,7 @@
11941199
"Storage.put",
11951200
"storagebucketname",
11961201
"storagedemo",
1202+
"storagemanager",
11971203
"storageOptions",
11981204
"StorageType",
11991205
"streamName",
@@ -1456,6 +1462,7 @@
14561462
"Fargate",
14571463
"Dockerizing",
14581464
"WORKDIR",
1465+
"endregion",
14591466
"entrypoint",
14601467
"Entrypoint",
14611468
"healthcheck",

next.config.mjs

+5-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,11 @@ export default async (phase, { defaultConfig }) => {
5454
},
5555
exportPathMap,
5656
trailingSlash: true,
57-
transpilePackages: ['@algolia/autocomplete-shared'],
57+
transpilePackages: [
58+
'@algolia/autocomplete-shared',
59+
'@cloudscape-design/components',
60+
'@cloudscape-design/component-toolkit'
61+
],
5862
// eslint-disable-next-line @typescript-eslint/require-await
5963
async headers() {
6064
return [

package.json

+10-6
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@
1818
"@algolia/autocomplete-shared": "^1.5.6",
1919
"@algolia/autocomplete-theme-classic": "^1.6.1",
2020
"@algolia/client-search": "^4.13.0",
21-
"@aws-amplify/amplify-cli-core": "^4.0.4",
21+
"@aws-amplify/amplify-cli-core": "^4.1.0",
2222
"@aws-amplify/ui-components": "latest",
23-
"@aws-amplify/ui-react": "^4.6.0",
23+
"@aws-amplify/ui-react": "^5.0.1",
24+
"@cloudscape-design/components": "^3.0.238",
25+
"@cloudscape-design/global-styles": "^1.0.8",
2426
"@emotion/react": "^11.1.5",
2527
"@emotion/styled": "^11.3.0",
2628
"@mdx-js/mdx": "^2.0.0",
@@ -54,6 +56,7 @@
5456
"unist-util-visit": "^4.1.0"
5557
},
5658
"devDependencies": {
59+
"@cloudscape-design/jest-preset": "^2.0.0",
5760
"@mdx-js/loader": "^1.6.22",
5861
"@next/mdx": "^10.1.3",
5962
"@stencil/core": "^1.17.0",
@@ -66,11 +69,11 @@
6669
"@types/fs-extra": "^9.0.1",
6770
"@types/jest": "^26.0.19",
6871
"@types/node": "^12.12.9",
69-
"@types/puppeteer": "1.20.2",
7072
"@types/react": "^17.0.3",
7173
"@types/url-parse": "^1.4.3",
7274
"@typescript-eslint/eslint-plugin": "^2.7.0",
7375
"@typescript-eslint/parser": "^2.7.0",
76+
"axios": "^1.3.4",
7477
"cspell": "^6.2.3",
7578
"eslint": "^6.6.0",
7679
"eslint-config-airbnb": "^18.0.1",
@@ -83,7 +86,7 @@
8386
"jest": "^26.6.3",
8487
"jest-cli": "^26.6.3",
8588
"prettier": "^1.19.1",
86-
"puppeteer": "1.20.0",
89+
"puppeteer": "^20.1.2",
8790
"rollup-plugin-node-polyfills": "^0.2.1",
8891
"sass": "^1.54.8",
8992
"tiny-glob": "0.2.9",
@@ -98,10 +101,11 @@
98101
"minimatch": "3.1.2",
99102
"json5": "2.2.2",
100103
"decode-uri-component": "0.2.1",
101-
"vm2": "3.9.17"
104+
"vm2": "3.9.18",
105+
"fast-xml-parser": "4.2.4"
102106
},
103107
"jest": {
104-
"preset": "ts-jest",
108+
"preset": "./preset.js",
105109
"roots": [
106110
"<rootDir>/src"
107111
],

preset.js

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
const tsPreset = require('ts-jest/presets/js-with-babel/jest-preset');
2+
const cloudscapePreset = require('@cloudscape-design/jest-preset');
3+
4+
module.exports = Object.assign(tsPreset, cloudscapePreset);

public/assets/contents.svg

+6
-872 KB
-97.5 KB
-77.1 KB
-74.5 KB
10.7 KB
-49.6 KB
-40.3 KB
Binary file not shown.
-272 KB
Binary file not shown.
-30.2 KB
Binary file not shown.
91.8 KB
-69.1 KB
-46 KB
-62.4 KB
-67.8 KB
-120 KB
-123 KB
-207 KB
23.5 KB
71.8 KB
74.8 KB
60.1 KB
Binary file not shown.

public/images/hosting/vite/1.png

119 KB

public/images/hosting/vite/2.png

95.9 KB

public/images/hosting/vite/3.png

69.4 KB

public/images/hosting/vite/4.png

88.3 KB

public/images/hosting/vite/5.png

120 KB

public/images/hosting/vite/6.png

74.2 KB

public/images/hosting/vite/7.png

62 KB

src/components/Card/styles.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from "react";
22
import styled from "@emotion/styled";
3-
import Link from "next/link";
3+
import InternalLink from "../InternalLink";
44

55
import {MQFablet, MQDesktop} from "../media";
66

@@ -30,7 +30,7 @@ const docsCard: React.FC<CardProps> = ({
3030
}) => {
3131
if (!href) return <div className={className}>{children}</div>;
3232
return (
33-
<Link href={href} passHref={true} legacyBehavior>
33+
<InternalLink href={href} passHref={true} legacyBehavior>
3434
<Anchor>
3535
{external && (
3636
<ExternalLinkGraphic
@@ -40,7 +40,7 @@ const docsCard: React.FC<CardProps> = ({
4040
)}
4141
<div className={className}>{children}</div>
4242
</Anchor>
43-
</Link>
43+
</InternalLink>
4444
);
4545
};
4646

src/components/CodeBlock/index.tsx

+26-2
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,32 @@ class CodeBlock extends React.Component<CodeBlockProps, CodeBlockState> {
5656

5757
copyToClipboard = () => {
5858
if (this.element && this.element.textContent) {
59-
copy(this.element.textContent);
60-
trackCopyClicks(this.element.textContent);
59+
if (
60+
this.element?.firstElementChild?.classList.contains(
61+
'highlight-source-diff'
62+
)
63+
) {
64+
const textContent = this.element.textContent;
65+
let copyLines = textContent.split('\n');
66+
let copyText = copyLines
67+
.filter((line) => {
68+
return !line.startsWith('-');
69+
})
70+
.map((line) => {
71+
if (line.startsWith('+')) {
72+
return line.replace('+', ' ');
73+
} else {
74+
return line;
75+
}
76+
})
77+
.join('\n');
78+
79+
copy(copyText);
80+
trackCopyClicks(copyText);
81+
} else {
82+
copy(this.element.textContent);
83+
trackCopyClicks(this.element.textContent);
84+
}
6185
this.setState({ copyMessage: COPIED });
6286
} else {
6387
this.setState({ copyMessage: FAILED });
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
import FeedbackSticky from '../index';
2+
import { render, screen, waitFor } from '@testing-library/react';
3+
import userEvent from '@testing-library/user-event';
4+
import * as trackModule from '../../../utils/track';
5+
6+
jest.mock('next/router', () => ({
7+
useRouter() {
8+
return {
9+
route: '/',
10+
pathname: '',
11+
query: '',
12+
asPath: ''
13+
};
14+
}
15+
}));
16+
17+
jest.mock('../../../utils/track', () => ({
18+
trackFeedbackSubmission: jest.fn().mockImplementation(() => true)
19+
}));
20+
21+
describe('Feedback', () => {
22+
it('should render component with thumbs up and thumbs down button', () => {
23+
const footerMock = `<Footer ref={ref}></Footer>`;
24+
const component = <FeedbackSticky footerRef={footerMock} />;
25+
26+
render(component);
27+
28+
const thumbsUp = screen.getByLabelText('Yes');
29+
const thumbsDown = screen.getByLabelText('No');
30+
31+
expect(thumbsUp).toBeInTheDocument();
32+
expect(thumbsDown).toBeInTheDocument();
33+
});
34+
35+
it('should hide buttons after user clicks No button', async () => {
36+
const footerMock = `<Footer ref={ref}></Footer>`;
37+
const component = <FeedbackSticky footerRef={footerMock} />;
38+
39+
render(component);
40+
41+
const thumbsUp = screen.getByLabelText('Yes');
42+
const thumbsDown = screen.getByLabelText('No');
43+
44+
expect(thumbsUp).toBeInTheDocument();
45+
expect(thumbsDown).toBeInTheDocument();
46+
47+
userEvent.click(thumbsDown);
48+
49+
await waitFor(() => {
50+
expect(thumbsUp).not.toBeVisible();
51+
expect(thumbsDown).not.toBeVisible();
52+
});
53+
});
54+
55+
it('should call trackFeedbackSubmission request when either button is clicked', async () => {
56+
jest.spyOn(trackModule, 'trackFeedbackSubmission');
57+
const footerMock = `<Footer ref={ref}></Footer>`;
58+
const component = <FeedbackSticky footerRef={footerMock} />;
59+
60+
render(component);
61+
62+
const thumbsDown = screen.getByLabelText('No');
63+
64+
userEvent.click(thumbsDown);
65+
66+
await waitFor(() => {
67+
expect(trackModule.trackFeedbackSubmission).toHaveBeenCalled();
68+
});
69+
});
70+
});

0 commit comments

Comments
 (0)