Skip to content

bugfix/pin 9099 fix eservice from template breadcrumb#1649

Merged
borgesis95 merged 2 commits intodevfrom
bugfix/PIN-9099-fix-eservice-from-template-breadcrumb
Feb 5, 2026
Merged

bugfix/pin 9099 fix eservice from template breadcrumb#1649
borgesis95 merged 2 commits intodevfrom
bugfix/PIN-9099-fix-eservice-from-template-breadcrumb

Conversation

@martinaCampoli
Copy link
Contributor

🔗 Issue

https://pagopa.atlassian.net/browse/PIN-9099

📝 Description / Context

  • Changed the route path for PROVIDE_ESERVICE_FROM_TEMPLATE_CREATE in src/router/routes.tsx to /erogazione/e-service/template-eservice/:eServiceTemplateId/crea

  • Updated the "back to list" button in ProviderEServiceFromTemplateCreate.page.tsx to navigate to PROVIDE_ESERVICE_LIST instead of PROVIDE_ESERVICE_TEMPLATE_CATALOG, ensuring the user is returned to the correct list view.

Copilot AI review requested due to automatic review settings February 5, 2026 15:41
@martinaCampoli martinaCampoli changed the title Bugfix/pin 9099 fix eservice from template breadcrumb bugfix/pin 9099 fix eservice from template breadcrumb Feb 5, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a breadcrumb/navigation issue for creating e-services from templates by reorganizing the route path structure and correcting the back navigation behavior.

Changes:

  • Updated route path to group e-service creation from template under /erogazione/e-service/ hierarchy for consistency
  • Changed "back to list" button to navigate to the e-service list instead of template catalog

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/router/routes.tsx Reorganized route path from /erogazione/template-eservice/:eServiceTemplateId/e-service/crea to /erogazione/e-service/template-eservice/:eServiceTemplateId/crea for better consistency with other e-service routes
src/pages/ProviderEServiceFromTemplateCreatePage/ProviderEServiceFromTemplateCreate.page.tsx Updated back button navigation target from template catalog to e-service list, aligning with regular e-service creation flow

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 5, 2026

Quality Gate Failed Quality Gate failed

Failed conditions
50.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@borgesis95 borgesis95 merged commit d2e612f into dev Feb 5, 2026
15 of 16 checks passed
@borgesis95 borgesis95 deleted the bugfix/PIN-9099-fix-eservice-from-template-breadcrumb branch February 5, 2026 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants