Refactor: switch router imports from react-router-dom to react-router and update splat route structure for v7 compatibility#138
Conversation
- switch router imports from react-router-dom to react-router - update splat route structure for v7 compatibility - fix duplicate disabled prop in SeoPress next button
There was a problem hiding this comment.
Pull request overview
This PR updates the frontend routing layer for React Router v7-style compatibility by switching imports away from react-router-dom and adjusting splat route definitions, alongside small formatting/build tooling updates.
Changes:
- Switched many component imports from
react-router-domtoreact-router(hooks/components likeuseNavigate,useParams,Routes, etc.). - Refactored splat routes in
frontend/src/App.jsxinto nestedindex+*child routes for/flow/actionand/auth-response. - Updated repo tooling: added
eslint.config.js(flat config), adjusted Prettier config, pinned a Composer dependency, and updated CI build command/pnpm version.
Reviewed changes
Copilot reviewed 279 out of 395 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| frontend/src/components/AllIntegrations/Telegram/EditTelegram.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/TeamsForWooCommerceMemberships/TeamsForWooCommerceMemberships.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/TeamsForWooCommerceMemberships/EditTeamsForWooCommerceMemberships.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/SystemeIO/SystemeIO.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/SystemeIO/EditSystemeIO.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/SyncSpider/SyncSpider.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/SyncSpider/EditSyncSpider.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/SureTriggers/SureTriggers.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/SureTriggers/EditSureTriggers.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/SureMembers/SureMembers.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/SureMembers/EditSureMembers.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/SureCart/SureCart.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/SureCart/EditSureCart.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/SuiteDash/SuiteDash.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/SuiteDash/EditSuiteDash.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/SperseIO/SperseIO.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/SperseIO/EditSperseIO.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/SmartSuite/SmartSuite.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/SmartSuite/EditSmartSuite.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Smaily/Smaily.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Smaily/EditSmaily.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/SliceWp/SliceWp.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/SliceWp/EditSliceWp.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Slack/SlackIntegLayout.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Slack/Slack.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Slack/EditSlack.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/SeoPress/SeoPress.jsx | Switch router hook imports + adjust Next button disabling logic. |
| frontend/src/components/AllIntegrations/SeoPress/EditSeoPress.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Sendy/Sendy.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Sendy/EditSendy.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/SendinBlue/SendinBlue.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/SendinBlue/EditSendinBlue.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/SendPulse/SendPulse.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/SendPulse/EditSendPulse.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/SendGrid/SendGrid.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/SendGrid/EditSendGrid.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/SendFox/SendFoxUnsubscribeFieldMap.jsx | Reformat exported field list constant. |
| frontend/src/components/AllIntegrations/SendFox/SendFoxIntegLayout.jsx | Reformat imports and state update callback formatting. |
| frontend/src/components/AllIntegrations/SendFox/SendFox.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/SendFox/EditSendFox.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Selzy/Selzy.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Selzy/EditSelzy.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Salesmate/Salesmate.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Salesmate/EditSalesmate.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Salesforce/Salesforce.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Salesforce/EditSalesforce.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Salesflare/Salesflare.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Salesflare/EditSalesflare.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/RestrictContent/RestrictContent.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/RestrictContent/EditRestrictContent.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Registration/Registration.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Registration/EditRegistration.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Rapidmail/Rapidmail.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Rapidmail/EditRapidmail.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/PropovoiceCRM/PropovoiceCrm.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/PropovoiceCRM/EditPropovoiceCrm.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/PostCreation/PostEdit.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/PostCreation/Post.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/PipeDrive/PipeDrive.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/PipeDrive/EditPipeDrive.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/PerfexCRM/PerfexCRM.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/PerfexCRM/EditPerfexCRM.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/PaidMembershipPro/PaidMembershipPro.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/PaidMembershipPro/EditPaidMembershipPro.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Pabbly/Pabbly.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Pabbly/EditPabbly.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/PCloud/PCloudCommonFunc.js | Reformat function signature for authorization helper. |
| frontend/src/components/AllIntegrations/PCloud/PCloudAuthorization.jsx | Reformat call site for authorization helper. |
| frontend/src/components/AllIntegrations/PCloud/PCloud.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/PCloud/EditPCloud.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/OneHashCRM/OneHashCRM.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/OneHashCRM/EditOneHashCRM.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/OneDrive/OneDriveAuthorization.jsx | Reformat call site for authorization helper. |
| frontend/src/components/AllIntegrations/OneDrive/OneDrive.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/OneDrive/EditOneDrive.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/OmniSend/OmniSend.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/OmniSend/EditOmniSend.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/NutshellCRM/NutshellCRM.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/NutshellCRM/EditNutshellCRM.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Notion/NotionCommonFunc.js | Reformat authorization helper signature. |
| frontend/src/components/AllIntegrations/Notion/Notion.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Notion/EditNotion.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Nimble/Nimble.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Nimble/EditNimble.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Newsletter/Newsletter.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Newsletter/EditNewsletter.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/NewInteg.jsx | Switch router hook imports + minor lazy import formatting. |
| frontend/src/components/AllIntegrations/N8n/N8n.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/N8n/EditN8n.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/MoxieCRM/MoxieCRM.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/MoxieCRM/EditMoxieCRM.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Moosend/Moosend.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Moosend/EditMoosend.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Memberpress/Memberpress.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Memberpress/EditMemberpress.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Mautic/Mautic.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Mautic/EditMautic.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/MasterStudyLms/MasterStudyLms.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/MasterStudyLms/EditMasterStudyLms.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Mailup/Mailup.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Mailup/EditMailup.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Mailster/Mailster.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Mailster/EditMailster.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Mailjet/Mailjet.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Mailjet/EditMailjet.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Mailify/Mailify.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Mailify/EditMailify.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Mailercloud/Mailercloud.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Mailercloud/EditMailercloud.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/MailerPress/MailerPress.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/MailerPress/EditMailerPress.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/MailerLite/MailerLite.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/MailerLite/EditMailerLite.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/MailRelay/MailRelay.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/MailRelay/EditMailRelay.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/MailPoet/MailPoet.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/MailPoet/EditMailPoet.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/MailMint/MailMint.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/MailMint/EditMailMint.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/MailChimp/MailChimp.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/MailChimp/EditMailChimp.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/MailBluster/MailBluster.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/MailBluster/EditMailBluster.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Mail/Mail.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Log.jsx | Switch router imports (Link/useParams) to react-router. |
| frontend/src/components/AllIntegrations/Livestorm/Livestorm.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Livestorm/EditLivestorm.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/LionDesk/LionDesk.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/LionDesk/EditLionDesk.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Line/Line.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Line/EditLine.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/LifterLms/LifterLms.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/LifterLms/EditLifterLms.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Lemlist/Lemlist.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Lemlist/EditLemlist.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/LearnDash/LearnDash.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/LearnDash/EditLearnDash.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/LMFWC/LMFWC.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/LMFWC/EditLMFWC.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/KonnectzIT/KonnectzIT.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/KonnectzIT/EditKonnectzIT.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Klaviyo/Klaviyo.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Klaviyo/EditKlaviyo.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/KirimEmail/KirimEmail.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/KirimEmail/EditKirimEmail.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Keap/KeapIntegLayout.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Keap/KeapCommonFunc.js | Reformat helper call and signature. |
| frontend/src/components/AllIntegrations/Keap/Keap.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Keap/EditKeap.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/JetEngine/JetEngine.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/JetEngine/EditJetEngine.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Integromat/Integromat.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Integromat/EditIntegromat.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Integrately/Integrately.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Integrately/EditIntegrately.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/IntegInfo.jsx | Switch router imports (Link/useParams) to react-router. |
| frontend/src/components/AllIntegrations/Insightly/Insightly.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Insightly/EditInsightly.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/IFTTT/IFTTT.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/IFTTT/EditIFTTT.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Hubspot/Hubspot.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Hubspot/EditHubspot.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/HighLevel/HighLevel.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/HighLevel/EditHighLevel.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Groundhogg/Groundhogg.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Groundhogg/EditGroundhogg.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Gravitec/Gravitec.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Gravitec/EditGravitec.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/GoogleSheet/GoogleSheet.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/GoogleSheet/EditGoogleSheet.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/GoogleDrive/GoogleDrive.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/GoogleDrive/EditGoogleDrive.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/GoogleContacts/GoogleContacts.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/GoogleContacts/EditGoogleContacts.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/GoogleCalendar/GoogleCalendar.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/GoogleCalendar/EditGoogleCalendar.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/GiveWp/GiveWp.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/GiveWp/EditGiveWp.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Getgist/Getgist.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Getgist/EditGetgist.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/GetResponse/GetResponse.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/GetResponse/EditGetResponse.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/GamiPress/GamiPress.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/GamiPress/EditGamiPress.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Freshdesk/Freshdesk.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Freshdesk/EditFreshdesk.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/FreshSales/FreshSales.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/FreshSales/EditFreshSales.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/FluentSupport/FluentSupport.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/FluentSupport/EditFluentSupport.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/FluentCart/FluentCart.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/FluentCart/EditFluentCart.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/FluentCRM/FluentCrm.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/FluentCRM/EditFluentCrm.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Flowlu/Flowlu.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Flowlu/EditFlowlu.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/FlowMattic/FlowMattic.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/FlowMattic/EditFlowMattic.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Fabman/Fabman.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Fabman/EditFabman.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Encharge/Encharge.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Encharge/EditEncharge.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/EmailOctopus/EmailOctopus.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/EmailOctopus/EditEmailOctopus.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/ElasticEmail/ElasticEmail.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/ElasticEmail/EditElasticEmail.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/EditInteg.jsx | Switch router imports (Link/useParams) + minor lazy import formatting. |
| frontend/src/components/AllIntegrations/Dropbox/EditDropbox.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Dropbox/Dropbox.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Drip/EditDrip.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Drip/Drip.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Dokan/EditDokan.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Dokan/Dokan.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Discord/EditDiscord.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Discord/DiscordIntegLayout.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Discord/Discord.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/DirectIq/EditDirectIq.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/DirectIq/DirectIq.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Demio/EditDemio.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Demio/Demio.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/CustomApi/EditCustomApi.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/CustomApi/CustomApi.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/CustomAction/EditCustomAction.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/CustomAction/CustomAction.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/CopperCRM/EditCopperCRM.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/CopperCRM/CopperCRM.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/ConvertKit/EditConvertKit.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/ConvertKit/ConvertKit.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/ConstantContact/EditConstantContact.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/ConstantContact/ConstantContact.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/CompanyHub/EditCompanyHub.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/CompanyHub/CompanyHub.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/ClinchPad/EditClinchPad.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/ClinchPad/ClinchPad.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Clickup/EditClickup.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Clickup/Clickup.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/CapsuleCRM/EditCapsuleCRM.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/CapsuleCRM/CapsuleCRM.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/CampaignMonitor/EditCampaignMonitor.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/CampaignMonitor/CampaignMonitor.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/BuddyBoss/EditBuddyBoss.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/BuddyBoss/BuddyBoss.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/BitForm/EditBitForm.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/BitForm/BitForm.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Bento/EditBento.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Bento/Bento.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/BenchMark/EditBenchMark.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/BenchMark/BenchMark.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Autonami/EditAutonami.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Autonami/Autonami.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/AutomatorWP/EditAutomatorWP.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/AutomatorWP/AutomatorWP.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Asana/EditAsana.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Asana/Asana.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/AntApps/EditAntApps.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/AntApps/AntApps.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Albato/EditAlbato.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Albato/Albato.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Airtable/EditAirtable.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Airtable/Airtable.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/AgiledCRM/EditAgiled.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/AgiledCRM/Agiled.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Affiliate/EditAffiliate.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Affiliate/Affiliate.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/AdvancedFormIntegration/EditAdvancedFormIntegration.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/AdvancedFormIntegration/AdvancedFormIntegration.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Acumbamail/EditAcumbamail.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/Acumbamail/Acumbamail.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/ActiveCampaign/EditActiveCampaign.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/ActiveCampaign/ActiveCampaign.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/AcademyLms/EditAcademyLms.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/AcademyLms/AcademyLms.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/ACPT/EditACPT.jsx | Switch router hook imports to react-router. |
| frontend/src/components/AllIntegrations/ACPT/ACPT.jsx | Switch router hook imports to react-router. |
| frontend/src/App.jsx | Switch Route/Routes import + refactor splat routes to nested structure. |
| eslint.config.js | Add ESLint flat config for frontend JS/JSX. |
| composer.json | Pin typisttech/imposter-plugin version range. |
| .prettierrc | Remove deprecated jsxBracketSameLine option. |
| .github/workflows/plugin-check.yml | Pin pnpm version and update build command. |
Files not reviewed (2)
- frontend/src/components/AllIntegrations/Pods/EditPod.jsx: Language not supported
- frontend/src/components/AllIntegrations/Pods/Pods.jsx: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request modernizes the application's frontend routing by migrating to React Router v7, ensuring future compatibility and adherence to best practices. It also includes updates to development configurations for code formatting and linting, along with minor dependency updates and logical refinements across various integration modules. Highlights
Changelog
Ignored Files
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request effectively refactors the router imports from react-router-dom to react-router and updates the routing structure for compatibility with v7. The changes are consistent across the codebase. I've identified an opportunity to reduce code duplication in App.jsx by extracting repeated JSX elements into constants, which will improve readability and maintainability. Apart from that, the changes look good.
There was a problem hiding this comment.
Code Review
This pull request successfully refactors router imports from react-router-dom to react-router and updates the route structure for compatibility with newer versions. The changes are well-executed across numerous files. I've identified an opportunity to reduce code duplication in frontend/src/App.jsx where the new routing structure has been implemented. My suggestion aims to make the code cleaner and more maintainable. The other changes, such as dependency updates and configuration cleanup, are good improvements.
There was a problem hiding this comment.
Code Review
This pull request is a large refactoring effort to update routing imports from react-router-dom to react-router and make the splat route structure compatible with React Router v7. The changes are mostly correct and achieve the stated goal. I've provided a couple of suggestions to improve maintainability and correctness in the new ESLint configuration and the updated routing in App.jsx.
No description provided.