Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* User updates and minor edits on UI * Gen 2 formatting updates * Update index description * Update Gen2 index and amplifyconfig title * Temp fix for duplicate id on gen2 cli commands page headings (#6512) * Remove IfC references * Update intro and heading placement * nit * typo * fix: Angular getting started guide - update client type (#6481) Co-authored-by: Rene Brandel <[email protected]> * added video to Gen2 branch (#6524) * added video to Gen2 branch * added rounded corners * added fancy shadows * updated image * Mobile support (#6525) * Add iOS Guide for Authentication * Finish the Android flow (without images and videos) * Add the Swift guide. * Wrap up with files. * edited the mobile support --------- Co-authored-by: salihgueler <[email protected]> * turn on gen2 banners (#6485) * fix: How Amplify works and Ng requirements (#6521) * inline fitlers for JS specific samples and update samples to v6 * ng getting started minimum node version * RN Gettings started * callout for RN getting started --------- Co-authored-by: israx <[email protected]> * Updates for github alert errors (#6530) * Update index.mdx (#6536) * Update index.mdx (#6537) * Update filters for deployment indexes (#6533) * Edit of How Amplify Gen 2 works (#6534) * revise gen2 home custom example (#6527) * Edits to manual installation guide (#6539) * FAQ edit (#6535) * Edit of How Amplify Gen 2 works * Edits to FAQ * Update index.mdx (#6540) * Update index.mdx (#6541) * Update index.mdx (#6544) * Telemetry edits (#6548) * Edits to Gen2 homepage (#6547) Co-authored-by: Rene Brandel <[email protected]> * Quickstart edits (#6546) * Update callout regarding AWS account creation (#6549) * Connect your API to an existing database page (#6293) * cli flow for connecting api to existing database * add sql data types to cspell * add link to rds proxy pricing page * make schema.sql.graphql consistent * change cyan mapping to skyblue for better readability * adjust date type colors * Add page to directory.mjs * update cdk with csv script and schema gen step * add terms to cspell * add callout for time zone offsets * adjust header levels * remove redundant text * add step to replace <database-name> in sql script * add step to replace <database-name> in sql script * mention updating the path to the graphql file * update links to point to platform/<v6-path> * remove gen2/existing-projects page from directory.mjs * update MySQL csv script * update cdk construct api * update sql script for postgres * update sql scripts under iterative changes section * refactor to CDK only workflow * Add experimental note to iterative change section * applied edits for launch * reverted unintende file changes * reverted unencessary file changes * removed empty line hack * removed final model reference * removed the reference fo the word "model" * removed sandbox reference --------- Co-authored-by: Rene Brandel <[email protected]> Co-authored-by: Rene Brandel <[email protected]> * chore: add cookie storage example (#6554) * fix: Update Gen2 Functions page to use createStack (#6531) Co-authored-by: Heather Pundt <[email protected]> * Edits to CLI commands reference page (#6559) * Edits to CDK constructs page and cleanup of some left nav items (#6555) * fix mention of `amplify add auth` in gen2 auth (#6538) Co-authored-by: Nikhil Swaminathan <[email protected]> * chore: update readme to reflect new IA (#6506) * readme changes * Edits to readme * One small edit * Update Readme.md Co-authored-by: Heather Pundt <[email protected]> * Update Readme.md * Update Readme.md * Update Readme.md --------- Co-authored-by: katiegoines <[email protected]> Co-authored-by: Jim Eagan <[email protected]> Co-authored-by: Heather Pundt <[email protected]> * Edits to Gen2 set up auth guide (#6568) * Fixed data import path (#6529) * Missing variable reference in code example (#6552) * Updated import docs (#6571) * Updated import docs * Update src/pages/[platform]/build-a-backend/storage/existing-resources/index.mdx * Update src/pages/[platform]/build-a-backend/storage/existing-resources/index.mdx * Edits to data custom business logic and some left nav updates (#6573) * fix: Configure Amplify categories (#6532) * initial changes * updating examples * changes for Storage, Notifications, Interactions * add react to V5 Platforms * add filepath comments to gen2 functions, storage (#6517) Co-authored-by: Rene Brandel <[email protected]> * Edits to Functions page (#6578) * feat: add cross account deployment guide for gen 2 (#6522) * feat: add cross account deployment guide for gen 2 * update guide intro * restore pre-commit script * add spell check failures to cspell --------- Co-authored-by: Nikhil Swaminathan <[email protected]> Co-authored-by: Rene Brandel <[email protected]> * fix: correct a gen 2 install script typo (#6581) * fix(js-graphql): wrong authMode values in code examples (#6582) * fix: @adobe/css-tools Improper Input Validation and Inefficient Regular Expression Complexity alert fix (#6588) * feat(auth): add change log (#6579) * feat: add change log for auth v6 * feat: add auth change log link to migration guide * chore: make code block of type 'diff' * fix: remove page from mobile platforms * chore: separate API's using h2's, adjust deprecation message * chore: update to more logical order * feat: add additional deprecation messaging * chore: additional rearrangement of API's * chore: rename change log to migration guide * chore: address pr feedback * chore: move deleteUser above attributes-related api's * fix: add fetchAuthSession to currentUserPoolUser diff * fix: 404 page shows two h1 titles (#6483) * chore: remove unused utils/components/packages (#6566) * chore: remove unused utils/components/packages * Remove WhatsNewBanner * Remove unused InfoPopover * Remove SidebarLayoutToggle * remove unified and mdx-prism * feat(Swift): Adding Storage's Transfer Acceleration page (#6587) Also migrating native documentation from Fragments to InlineFilters, and consolidating duplicated content. * fix(Swift): Updating Swift code examples for using Admin Actions (#6589) * fix(swift): update broken swift sdk stability links (#6598) * fix: cookiesClient does not export (#6595) * Add npx to last two code blocks (#6601) * feat: additional details on migrating Auth with examples (#6599) * feat: add details and examples, rearrange * feat: add details to forgotPassword flow * feat: add details to remember/forget device * feat: add details to currentUserInfo * chore: clean up * chore: add additional info on migrating essentialCredentials * chore: cleanup, add v5/v6 headings * chore(eslint): Setup eslint and prettier (#6572) * chore: remove unused utils/components/packages * initial eslint/prettier setup * merge RemoveUnusedCode * fix(linting errors): single quotes in text * Remove WhatsNewBanner * Remove WhatsNewBanner * fix(linting errors): single quotes in text * add rule to throw eslint error for react hooks dependencies instead of a warning * Remove unused InfoPopover * Remove unused InfoPopover * fix(linting errors): do not pass children as prop in Block test * fix(linting errors): fix next img warnings * fix(linting errors): missing hook dependency GetStartedPopover * fix(linting error): move handleScroll to its own useEffect w/o dependency array * fix(linting error): missing hook dependency in MDXCode * fix(linting error): order of hooks MDXLink * fix(linting error): missing hook dependency PlatformNavigator * fix(linting error): convert findRoute to hook, useRouteFinder, move to separate utils file * fix(lint errors): MenuItem and type update * fix(lint errors): make 3rd party scripts load async * fix(linting error): cleanup function in hook useTabKeyDetection * change 3rd party scripts to defer * clean up eslint warnings in next.config.mjs * use next ExportedImage instead of Image * Switch awshome_s_code to async to fix track errors * add linting to staged files with husky * update lintstagedrc * Add prettier to husky precommit * downgrade lint-staged to v14 to work with node16 * update prettierignore * ignore mdx files for now * Remove SidebarLayoutToggle * remove unified and mdx-prism * remove comments * add eslint ignore for 3rd party script we have to load sync * simplify typing for Platform * Update filters directory and auth overview (#6597) Update SDK menus * chore: add jest.setup.ts to tsconfig, move jest config to separate file (#6606) * fix: change background color of search (#6551) * fix: remove external icon after amplify documentation (#6528) * fix: make the amplify hosting card open in new tab (#6560) * fix: add spacing for each line in callout component (#6489) * chore: update migration guides for Analytics, InApp Messaging and Push Notifications (#6583) * feat: update migration guides for Analytics and InApp Messaging * feat: update guide for push notifications * chore: move the guides to its respective sections * Update src/pages/[platform]/build-a-backend/more-features/in-app-messaging/in-app-messaging-migration-guide/index.mdx Co-authored-by: Jim Blanchard <[email protected]> * chore: update platforms list * update description on the meta tag --------- Co-authored-by: Rene Brandel <[email protected]> Co-authored-by: Jim Blanchard <[email protected]> * chore: add description to auth migration guide (#6610) * chore(eslint): setup typescript-eslint/recommended (#6577) * chore: remove unused utils/components/packages * initial eslint/prettier setup * merge RemoveUnusedCode * fix(linting errors): single quotes in text * Remove WhatsNewBanner * Remove WhatsNewBanner * fix(linting errors): single quotes in text * add rule to throw eslint error for react hooks dependencies instead of a warning * Remove unused InfoPopover * Remove unused InfoPopover * fix(linting errors): do not pass children as prop in Block test * fix(linting errors): fix next img warnings * fix(linting errors): missing hook dependency GetStartedPopover * fix(linting error): move handleScroll to its own useEffect w/o dependency array * fix(linting error): missing hook dependency in MDXCode * fix(linting error): order of hooks MDXLink * fix(linting error): missing hook dependency PlatformNavigator * fix(linting error): convert findRoute to hook, useRouteFinder, move to separate utils file * fix(lint errors): MenuItem and type update * fix(lint errors): make 3rd party scripts load async * fix(linting error): cleanup function in hook useTabKeyDetection * change 3rd party scripts to defer * clean up eslint warnings in next.config.mjs * use next ExportedImage instead of Image * chore(eslint): setup typescript-eslint/recommended * remove @typescript-eslint/parser, its already included * fix unused vars, const/let * Switch awshome_s_code to async to fix track errors * Fix unused imports and const/let variables * use typescript/eslint for unused vars * add linting to staged files with husky * update lintstagedrc * Add prettier to husky precommit * downgrade lint-staged to v14 to work with node16 * update prettierignore * ignore mdx files for now * Remove SidebarLayoutToggle * remove unified and mdx-prism * remove comments * add eslint ignore for 3rd party script we have to load sync * add comment about prettier coming last * fix: fix typos in ssr section of migration guide (#6609) * fix: import listTodos from queries instead of mutations * fix: renames posts to todos * add react-native-get-random-values on getting started setup (#6612) * Remove preloading fonts that weren't being used (#6562) * Remove light amazon ember font * Remove ember woff2 font * Cbonif/add split schema section (#6619) * Add mobile meta viewport (#6617) * Update index.mdx (#6618) Update quickstart * Defer shortbread (#6575) * Update CODEOWNERS (#6626) * Update signInWithRedict docs (#6520) --------- Co-authored-by: Rene Brandel <[email protected]> * chore(js-storage): add bytesRange options to the example (#6621) * custom resource docs updates (#6616) * custom resource updates * Apply suggestions from code review Co-authored-by: josef <[email protected]> --------- Co-authored-by: josef <[email protected]> * update pr link checker to use python server (#6476) * update pr link checker to use github http-server action * change server to python server --------- Co-authored-by: Jacob Logan <[email protected]> * fix: make gen2 banner button align better with text (#6635) * auth-events: small documentation fix (#6623) * edit override docs (#6615) * edit override docs * Apply suggestions from code review Co-authored-by: josef <[email protected]> * add context around L1 and L2 constructs --------- Co-authored-by: josef <[email protected]> * Update cspell.json (#6639) Added an entry for "bidirectionality" * chore: update structure of migration guide (#6625) * chore: update structure of migration guide * fix: remove duplicate h1 tag and rename headers * Update Android versions.ts (#6638) * docs(graphql-api): callout additional step when adding permission to lambda (#6641) * Update sdk references (#6632) * Add SDK library links for v1 * Update data usage policy loc and crosslinks * Redirects for moved page * Update to data info pages and directory listings * Update uninstall app listings and directory * Improve meta description * Update meta description for uninstalling an app * Added canonicalUrl to duplicate pages * chore (auth migration guide): collapse Input/Output into Accordion (#6646) * chore: collapse Input/Output into Accordion * chore: separate input from output sections * fix: update AWS service name (#6650) * fix: update AWS service name * add naming consistency * add schema generation and iterative change info to Connect to existing database page (#6624) * add crudl section with tagged release for sql * specify the engine types * update sql schema introspection queries * remove tagged release * remove experimental warnings * uncomment field level auth callout and * Applied edits * applied edits * Update src/pages/[platform]/build-a-backend/graphqlapi/connect-api-to-existing-database/index.mdx Co-authored-by: Tim Schmelter <[email protected]> * Added relationships callout * fix a11y issues --------- Co-authored-by: Rene Brandel <[email protected]> Co-authored-by: Rene Brandel <[email protected]> Co-authored-by: Tim Schmelter <[email protected]> * Use canonical url from meta if it exists (#6642) * Add SDK library links for v1 * Update data usage policy loc and crosslinks * Redirects for moved page * Update to data info pages and directory listings * Update uninstall app listings and directory * Improve meta description * Update meta description for uninstalling an app * Added canonicalUrl to duplicate pages * Use canonical url from meta if it exists * Check if meta exists before reading canonicalUrl * Make sure to use the custom canonical url * Update canonical url list to not have trailing slashes --------- Co-authored-by: Heather Pundt <[email protected]> * chore: clean up more unused deps (#6653) * chore(eslint/prettier): run prettier against all files that aren't ignored (#6580) * chore: remove unused utils/components/packages * initial eslint/prettier setup * merge RemoveUnusedCode * fix(linting errors): single quotes in text * Remove WhatsNewBanner * Remove WhatsNewBanner * fix(linting errors): single quotes in text * add rule to throw eslint error for react hooks dependencies instead of a warning * Remove unused InfoPopover * Remove unused InfoPopover * fix(linting errors): do not pass children as prop in Block test * fix(linting errors): fix next img warnings * fix(linting errors): missing hook dependency GetStartedPopover * fix(linting error): move handleScroll to its own useEffect w/o dependency array * fix(linting error): missing hook dependency in MDXCode * fix(linting error): order of hooks MDXLink * fix(linting error): missing hook dependency PlatformNavigator * fix(linting error): convert findRoute to hook, useRouteFinder, move to separate utils file * fix(lint errors): MenuItem and type update * fix(lint errors): make 3rd party scripts load async * fix(linting error): cleanup function in hook useTabKeyDetection * change 3rd party scripts to defer * clean up eslint warnings in next.config.mjs * use next ExportedImage instead of Image * chore(eslint): setup typescript-eslint/recommended * remove @typescript-eslint/parser, its already included * fix unused vars, const/let * Switch awshome_s_code to async to fix track errors * Fix unused imports and const/let variables * use typescript/eslint for unused vars * add linting to staged files with husky * update lintstagedrc * Add prettier to husky precommit * downgrade lint-staged to v14 to work with node16 * update prettierignore * ignore mdx files for now * Remove SidebarLayoutToggle * run prettier against all files that aren't ignored * remove unified and mdx-prism * remove comments * add eslint ignore for 3rd party script we have to load sync * fix inaccessible red color in code example (#6655) * feat: add ssr migration guide (#6620) * feat: add ssr migration guide * chore: address pr feedback on verbiage and syntax highlighting * chore: simplify path for nextjs guide * fix: update ds to api examples based on tests * chore: add v5-to-v6 to migration guide path: * chore: fix inconsistent wording in return types * chore: add links to ssr migration guide to overview * chore: implement feedback, minor nit fixes * fix: update outdated link * chore: Adding typescript block to react getting started (#6585) * adding typescript to react getting started * auth events hub import fix * react social-sign edits * Update index.mdx * Rest API config & InlineFilter * Update src/pages/[platform]/build-a-backend/restapi/existing-resources/index.mdx Co-authored-by: Chris Womack <[email protected]> * Update Custom provider sample for multi-framework * Update src/pages/[platform]/start/getting-started/data-model/index.mdx Co-authored-by: erinleigh90 <[email protected]> * Double qoutes Co-authored-by: erinleigh90 <[email protected]> * Double quotes Co-authored-by: erinleigh90 <[email protected]> * Update Auth getting started to be framework agnostic * Update data console prompts --------- Co-authored-by: Chris Womack <[email protected]> Co-authored-by: erinleigh90 <[email protected]> * Edits to modeling relationships page (#6636) * Edits to modeling relationships page * Catching up to main (#6640) * Update index.mdx (#6618) Update quickstart * Defer shortbread (#6575) * Update CODEOWNERS (#6626) * Update signInWithRedict docs (#6520) --------- Co-authored-by: Rene Brandel <[email protected]> * chore(js-storage): add bytesRange options to the example (#6621) * custom resource docs updates (#6616) * custom resource updates * Apply suggestions from code review Co-authored-by: josef <[email protected]> --------- Co-authored-by: josef <[email protected]> * update pr link checker to use python server (#6476) * update pr link checker to use github http-server action * change server to python server --------- Co-authored-by: Jacob Logan <[email protected]> * fix: make gen2 banner button align better with text (#6635) * auth-events: small documentation fix (#6623) * edit override docs (#6615) * edit override docs * Apply suggestions from code review Co-authored-by: josef <[email protected]> * add context around L1 and L2 constructs --------- Co-authored-by: josef <[email protected]> * Update cspell.json (#6639) Added an entry for "bidirectionality" --------- Co-authored-by: Rene Brandel <[email protected]> Co-authored-by: Tim Nguyen <[email protected]> Co-authored-by: Scott Rees <[email protected]> Co-authored-by: Francisco Rodriguez <[email protected]> Co-authored-by: Hui Zhao <[email protected]> Co-authored-by: Edward Foyle <[email protected]> Co-authored-by: josef <[email protected]> Co-authored-by: jacoblogan <[email protected]> Co-authored-by: Jacob Logan <[email protected]> Co-authored-by: Chen Cozoczaru <[email protected]> --------- Co-authored-by: Rene Brandel <[email protected]> Co-authored-by: Tim Nguyen <[email protected]> Co-authored-by: Scott Rees <[email protected]> Co-authored-by: Francisco Rodriguez <[email protected]> Co-authored-by: Hui Zhao <[email protected]> Co-authored-by: Edward Foyle <[email protected]> Co-authored-by: josef <[email protected]> Co-authored-by: jacoblogan <[email protected]> Co-authored-by: Jacob Logan <[email protected]> Co-authored-by: Chen Cozoczaru <[email protected]> Co-authored-by: katiegoines <[email protected]> * remove introspection and schema gen steps (#6659) * Edits to two deploy and hosting guides (#6651) * chore: update github-actions to version 20 from version 16 (#6611) * chore: update github-actions to version 20 from version 16 * Update to node 20 and use specific commits for actions * Use 20.x --------- Co-authored-by: timngyn <[email protected]> * feat(js-ssr): add instructions of using the generic adapter with Nuxt 3 (#6591) * feat(js-ssr): add instructions of using the generic adapter with Nuxt 3 * Remove usage of internals paths * Update GraphQL API usage example * Added introduction of the adapter-core * Resolve commments * Fix typo * Update the GraphQL API related examples * Resolve comments and adopt suggestions * adjust nav bar items order after rebasing * Add react-native as platform (#6663) * fix: add aria-label to main nav element (#6605) * feat(MDXCode): improvements to markdown code syntax highlighting (#6561) * initial commit * updates * updates * updates * add interface w/ desc, use title instead of fileName for prop name * move types to new file, move token list to new file, add highlight comment support * Remove test code highlights * start adding test * test updates, fix setup files so TS stops complaining * Update tests, fix line highlights * remove unused const * update accessible labels * update variable name * simplify line string concatenation with .join('') * fix(gen2): clean up badge style on gen2 homepage (#6557) * fix: cleanup Badge styles on Gen2 home page * undo prettier changes * use inverse font color instead of white * fix: wrong example provided in amplify analytics version 6 (#6662) * fix: wrong implementation of analytics * fix: wrong implementation of analytics * fix: Remove DYNAMODB from list of supported SQL databases (#6665) * fix: Remove incorrect directives from Blog type (#6666) * fix: add required outbound rules to SQL lambda vpc setup (#6664) * fix(gen2): Cognito Auth overrides update (#6516) * Updated overrides * Updated overrides * Added backticks * added comment --------- Co-authored-by: Erik Hanchett <[email protected]> * chore(api): swift graphQL relational models code snippets (#6603) * Deploy and host edits (#6669) * Edits to deploy and host section * Latest edits to deploy and host * Update yarn.lock * Updating platforms for Figma-to-Code and Formbuilder (#6678) * fix broken links (#6683) * chore(js-react-native): add packages should be removed in migration guide (#6685) * chore(js-react-native): add packages should be removed in migration guide * Update src/fragments/lib/troubleshooting/common/upgrading.mdx Co-authored-by: Jim Blanchard <[email protected]> --------- Co-authored-by: Jim Blanchard <[email protected]> * Inserting inline filter to address 404 issue (#6688) * Inserting inline filter to address 404 issue * Updating link language * Reset wording in second paragraph * feat: add additional text/details to Auth migration guide (#6668) * chore: update examples to BlockSwitcher with v6 first * feat: add descriptions and remove unhelpful diffs * fix: implement feedback * chore: remove unecessary headers for examples * fix(api): wrong JS graphql custom headers example (#6569) * fix(api): JS doc example on graphql custom headers From customer comment: https://github.com/aws-amplify/amplify-js/issues/12147#issuecomment-1815517219 * fix: address feedback --------- Co-authored-by: Venkata Ramyasri Kota <[email protected]> Co-authored-by: Rene Brandel <[email protected]> * chore(styles): add styling for kbd element (#6681) * add styles for kbd element * chore: add kbd element styles * fix: formatting on gen2 home page (#6684) * chore: add current page indicator and aria-current to main menu items (#6682) * fix:ssr generic adapter sample code (js/12578) (#6689) * fix:ssr generic adapater sample code (js/12578) * remove fetchAuthSession * Update RN Getting Started Guide UI deps (#6693) * fix: Clarify existing resources/RestAPI usage (#6658) * fix: Clarify existing resources/RestAPI usage * revert yarn.lock * feat: add restapi migration guide (#6677) * feat: add restapi migration guide with get method * chore: incorporate team feedback * feat: add examples for each API * fix: formatting changes for build * fix: replace put with del * chore: Re-enable schema generation instructions (#6697) Additional changes: - Add a callout warning that SQL support is not available in ap-east-1 or eu-south-1 * Use 'path' instead of 'route' for flutter api reference directory entry (#6695) * fix: match migration guide examples between v5/v6, proof-read (#6676) * fix: match migration guide examples between v5/v6, proof-read * chore: add package.json upgrade instructions * chore: apply suggestions from code review Co-authored-by: Jim Blanchard <[email protected]> * fix: npm does not install latest automagically * chore: formatting changes * Update src/fragments/lib/troubleshooting/common/upgrading.mdx Co-authored-by: Caleb Pollman <[email protected]> * fix: update RN instructions to call out deprecation * Update src/fragments/lib/troubleshooting/common/upgrading.mdx Co-authored-by: Caleb Pollman <[email protected]> * fix: update npm install scripts per PR feedback --------- Co-authored-by: Jim Blanchard <[email protected]> Co-authored-by: Caleb Pollman <[email protected]> * Update prev Project setup page and links to content (#6690) * Add fragment for menus without versioning * Add callout to prev indexes not supported by menu * Add version callout to current project prereq page * Updates to JS and Swift prev project setup * Update prev project setup for android * Update flutter project setup * Update fragment naming conventions * Restore prereqs and move change to create-app * Restore create-app and update project-setup * Update redirects for prev project setup * Update info callout to flag menu behavior * Apply suggestions from code review * Remove version selection callout * Update message order on prereq page * Update links * consolidate fonts (#6699) Co-authored-by: katiegoines <[email protected]> * Remove CSP section from customHttp.yml (#6602) * Remove CSP section from customHttp.yml * Move upgrade-insecure-requests to server CSP * fix: update link to identity-pools setup (#6702) * Tools library config version (#6705) * Add link to prev content * Add missing index page for prev tools * Update description text for tools index * Update prev tools index * Add prev version library intro * Update breadcrumbs prev configure categories * Edits to wording and formatting * Apply suggestions from code review * Fix spelling error * Adding new section and guide to build & connect backend (#6704) * Adding first of existing resources guides * Existing aws resources (#6701) * Additional edits * Minor updates * Minor formatting update * One last edit * Remove changes from custom resources page * Reverting changes to main * Reverting changes to custom resources * Update index.mdx * Update src/pages/[platform]/build-a-backend/existing-resources/cli/index.mdx Co-authored-by: Heather Pundt <[email protected]> * Update src/pages/[platform]/build-a-backend/existing-resources/cli/index.mdx Co-authored-by: Heather Pundt <[email protected]> * Update src/pages/[platform]/build-a-backend/existing-resources/cli/index.mdx Co-authored-by: Heather Pundt <[email protected]> * Delete src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx * Update directory.mjs --------- Co-authored-by: Heather Pundt <[email protected]> * Edits to 'Add any AWS service' section (#6710) * remove improper "event" field within record API examples (#6703) * chore(fonts/css): more font cleanup (#6717) * delete unused css file, update font weight * remove light and thin font weights * Make example links have code formatting so they don't get turn into links (#6718) * update vue auth example Gen 2 (#6706) * update vue auth example * update angular auth example (#6719) * chore: use default values with Cache.createInstance() (aws-amplify/amplify-js#12705) (#6698) * chore: remove hosting support (#6715) * `defineFunction` docs (#6614) * update function docs * update other function references * Apply suggestions from code review Co-authored-by: josef <[email protected]> --------- Co-authored-by: josef <[email protected]> * Use env var in workflow instead of variable on repo (#6667) * remove .resources from backend override access pattern (#6648) * remove .resources from backend override access pattern * Revert "remove .resources from backend override access pattern" This reverts commit 2b1abce0e4b29f3d4a1c712065f37fc12019a62e. * replace "backend.resources" with "backend" --------- Co-authored-by: josef <[email protected]> * [Gen 2] update getting started with hosting build image information (#6725) * update getting started with hosting build image information --------- Co-authored-by: josef <[email protected]> * Add note for AppSync service limit and increase (DataStore) (#6726) * chore: replace iOS with Swift in pull request template (#6564) * [Gen2] update data examples with amplifyDynamoDbTables (#6729) * Fix typo for mdx file in prev section (#6731) * Refactor Gen 2 Quickstart to have Pages and App Router implementations (#6649) * wip - refactoring quickstart * feat: refactor quickstarts to support separate Pages and App router * update descriptions * Update src/pages/gen2/start/quickstart/nextjs-app-router/index.mdx Co-authored-by: josef <[email protected]> * Update src/pages/gen2/start/quickstart/nextjs-pages-router/index.mdx add import type Co-authored-by: josef <[email protected]> * cleanup * apply quickstart updates from PR #6561 https://github.com/aws-amplify/docs/commit/54c17ce50f7e61bade44e4c09c87d8872f18a3c0#diff-deebaa770d504baea4c23804bb0810524aa40f748e638b09c990b2054159a778 * apply content updates from PR #6725 https://github.com/aws-amplify/docs/pull/6725 * fix rendering error with app router quickstart * Update src/pages/gen2/start/quickstart/nextjs-app-router/index.mdx remove extra spacing Co-authored-by: josef <[email protected]> * Update src/pages/gen2/start/quickstart/nextjs-app-router/index.mdx remove unnecessary line Co-authored-by: josef <[email protected]> --------- Co-authored-by: josef <[email protected]> * fix: update link example in PR template (#6730) * gen2 fix mfa snippet, remove sms from mfa when phone is not enabled (#6735) * Adding npx to fix blocking error for customers (#6737) (#6738) Added npx to the amplify sandbox and amplify generate graphql-client-code commands in six places. * gen2 fix callout about verification email style, use auth resource de… (#6736) * gen2 fix callout about verification email style, use auth resource definition * immutable -> mutable * fix: fix v6 block not showing up for cancel example (#6747) * chore(js-auth): complete oauth in MPAs (#6741) * gen2 auth fix immutable -> mutable (#6739) * immutable -> mutable * true -> false * fix: wrong import shown for storage getUrl in migration guide (#6749) * add callout for sso use, manual configuration instructions (#6752) * add callout for sso use, manual configuration instructions * minor correction * minor correction * code snippet titles * role name change * add sso credentials troubleshooting notes (#6753) * add sso credentials troubleshooting notes * spellcheck * port gen1 changes from #6752 to cli config fragment (#6756) * Create fragments for shared Quickstart content (#6743) * add prerequisites colocated fragment * add create a project fragment * add build a backend fragment * add deploy and host fragment * move fragments to fragments/gen2 per discussion * update fragment imports to be where the fragment is used * chore(js-ssr): update doc to fit refactored Nuxt useCookie interface (#6759) * upgrade @aws-amplify/ui-react (#6734) * upgrade @aws-amplify/ui-react * node version in build * upgrade aws-amplify * remove change to build.yaml * changes require with ui upgrade * updated blockswitcher * updates for ui upgrae * blockswitcher changes to work with v6 of ui-react --------- Co-authored-by: katiegoines <[email protected]> * remove next/prev from overview pages (#6733) * remove next/prev from overview pages * fix nit --------- Co-authored-by: katiegoines <[email protected]> * Add Gen 2 banner to React pages (#6742) * Update gen2Banner-urls.ts * Update src/data/gen2Banner-urls.ts Co-authored-by: Tim Nguyen <[email protected]> * Update gen2Banner-urls.ts * Update gen2Banner-urls.ts * Update gen2Banner-urls.ts --------- Co-authored-by: Tim Nguyen <[email protected]> * changed button to external (#6757) Co-authored-by: katiegoines <[email protected]> * gen2 readjust intro, structure of account setup doc, add sso docs (#6751) * gen2 readjust intro, structure of account setup doc * Update src/pages/gen2/start/account-setup/index.mdx Co-authored-by: Edward Foyle <[email protected]> * Update src/pages/gen2/start/account-setup/index.mdx Co-authored-by: Edward Foyle <[email protected]> * gen2 add detailed sso setup instructions * lift callout * and -> that * the -> a * remove role note * add note to callout for aws cli * add AmplifyBackendDeployFullAccess policy to permission set --------- Co-authored-by: Edward Foyle <[email protected]> * Update inline filters for certain native pages (#6764) * Update manage mfa page inline filter for web platforms * Add inline filters for js snippets * Add missing inline filters for js snippets * Revert "Update manage mfa page inline filter for web platforms" This reverts commit 4bb2de53ae2704a8ece037ffbb5484425817907c. * Remove native platforms from page * Move back inlinefilter for page * Update data-modeling page to exclude native platforms * Hide JS snippets to native customers (#6765) * Add resolution for follow-redirects (#6762) * Add follow-redirects resolution * Remove duplicate json5 from resolution * fix: Next.js App and Pages router quickstarts to contain the correct commands (#6767) * chore(auth): add refresh session sections (#6766) * chore(auth): add refresh sub sections * chore: address feedback * chore: address feedback * Layout type fixes (#6768) * fix: type mismatch for Layout children prop * add type to page in _app.tsx * Update platform filter (#6769) * gen2 fix duplicate sso image in account setup (#6772) * feat: add dark mode (#6656) * Setup base color mode switcher * Fix global nav, main nav, base body styles that use theme tokens * fix spaceship * fix code theme * fix mode not setting to localStorage correctly * remove console log * updates to banner css * fix framework icons for darkmode * remove problematic cloud * icon fix, start updating gen2 theme * dark mode color updates * Updates for gen2 link/button colors * fix mobile menu toggle and backdrop * fix line highlight colors * clean up code styles, fix darkmode code block focus * test kbd styles * override darkmode default button color to white * use overlay colorTheme for Banner button * update styles for current page in menu * update link colors * add tests for ColorModeSwitcher * use media query, not data attribute * fix darkmode working for system setting and manual setting * fix colorMode not saving to localStorage properly * update colormode switcher styles, fix typo in code comment * update background of teal banner and accordion * remove brand namespace from color switcher * remove brand namespace from darkmode theme * remove console.log * Update index.mdx (#6777) * feat: add detailed migration guide for Storage (#6750) * fix(gen2/darkmode): fix color of mobile menu toggle on gen2 darkmode (#6781) * fix: incorrect code sample in documentation (#6779) * add callback, logout URLs to defineAuth template snippet (#6732) * Make new hook to handle logic for getting canonical url (#6727) * Make new hook to handle logic for getting canonical url * Use canonical url hook * Add semicolon after meta object * Update error message when unable to parse meta object * Switch to array of canonical objects * Add tests for useCanonicalUrl hook * Add extra expect to test both canonical urls in the canonical object * Remove unnecessary parameter * Add more tests * Use canonicalUrlPath variable * Add canonical objects (#6728) * Make new hook to handle logic for getting canonical url * Use canonical url hook * Add semicolon after meta object * Add canonical objects to pages that have duplicated content * Update canonical urls * Update error message when unable to parse meta object * Switch to an array of canonical objects * Switch to array of canonical objects * Add tests for useCanonicalUrl hook * Add extra expect to test both canonical urls in the canonical object * Remove unnecessary parameter * Add more tests * Use canonicalUrlPath variable * Small corrections to REST API code snippets (#6634) * make api name valid * correct post code snippet * update syntax to be consistent with other examples * chore(deps): bump @aws-amplify/data-schema-types from 0.6.11 to 0.6.12 (#6787) Bumps @aws-amplify/data-schema-types from 0.6.11 to 0.6.12. --- updated-dependencies: - dependency-name: "@aws-amplify/data-schema-types" 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> * revert improved banner message (#6788) Co-authored-by: Jacob Logan <[email protected]> * add core-js to datastore getting started dependencies (#6774) * Remove swift and android from page (#6789) * Add ProtectedAccountMessage component (#6790) * add protected folder and update codeowners * use protected message component * Update src/protected/ProtectedAccountMessage/index.tsx Co-authored-by: Scott Rees <[email protected]> * add comment about protected content * added Nikhil to protected content approvers --------- Co-authored-by: Jacob Logan <[email protected]> Co-authored-by: Scott Rees <[email protected]> * fix: Fix accordion code reference (#6801) * New guide for connecting existing CDK backend resources to apps (#6793) * Adding new guide for connecting to CDK resources * Updates to CDK guide * New guide for connecting existing CDK backend to apps (#6792) * Updated CDK link * Edits from Mo's review * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <[email protected]> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <[email protected]> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <[email protected]> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <[email protected]> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <[email protected]> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <[email protected]> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <[email protected]> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <[email protected]> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <[email protected]> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <[email protected]> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <[email protected]> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <[email protected]> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <[email protected]> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <[email protected]> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <[email protected]> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <[email protected]> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <[email protected]> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <[email protected]> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <[email protected]> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <[email protected]> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <[email protected]> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <[email protected]> * Code snippet and platform updates Removed extra line breaks at beginning and end of code snippets. Removed Android and Swift from platform list. * Remove Android and Swift from section overview page * Remove Android and Swift from CLI guide page Removing Android and Swift because the page doesn't apply to these platforms * Hiding/showing line numbers in code blocks --------- Co-authored-by: Mo Malaka <[email protected]> Co-authored-by: josef <[email protected]> * fix: update example code and text to match v6 type definitions (#6803) * Add 'Gen 2' to page title if on gen2 route (#6804) * chore: Add instructions for migrating storage event tracking (#6785) * chore: Add instructions for migrating storage event tracking * Apply suggestions from code review Co-authored-by: AllanZhengYP <[email protected]> * Update src/pages/[platform]/build-a-backend/storage/storage-v5-to-v6-migration-guide/index.mdx Co-authored-by: erinleigh90 <[email protected]> * Update src/pages/[platform]/build-a-backend/storage/storage-v5-to-v6-migration-guide/index.mdx Co-authored-by: erinleigh90 <[email protected]> * Update src/pages/[platform]/build-a-backend/storage/storage-v5-to-v6-migration-guide/index.mdx Co-authored-by: erinleigh90 <[email protected]> --------- Co-authored-by: Rene Brandel <[email protected]> Co-authored-by: AllanZhengYP <[email protected]> Co-authored-by: erinleigh90 <[email protected]> * Update index.mdx (#6806) * feat: add details to Analytics migration guide (#6805) * feat: add details analytics migration guide * feat: add details to pinpoint provider section * fix: match v5 and v6 identifyUser samples * feat: add details for Kinesis and Personalize * chore: remove startSession callout * Apply verbiage suggestion Co-authored-by: Chris F <[email protected]> * chore: minor adjustments * fix: replace copy-paste punctuation issue --------- Co-authored-by: Chris F <[email protected]> * Add tests for usePathWithoutHash (#6795) * Add tests for usePathWithoutHash * Add test to check that url is not modified if it doesn't have a hashmark * Removing unused files from utils directory (#6798) * fix: link to ssr migration guide should be nextjs platform specific (#6814) * Remove LinkTagCheck workflow (#6817) * chore(js-ssr): fix nextjs version callout and add cognito rate limit callout (#6820) * Removed repetition (#6822) * simple unit test to ensure that the ProtectedAccountMessage is on the… (#6802) * simple unit test to ensure that the ProtectedAccountMessage is on the Admin UI start page * add test to ensure protected messaging hasn't changed * add comments to ProtectedAccountMessage component --------- Co-authored-by: Jacob Logan <[email protected]> * feat: add details to In-App Messaging migration guide (#6816) * feat: add details to In-App Messaging migration guide * Update src/pages/[platform]/build-a-backend/more-features/in-app-messaging/in-app-messaging-migration-guide/index.mdx Co-authored-by: ManojNB <[email protected]> * Update wording on message comment * Populate identifyUser properties for guide --------- Co-authored-by: ManojNB <[email protected]> * Co-locate slug.js next in MDXComponents (#6825) * feat: add details to Push Notifications migration guide (#6823) * feat: add details to Push Notifications migration guide * Populate identifyUser properties for guide * changed the docs to use npx prefix (#6812) * Clarified "Legacy" designation in Auth.signUp/Auth.signIn (#6746) * Add missing semicolon (#6831) * Add banner for prev version project setup (#6829) * Update banner on prev BACB * Update wording * Throw an error if unable to match for the meta object (#6834) * Add tests for useTabKeyDetection (#6818) * Add tests for useTabKeyDetection * Add comment for helper function and add test for null ref.current * feat: add React Native migration details (#6828) * Add tests for useRouteFinder and rename it to useVersionSwitcherPath (#6794) * Add module name mapper for 'src/directory' * Add tests for useRouteFinder * Update workflow to generate the json files * Update import paths with new module name mapper * Rename typo, tests -> test * Co-locate hook for version switcher and rename useRouteFinder to useVersionSwitcher * Fix typo * Simplify logic for useVersionSwitcherPath * Add comment for hook * Add test for useCurrentPlatform (#6796) * Add tests for getCustomStaticPath (#6797) * Add tests for getCustomStaticPath * Clean up to use only platform array * Add tests for useClickOutside (#6815) * fix: Update Amplfiy Gen 2 quickstart guide (#6835) * fix: update gen2 quickstart guide * update alt text * Add tests for getChildPageNodes (#6800) * Add module name mapper for 'src/directory' * Add tests for useRouteFinder * Update workflow to generate the json files * Update import paths with new module name mapper * Rename typo, tests -> test * Add tests for getChildPageNodes * Remove outdated test * Add tests for findDirectoryNode (#6808) * Add module name mapper for 'src/directory' * Add tests for useRouteFinder * Update workflow to generate the json files * Update import paths with new module name mapper * Rename typo, tests -> test * Add tests for findDirectoryNode * fix: Analytics JS fragments in Angular, React, Vue, and Next.js (#6745) * fix: Remove `@` from Auth SSR import path. (#6837) * chore(swift): update minimum xcode version for all platforms and minimum watchOS version (#6833) * chore(swift): update minimum xcode version for all platforms and minimum watchOS version * Address review comments * feat: Implement Gen2 Next.js React Server Components (RSC) Quickstart (#6776) * wip - cut page for app router server components * wip - iterate on app router server component quickstart * wip - iterate on middleware for RSC quickstart * wip - add amplify utils for server configuration * wip - finalize todos section * update to conditionally redirect if user * fix fragment path * add signout button to server components example * Import AuthUser to avoid TypeScript error Co-authored-by: Scott Rees <[email protected]> * add installation of amplify next.js adapter * Group imports into logical sections Co-authored-by: Caleb Pollman <[email protected]> * update additional section imports in logicial groups * add custom <Authenticator> accordion * revert signout functionality from server components guide * fix typo for AuthUser import * add separate Login component and update Login page * updates per internal feedback * updates to add a login page section * Clarify that Server Page implementation does not need the Login client component Co-authored-by: Heather Pundt <[email protected]> * Add link for Authenticator customization Co-authored-by: Scott Rees <[email protected]> --------- Co-authored-by: Scott Rees <[email protected]> Co-authored-by: Caleb Pollman <[email protected]> Co-authored-by: Heather Pundt <[email protected]> * Minor edits to amplifyconfiguration page (#6842) * Fix: add create amplify fragment to RSC Quickstart (#6847) * Edits to Gen 2 project structure page (#6840) * Edits to Gen 2 project structure page * Removed the aws-cdk-lib command and warning message * Updated CDK wording * feat: Implement logout functionality for Gen 2 RSC Quickstart (#6839) * update RSC quickstart with logout functionality * make option plural per feedback * add a section to have callback urls redirect to `/login` for Social Providers. * Updates to CLI and CDK guides in G1 Build & Connect Backend section (#6849) * Inline filtering for CLI guide * updates to CDK guide * Updates to CDK guide * Updates to inline filter * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <[email protected]> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <[email protected]> --------- Co-authored-by: josef <[email protected]> * Update index.mdx (#6854) * Removes wording about needing to install the CDK (#6853) * Removes wording about needing to install the CDK * Add link to package name * Adding link to create-amplify package name * Edits to set up AWS account guide (#6855) * Update index.mdx (#6857) Fixed import tymp * chore: add code snippet for swift api query with json objects (#6807) * fix(js-graphql): code example doesn't update component (#6862) * apply changes from feedback (#6860) * apply changes from feedback * simplfy and correct examples to using only Post model except in relationship section * Clarify Amplify API Code Generation Statement (#6865) * Clarify Amplify API Codegeneration This PR comes from current customer confusion. This below reads that Amplify supports any AppSync schema deployed through CDK. "Generate GraphQL client helper code with CDK-deployed GraphQL API" Clarification is needed that we are referring to our Amplify L3 CDK constructs. * Update index.mdx spelling * Update src/pages/[platform]/build-a-backend/graphqlapi/client-code-generation/index.mdx --------- Co-authored-by: Rene Brandel <[email protected]> * feat: add details for Hub migration (#6868) * feat: add details for Hub migration * fix: add signInWithRedirect as alternative to cognitoHostedUI events * Modifying code snippet to use correct imported variable (#6856) Amplify.configure was using variable as 'awsconfig' instead of 'amplifyconfig' * chore: Angular build path fix (#6861) * Update index.mdx (#6867) * Update index.mdx (#6876) * fix(flutter): remove local mock references and page (#6878) * Remove Dynamic Group Auth for Native platforms (#6879) * remove Dynamic Group Auth from native platforms * remove Dynamic Group Auth from native platforms * remove extra spacing --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Heather Pundt <[email protected]> Co-authored-by: Dan Kiuna <[email protected]> Co-authored-by: Rene Brandel <[email protected]> Co-authored-by: Nikhil Swaminathan <[email protected]> Co-authored-by: salihgueler <[email protected]> Co-authored-by: israx <[email protected]> Co-authored-by: Jim Eagan <[email protected]> Co-authored-by: josef <[email protected]> Co-authored-by: Mohit Srivastava <[email protected]> Co-authored-by: Chris Bonifacio <[email protected]> Co-authored-by: Rene Brandel <[email protected]> Co-authored-by: Kevin Old <[email protected]> Co-authored-by: Katie Goines <[email protected]> Co-authored-by: katiegoines <[email protected]> Co-authored-by: Erick Estevão Riva Pramio <[email protected]> Co-authored-by: Jay Raval <[email protected]> Co-authored-by: Caleb Pollman <[email protected]> Co-authored-by: Hui Zhao <[email protected]> Co-authored-by: sowmyadev-kota <[email protected]> Co-authored-by: erinleigh90 <[email protected]> Co-authored-by: Sebastian Villena <[email protected]> Co-authored-by: Ian Saultz <[email protected]> Co-authored-by: maki <[email protected]> Co-authored-by: ManojNB <[email protected]> Co-authored-by: Jim Blanchard <[email protected]> Co-authored-by: Francisco Rodriguez <[email protected]> Co-authored-by: Tim Nguyen <[email protected]> Co-authored-by: Scott Rees <[email protected]> Co-authored-by: Edward Foyle <[email protected]> Co-authored-by: jacoblogan <[email protected]> Co-authored-by: Jacob Logan <[email protected]> Co-authored-by: Chen Cozoczaru <[email protected]> Co-authored-by: Tyler Roach <[email protected]> Co-authored-by: Tim Schmelter <[email protected]> Co-authored-by: Chris Womack <[email protected]> Co-authored-by: timngyn <[email protected]> Co-authored-by: Titus Efferian <[email protected]> Co-authored-by: Phani Srikar Edupuganti <[email protected]> Co-authored-by: Erik Hanchett <[email protected]> Co-authored-by: Erik Hanchett <[email protected]> Co-authored-by: Michael Law <[email protected]> Co-authored-by: Thomas Leing <[email protected]> Co-authored-by: AllanZhengYP <[email protected]> Co-authored-by: Venkata Ramyasri Kota <[email protected]> Co-authored-by: Caleb Pollman <[email protected]> Co-authored-by: Kethan sai <[email protected]> Co-authored-by: jacoyutorius <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mo Malaka <[email protected]> Co-authored-by: Chris F <[email protected]> Co-authored-by: Abhash Kumar Singh <[email protected]> Co-authored-by: Tuan Pham <[email protected]> Co-authored-by: abhisuma02 <[email protected]> Co-authored-by: Dustin Noyes <[email protected]> Co-authored-by: Ali Spittel <[email protected]>
- Loading branch information