Skip to content

Commit 4b286e6

Browse files
hbuchelheatheramznadetasticrenebrandelswaminator
authored
Update next release main (#6884)
* 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 <4989523+renebrandel@users.noreply.github.com> * 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 <muhammedsalihguler@gmail.com> * 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 <70438514+israx@users.noreply.github.com> * 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 <4989523+renebrandel@users.noreply.github.com> * 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 <renbran@amazon.com> Co-authored-by: Rene Brandel <4989523+renebrandel@users.noreply.github.com> * chore: add cookie storage example (#6554) * fix: Update Gen2 Functions page to use createStack (#6531) Co-authored-by: Heather Pundt <119376175+heatheramz@users.noreply.github.com> * 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 <2429410+swaminator@users.noreply.github.com> * chore: update readme to reflect new IA (#6506) * readme changes * Edits to readme * One small edit * Update Readme.md Co-authored-by: Heather Pundt <119376175+heatheramz@users.noreply.github.com> * Update Readme.md * Update Readme.md * Update Readme.md --------- Co-authored-by: katiegoines <katiegoines@gmail.com> Co-authored-by: Jim Eagan <84857865+hibler13@users.noreply.github.com> Co-authored-by: Heather Pundt <119376175+heatheramz@users.noreply.github.com> * 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 <4989523+renebrandel@users.noreply.github.com> * 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 <2429410+swaminator@users.noreply.github.com> Co-authored-by: Rene Brandel <4989523+renebrandel@users.noreply.github.com> * 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 <jim.l.blanchard@gmail.com> * chore: update platforms list * update description on the meta tag --------- Co-authored-by: Rene Brandel <4989523+renebrandel@users.noreply.github.com> Co-authored-by: Jim Blanchard <jim.l.blanchard@gmail.com> * 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 <4989523+renebrandel@users.noreply.github.com> * 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 <josef.aidt@gmail.com> --------- Co-authored-by: josef <josef.aidt@gmail.com> * 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 <lognjc@amazon.com> * 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 <josef.aidt@gmail.com> * add context around L1 and L2 constructs --------- Co-authored-by: josef <josef.aidt@gmail.com> * 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 <schmelte@amazon.com> * Added relationships callout * fix a11y issues --------- Co-authored-by: Rene Brandel <renbran@amazon.com> Co-authored-by: Rene Brandel <4989523+renebrandel@users.noreply.github.com> Co-authored-by: Tim Schmelter <schmelte@amazon.com> * 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 <119376175+heatheramz@users.noreply.github.com> * 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 <67726635+cwomack@users.noreply.github.com> * Update Custom provider sample for multi-framework * Update src/pages/[platform]/start/getting-started/data-model/index.mdx Co-authored-by: erinleigh90 <106691284+erinleigh90@users.noreply.github.com> * Double qoutes Co-authored-by: erinleigh90 <106691284+erinleigh90@users.noreply.github.com> * Double quotes Co-authored-by: erinleigh90 <106691284+erinleigh90@users.noreply.github.com> * Update Auth getting started to be framework agnostic * Update data console prompts --------- Co-authored-by: Chris Womack <67726635+cwomack@users.noreply.github.com> Co-authored-by: erinleigh90 <106691284+erinleigh90@users.noreply.github.com> * 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 <4989523+renebrandel@users.noreply.github.com> * 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 <josef.aidt@gmail.com> --------- Co-authored-by: josef <josef.aidt@gmail.com> * 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 <lognjc@amazon.com> * 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 <josef.aidt@gmail.com> * add context around L1 and L2 constructs --------- Co-authored-by: josef <josef.aidt@gmail.com> * Update cspell.json (#6639) Added an entry for "bidirectionality" --------- Co-authored-by: Rene Brandel <4989523+renebrandel@users.noreply.github.com> Co-authored-by: Tim Nguyen <54393192+timngyn@users.noreply.github.com> Co-authored-by: Scott Rees <6165315+reesscot@users.noreply.github.com> Co-authored-by: Francisco Rodriguez <frodriguez.cs@gmail.com> Co-authored-by: Hui Zhao <10602282+HuiSF@users.noreply.github.com> Co-authored-by: Edward Foyle <foyleef@amazon.com> Co-authored-by: josef <josef.aidt@gmail.com> Co-authored-by: jacoblogan <jacob.maiola.logan@gmail.com> Co-authored-by: Jacob Logan <lognjc@amazon.com> Co-authored-by: Chen Cozoczaru <chen@kahun.com> --------- Co-authored-by: Rene Brandel <4989523+renebrandel@users.noreply.github.com> Co-authored-by: Tim Nguyen <54393192+timngyn@users.noreply.github.com> Co-authored-by: Scott Rees <6165315+reesscot@users.noreply.github.com> Co-authored-by: Francisco Rodriguez <frodriguez.cs@gmail.com> Co-authored-by: Hui Zhao <10602282+HuiSF@users.noreply.github.com> Co-authored-by: Edward Foyle <foyleef@amazon.com> Co-authored-by: josef <josef.aidt@gmail.com> Co-authored-by: jacoblogan <jacob.maiola.logan@gmail.com> Co-authored-by: Jacob Logan <lognjc@amazon.com> Co-authored-by: Chen Cozoczaru <chen@kahun.com> Co-authored-by: katiegoines <katiegoines@gmail.com> * 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 <timngyn@gmail.com> * 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 <ehhanche@amazon.com> * 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 <jim.l.blanchard@gmail.com> --------- Co-authored-by: Jim Blanchard <jim.l.blanchard@gmail.com> * 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 <34170013+kvramyasri7@users.noreply.github.com> Co-authored-by: Rene Brandel <4989523+renebrandel@users.noreply.github.com> * 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 <jim.l.blanchard@gmail.com> * fix: npm does not install latest automagically * chore: formatting changes * Update src/fragments/lib/troubleshooting/common/upgrading.mdx Co-authored-by: Caleb Pollman <cpollman1@gmail.com> * fix: update RN instructions to call out deprecation * Update src/fragments/lib/troubleshooting/common/upgrading.mdx Co-authored-by: Caleb Pollman <cpollman1@gmail.com> * fix: update npm install scripts per PR feedback --------- Co-authored-by: Jim Blanchard <jim.l.blanchard@gmail.com> Co-authored-by: Caleb Pollman <cpollman1@gmail.com> * 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 <katiegoines@gmail.com> * 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 <119376175+heatheramz@users.noreply.github.com> * Update src/pages/[platform]/build-a-backend/existing-resources/cli/index.mdx Co-authored-by: Heather Pundt <119376175+heatheramz@users.noreply.github.com> * Update src/pages/[platform]/build-a-backend/existing-resources/cli/index.mdx Co-authored-by: Heather Pundt <119376175+heatheramz@users.noreply.github.com> * Delete src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx * Update directory.mjs --------- Co-authored-by: Heather Pundt <119376175+heatheramz@users.noreply.github.com> * 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 <josef.aidt@gmail.com> --------- Co-authored-by: josef <josef.aidt@gmail.com> * 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 <josef.aidt@gmail.com> * [Gen 2] update getting started with hosting build image information (#6725) * update getting started with hosting build image information --------- Co-authored-by: josef <josef.aidt@gmail.com> * 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 <josef.aidt@gmail.com> * Update src/pages/gen2/start/quickstart/nextjs-pages-router/index.mdx add import type Co-authored-by: josef <josef.aidt@gmail.com> * 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 <josef.aidt@gmail.com> * Update src/pages/gen2/start/quickstart/nextjs-app-router/index.mdx remove unnecessary line Co-authored-by: josef <josef.aidt@gmail.com> --------- Co-authored-by: josef <josef.aidt@gmail.com> * 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 <katiegoines@gmail.com> * remove next/prev from overview pages (#6733) * remove next/prev from overview pages * fix nit --------- Co-authored-by: katiegoines <katiegoines@gmail.com> * Add Gen 2 banner to React pages (#6742) * Update gen2Banner-urls.ts * Update src/data/gen2Banner-urls.ts Co-authored-by: Tim Nguyen <54393192+timngyn@users.noreply.github.com> * Update gen2Banner-urls.ts * Update gen2Banner-urls.ts * Update gen2Banner-urls.ts --------- Co-authored-by: Tim Nguyen <54393192+timngyn@users.noreply.github.com> * changed button to external (#6757) Co-authored-by: katiegoines <katiegoines@gmail.com> * 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 <foyleef@amazon.com> * Update src/pages/gen2/start/account-setup/index.mdx Co-authored-by: Edward Foyle <foyleef@amazon.com> * 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 <foyleef@amazon.com> * 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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * revert improved banner message (#6788) Co-authored-by: Jacob Logan <lognjc@amazon.com> * 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 <6165315+reesscot@users.noreply.github.com> * add comment about protected content * added Nikhil to protected content approvers --------- Co-authored-by: Jacob Logan <lognjc@amazon.com> Co-authored-by: Scott Rees <6165315+reesscot@users.noreply.github.com> * 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 <josef.aidt@gmail.com> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <josef.aidt@gmail.com> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <josef.aidt@gmail.com> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <josef.aidt@gmail.com> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <josef.aidt@gmail.com> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <josef.aidt@gmail.com> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <josef.aidt@gmail.com> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <josef.aidt@gmail.com> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <josef.aidt@gmail.com> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <josef.aidt@gmail.com> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <josef.aidt@gmail.com> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <josef.aidt@gmail.com> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <josef.aidt@gmail.com> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <josef.aidt@gmail.com> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <josef.aidt@gmail.com> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <josef.aidt@gmail.com> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <josef.aidt@gmail.com> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <josef.aidt@gmail.com> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <josef.aidt@gmail.com> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <josef.aidt@gmail.com> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <josef.aidt@gmail.com> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <josef.aidt@gmail.com> * 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 <mmalaka@gmail.com> Co-authored-by: josef <josef.aidt@gmail.com> * 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 <zheallan@amazon.com> * Update src/pages/[platform]/build-a-backend/storage/storage-v5-to-v6-migration-guide/index.mdx Co-authored-by: erinleigh90 <106691284+erinleigh90@users.noreply.github.com> * Update src/pages/[platform]/build-a-backend/storage/storage-v5-to-v6-migration-guide/index.mdx Co-authored-by: erinleigh90 <106691284+erinleigh90@users.noreply.github.com> * Update src/pages/[platform]/build-a-backend/storage/storage-v5-to-v6-migration-guide/index.mdx Co-authored-by: erinleigh90 <106691284+erinleigh90@users.noreply.github.com> --------- Co-authored-by: Rene Brandel <4989523+renebrandel@users.noreply.github.com> Co-authored-by: AllanZhengYP <zheallan@amazon.com> Co-authored-by: erinleigh90 <106691284+erinleigh90@users.noreply.github.com> * 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 <5827964+cshfang@users.noreply.github.com> * chore: minor adjustments * fix: replace copy-paste punctuation issue --------- Co-authored-by: Chris F <5827964+cshfang@users.noreply.github.com> * 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 <lognjc@amazon.com> * 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 <manojnb95@gmail.com> * Update wording on message comment * Populate identifyUser properties for guide --------- Co-authored-by: ManojNB <manojnb95@gmail.com> * 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 <6165315+reesscot@users.noreply.github.com> * add installation of amplify next.js adapter * Group imports into logical sections Co-authored-by: Caleb Pollman <cpollman@amazon.com> * 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 <119376175+heatheramz@users.noreply.github.com> * Add link for Authenticator customization Co-authored-by: Scott Rees <6165315+reesscot@users.noreply.github.com> --------- Co-authored-by: Scott Rees <6165315+reesscot@users.noreply.github.com> Co-authored-by: Caleb Pollman <cpollman@amazon.com> Co-authored-by: Heather Pundt <119376175+heatheramz@users.noreply.github.com> * 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 <josef.aidt@gmail.com> * Update src/pages/[platform]/build-a-backend/existing-resources/cdk/index.mdx Co-authored-by: josef <josef.aidt@gmail.com> --------- Co-authored-by: josef <josef.aidt@gmail.com> * 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 <4989523+renebrandel@users.noreply.github.com> * 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] <support@github.com> Co-authored-by: Heather Pundt <119376175+heatheramz@users.noreply.github.com> Co-authored-by: Dan Kiuna <dankiuna@gmail.com> Co-authored-by: Rene Brandel <4989523+renebrandel@users.noreply.github.com> Co-authored-by: Nikhil Swaminathan <2429410+swaminator@users.noreply.github.com> Co-authored-by: salihgueler <muhammedsalihguler@gmail.com> Co-authored-by: israx <70438514+israx@users.noreply.github.com> Co-authored-by: Jim Eagan <84857865+hibler13@users.noreply.github.com> Co-authored-by: josef <josef.aidt@gmail.com> Co-authored-by: Mohit Srivastava <mohitsriv@hotmail.com> Co-authored-by: Chris Bonifacio <christopher.bonifacio@gmail.com> Co-authored-by: Rene Brandel <renbran@amazon.com> Co-authored-by: Kevin Old <kevold@amazon.com> Co-authored-by: Katie Goines <30757403+katiegoines@users.noreply.github.com> Co-authored-by: katiegoines <katiegoines@gmail.com> Co-authored-by: Erick Estevão Riva Pramio <erickriva@hotmail.com.br> Co-authored-by: Jay Raval <jay.ambrish.raval@gmail.com> Co-authored-by: Caleb Pollman <cpollman@amazon.com> Co-authored-by: Hui Zhao <10602282+HuiSF@users.noreply.github.com> Co-authored-by: sowmyadev-kota <124720934+sowmyadev-kota@users.noreply.github.com> Co-authored-by: erinleigh90 <106691284+erinleigh90@users.noreply.github.com> Co-authored-by: Sebastian Villena <97059974+ruisebas@users.noreply.github.com> Co-authored-by: Ian Saultz <52051793+atierian@users.noreply.github.com> Co-authored-by: maki <m_fujiwara@yumemi.co.jp> Co-authored-by: ManojNB <manojnb95@gmail.com> Co-authored-by: Jim Blanchard <jim.l.blanchard@gmail.com> Co-authored-by: Francisco Rodriguez <frodriguez.cs@gmail.com> Co-authored-by: Tim Nguyen <54393192+timngyn@users.noreply.github.com> Co-authored-by: Scott Rees <6165315+reesscot@users.noreply.github.com> Co-authored-by: Edward Foyle <foyleef@amazon.com> Co-authored-by: jacoblogan <jacob.maiola.logan@gmail.com> Co-authored-by: Jacob Logan <lognjc@amazon.com> Co-authored-by: Chen Cozoczaru <chen@kahun.com> Co-authored-by: Tyler Roach <tjroach@amazon.com> Co-authored-by: Tim Schmelter <schmelte@amazon.com> Co-authored-by: Chris Womack <67726635+cwomack@users.noreply.github.com> Co-authored-by: timngyn <timngyn@gmail.com> Co-authored-by: Titus Efferian <tituseff@gmail.com> Co-authored-by: Phani Srikar Edupuganti <55896475+phani-srikar@users.noreply.github.com> Co-authored-by: Erik Hanchett <icystorm@gmail.com> Co-authored-by: Erik Hanchett <ehhanche@amazon.com> Co-authored-by: Michael Law <1365977+lawmicha@users.noreply.github.com> Co-authored-by: Thomas Leing <bluezebragames@gmail.com> Co-authored-by: AllanZhengYP <zheallan@amazon.com> Co-authored-by: Venkata Ramyasri Kota <34170013+kvramyasri7@users.noreply.github.com> Co-authored-by: Caleb Pollman <cpollman1@gmail.com> Co-authored-by: Kethan sai <ykethan@amazon.com> Co-authored-by: jacoyutorius <jacoyutorius@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mo Malaka <mmalaka@gmail.com> Co-authored-by: Chris F <5827964+cshfang@users.noreply.github.com> Co-authored-by: Abhash Kumar Singh <thisisabhash@gmail.com> Co-authored-by: Tuan Pham <103537251+phantumcode@users.noreply.github.com> Co-authored-by: abhisuma02 <abhisuma@amazon.com> Co-authored-by: Dustin Noyes <dustin.noyes.dev@gmail.com> Co-authored-by: Ali Spittel <ali07cat07@gmail.com>
1 parent f77df2c commit 4b286e6

File tree

925 files changed

+39544
-12053
lines changed

Some content is hidden

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

925 files changed

+39544
-12053
lines changed

.eslintrc

Lines changed: 0 additions & 67 deletions
This file was deleted.

.eslintrc.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"extends": [
3+
"next/core-web-vitals",
4+
"plugin:@typescript-eslint/recommended",
5+
"prettier" // prettier should always come last
6+
],
7+
"parser": "@typescript-eslint/parser",
8+
"plugins": ["@typescript-eslint", "prettier"],
9+
"rules": {
10+
"react-hooks/exhaustive-deps": "error",
11+
"@typescript-eslint/no-explicit-any": "warn",
12+
"no-unused-vars": "off",
13+
"@typescript-eslint/no-unused-vars": "error"
14+
}
15+
}

.github/CODEOWNERS

Lines changed: 36 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
* @aws-amplify/documentation-team
2-
/src/fragments/ @renebrandel @aws-amplify/documentation-team
3-
/src/pages/ @renebrandel @aws-amplify/documentation-team
2+
/src/fragments/ @renebrandel @dbanksdesign @aws-amplify/documentation-team
3+
/src/pages/ @renebrandel @dbanksdesign @aws-amplify/documentation-team
44

55
#CLI
66
/src/**/cli/ @josefaidt @aws-amplify/documentation-team
@@ -9,80 +9,80 @@
99
/src/pages/console/ @dbanksdesign @aws-amplify/documentation-team
1010

1111
#Analytics
12-
/src/**/**/analytics @renebrandel @aws-amplify/documentation-team
12+
/src/**/**/analytics @renebrandel @dbanksdesign @aws-amplify/documentation-team
1313

1414
#Auth
15-
/src/**/**/auth @renebrandel @aws-amplify/documentation-team
16-
/src/**/**/authz @renebrandel @aws-amplify/documentation-team
17-
/src/**/**/authentication @renebrandel @aws-amplify/documentation-team
15+
/src/**/**/auth @renebrandel @dbanksdesign @aws-amplify/documentation-team
16+
/src/**/**/authz @renebrandel @dbanksdesign @aws-amplify/documentation-team
17+
/src/**/**/authentication @renebrandel @dbanksdesign @aws-amplify/documentation-team
1818

1919
#Client Configuration
20-
/src/**/**/client-configuration @renebrandel @hdworld11 @aws-amplify/documentation-team
21-
/src/**/**/configuration @renebrandel @hdworld11 @aws-amplify/documentation-team
20+
/src/**/**/client-configuration @renebrandel @dbanksdesign @hdworld11 @aws-amplify/documentation-team
21+
/src/**/**/configuration @renebrandel @dbanksdesign @hdworld11 @aws-amplify/documentation-team
2222

2323
#Common
24-
/src/fragments/common @renebrandel @aws-amplify/documentation-team
25-
/src/fragments/lib/common @renebrandel @aws-amplify/documentation-team
24+
/src/fragments/common @renebrandel @dbanksdesign @aws-amplify/documentation-team
25+
/src/fragments/lib/common @renebrandel @dbanksdesign @aws-amplify/documentation-team
2626

2727
#Data
28-
/src/**/**/datastore @renebrandel @aws-amplify/documentation-team
29-
/src/**/**/data @renebrandel @aws-amplify/documentation-team
28+
/src/**/**/datastore @renebrandel @dbanksdesign @aws-amplify/documentation-team
29+
/src/**/**/data @renebrandel @dbanksdesign @aws-amplify/documentation-team
3030

3131
#Debugging
32-
/src/fragments/**/debugging @renebrandel @aws-amplify/documentation-team
32+
/src/fragments/**/debugging @renebrandel @dbanksdesign @aws-amplify/documentation-team
3333

3434
#Geo
35-
/src/**/**/geo @renebrandel @aws-amplify/documentation-team
35+
/src/**/**/geo @renebrandel @dbanksdesign @aws-amplify/documentation-team
3636

3737
#Getting Started
38-
/src/**/start @renebrandel @aws-amplify/documentation-team
38+
/src/**/start @renebrandel @dbanksdesign @aws-amplify/documentation-team
3939

4040
#GraphQL API
41-
/src/**/**/api-graphql @renebrandel @aws-amplify/documentation-team
42-
/src/**/**/graphqlapi @renebrandel @aws-amplify/documentation-team
43-
/src/**/cli-legacy/graphql-transformer @renebrandel @aws-amplify/documentation-team
44-
/src/fragments/sdk/api/**/graphql.mdx @renebrandel @aws-amplify/documentation-team
41+
/src/**/**/api-graphql @renebrandel @dbanksdesign @aws-amplify/documentation-team
42+
/src/**/**/graphqlapi @renebrandel @dbanksdesign @aws-amplify/documentation-team
43+
/src/**/cli-legacy/graphql-transformer @renebrandel @dbanksdesign @aws-amplify/documentation-team
44+
/src/fragments/sdk/api/**/graphql.mdx @renebrandel @dbanksdesign @aws-amplify/documentation-team
4545

4646
#In-App Messaging
47-
/src/**/**/in-app-messaging @renebrandel @aws-amplify/documentation-team
47+
/src/**/**/in-app-messaging @renebrandel @dbanksdesign @aws-amplify/documentation-team
4848

4949
#Info
50-
/src/fragments/**/info @renebrandel @aws-amplify/documentation-team
50+
/src/fragments/**/info @renebrandel @dbanksdesign @aws-amplify/documentation-team
5151

5252
#Interactions
53-
/src/**/**/interactions @renebrandel @aws-amplify/documentation-team
53+
/src/**/**/interactions @renebrandel @dbanksdesign @aws-amplify/documentation-team
5454

5555
#Logging
56-
/src/fragments/lib/logging @renebrandel @aws-amplify/documentation-team
56+
/src/fragments/lib/logging @renebrandel @dbanksdesign @aws-amplify/documentation-team
5757

5858
#Predictions
59-
/src/**/**/predictions @renebrandel @aws-amplify/documentation-team
59+
/src/**/**/predictions @renebrandel @dbanksdesign @aws-amplify/documentation-team
6060

6161
#Project Setup
62-
/src/**/**/project-setup @renebrandel @hdworld11 @aws-amplify/documentation-team
62+
/src/**/**/project-setup @renebrandel @dbanksdesign @hdworld11 @aws-amplify/documentation-team
6363

6464
#PubSub
65-
/src/**/**/pubsub @renebrandel @aws-amplify/documentation-team
65+
/src/**/**/pubsub @renebrandel @dbanksdesign @aws-amplify/documentation-team
6666

6767
#Push Notifications
68-
/src/**/**/push-notifications @renebrandel @aws-amplify/documentation-team
68+
/src/**/**/push-notifications @renebrandel @dbanksdesign @aws-amplify/documentation-team
6969

7070
#Rest API
71-
/src/**/**/api-rest @renebrandel @aws-amplify/documentation-team
72-
/src/**/**/restapi @renebrandel @aws-amplify/documentation-team
73-
/src/fragments/sdk/api/**/rest.mdx @renebrandel @aws-amplify/documentation-team
71+
/src/**/**/api-rest @renebrandel @dbanksdesign @aws-amplify/documentation-team
72+
/src/**/**/restapi @renebrandel @dbanksdesign @aws-amplify/documentation-team
73+
/src/fragments/sdk/api/**/rest.mdx @renebrandel @dbanksdesign @aws-amplify/documentation-team
7474

7575
#SSR
76-
/src/fragments/lib/ssr @renebrandel @aws-amplify/documentation-team
76+
/src/fragments/lib/ssr @renebrandel @dbanksdesign @aws-amplify/documentation-team
7777

7878
#Storage
7979
/src/**/**/storage @hdworld11 @aws-amplify/documentation-team
8080

8181
#Troubleshooting
82-
/src/fragments/lib/troubleshooting @renebrandel @aws-amplify/documentation-team
82+
/src/fragments/lib/troubleshooting @renebrandel @dbanksdesign @aws-amplify/documentation-team
8383

8484
#Utilities
85-
/src/**/**/utilities @renebrandel @aws-amplify/documentation-team
85+
/src/**/**/utilities @renebrandel @dbanksdesign @aws-amplify/documentation-team
8686

8787
#Docs Engineering
8888
/src/components @aws-amplify/documentation-team
@@ -97,3 +97,6 @@
9797
/src/public @aws-amplify/documentation-team
9898
/src/styles @aws-amplify/documentation-team
9999
/src/utils @aws-amplify/documentation-team
100+
101+
#Protected Content
102+
/src/protected @reesscot @srquinn21 @Milan-Shah @swaminator

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Which product(s) are affected by this PR (if applicable)?
1515

1616
Which platform(s) are affected by this PR (if applicable)?
1717
- [ ] JS
18-
- [ ] iOS
18+
- [ ] Swift
1919
- [ ] Android
2020
- [ ] Flutter
2121
- [ ] React Native
@@ -31,8 +31,8 @@ Which platform(s) are affected by this PR (if applicable)?
3131
- [ ] Are any files being deleted with this PR? If so, have the needed redirects been created?
3232

3333
- [ ] Are all links in MDX files using the MDX link syntax rather than HTML link syntax? <br />
34-
_ref: MDX: `[link](https://link.com)`
35-
HTML: `<a href="https://link.com">link</a>`_
34+
_ref: MDX: `[link](https://docs.amplify.aws/)`
35+
HTML: `<a href="https://docs.amplify.aws/">link</a>`_
3636

3737
### When this PR is ready to merge, please check the box below
3838
- [ ] Ready to merge

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout Repo
12-
uses: actions/checkout@v3
13-
- name: Setup Node.js 16.x
14-
uses: actions/setup-node@main
12+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 https://github.com/actions/checkout/commit/f43a0e5ff2bd294095638e18286ca9a3d1956744
13+
- name: Setup Node.js 20.x
14+
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v.3.8.1 https://github.com/actions/setup-node/commit/5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d
1515
with:
16-
node-version: 16.x
16+
node-version: 20.x
1717
- name: Install Dependencies
1818
run: yarn
1919
- name: Run tests
20-
run: yarn test
20+
run: yarn prebuild && yarn test
2121
- name: Run Build
2222
run: yarn build
2323
env:

.github/workflows/check_bundle_size.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 https://github.com/actions/checkout/commit/f43a0e5ff2bd294095638e18286ca9a3d1956744
1414
with:
1515
ref: main
16-
- name: Setup Node.js 16.x
16+
- name: Setup Node.js 20
1717
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1 https://github.com/actions/setup-node/commit/5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d
1818
with:
19-
node-version: 16.x
19+
node-version: 20.x
2020
- name: Install dependencies
2121
run: yarn
2222
- name: Run build and analyze base bundle sizes
@@ -37,10 +37,10 @@ jobs:
3737
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 https://github.com/actions/checkout/commit/f43a0e5ff2bd294095638e18286ca9a3d1956744
3838
with:
3939
ref: ${{ github.head_ref }}
40-
- name: Setup Node.js 16.x
40+
- name: Setup Node.js 20
4141
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v.3.8.1 https://github.com/actions/setup-node/commit/5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d
4242
with:
43-
node-version: 16.x
43+
node-version: 20.x
4444
- name: Install dependencies
4545
run: yarn
4646
- name: Run build and analyze head bundle sizes

.github/workflows/check_for_broken_links.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
steps:
1313
- name: Checkout repository
1414
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
15-
- name: Setup Node.js 16.x
15+
- name: Setup Node.js 20
1616
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0
1717
with:
18-
node-version: 16.x
18+
node-version: 20.x
1919
- name: Install Dependencies
2020
run: yarn
2121
- name: Run Link Checker

.github/workflows/check_for_new_files.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout repository
13-
uses: actions/checkout@v3
13+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 https://github.com/actions/checkout/commit/f43a0e5ff2bd294095638e18286ca9a3d1956744
1414
- name: Get count of added files
15-
uses: actions/github-script@v6.4.0
15+
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1 https://github.com/actions/github-script/commit/d7906e4ad0b1822421a7e6a35d5ca353c962f410
1616
id: set-added-files-count
1717
with:
1818
github-token: ${{ secrets.GITHUB_TOKEN }}
@@ -25,7 +25,7 @@ jobs:
2525
run: yarn add ignore@5.2.4 -W # help verify CODEOWNERS
2626
- name: Check file against CODEOWNERS
2727
if: ${{ steps.set-added-files-count.outputs.result > 0 }}
28-
uses: actions/github-script@v6.4.0
28+
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1 https://github.com/actions/github-script/commit/d7906e4ad0b1822421a7e6a35d5ca353c962f410
2929
env:
3030
CURRENT_BRANCH: ${{ github.head_ref }}
3131
CURRENT_REPO: ${{ github.repository }}

.github/workflows/check_pr_for_broken_links.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,18 @@ on:
33
pull_request:
44
branches: [main, next-release/main]
55
types: [opened, synchronize]
6+
env:
7+
BUILD_DIR: 'client/www/next-build'
68
jobs:
79
CheckPRLinks:
810
runs-on: ubuntu-latest
911
steps:
1012
- name: Checkout repository
1113
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 https://github.com/actions/checkout/commit/f43a0e5ff2bd294095638e18286ca9a3d1956744
12-
- name: Setup Node.js 16.x
14+
- name: Setup Node.js 20
1315
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0 https://github.com/actions/setup-node/commit/e33196f7422957bea03ed53f6fbb155025ffc7b8
1416
with:
15-
node-version: 16.x
17+
node-version: 20.x
1618
- name: Install Dependencies
1719
run: yarn
1820
- name: Run Build
@@ -21,7 +23,7 @@ jobs:
2123
NODE_OPTIONS: --max_old_space_size=4096
2224
- name: Run Server
2325
run: |
24-
node ./node_modules/.bin/serve client/www/next-build --no-request-logging &
26+
python -m http.server 3000 -d ${{ env.BUILD_DIR }} &
2527
sleep 5
2628
- name: Run Link Checker
2729
id: checkLinks

.github/workflows/spellcheck.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout repository
12-
uses: actions/checkout@v3
13-
- name: Setup Node.js 16.x
14-
uses: actions/setup-node@main
12+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 https://github.com/actions/checkout/commit/f43a0e5ff2bd294095638e18286ca9a3d1956744
13+
- name: Setup Node.js 20
14+
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v.3.8.1 https://github.com/actions/setup-node/commit/5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d
1515
with:
16-
node-version: 16.x
16+
node-version: 20.x
1717
- name: Install Dependencies
1818
run: yarn
1919
- name: Run Spellcheck

.github/workflows/tagcheck.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

.husky/pre-commit

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
. "$(dirname -- "$0")/_/husky.sh"
33

44
yarn spellcheck-diff
5+
6+
yarn lint-staged

.lintstagedrc.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
'**/*.(ts|tsx|js|css|mjs)': (filenames) => [
3+
`yarn eslint ${filenames.join(' ')}`,
4+
`yarn prettier --write ${filenames.join(' ')}`
5+
]
6+
};

0 commit comments

Comments
 (0)