Skip to content

hotfix/pin 9099 fix eservice from template breadcrumb#1648

Closed
martinaCampoli wants to merge 2 commits intomainfrom
hotfix/PIN-9099-fix-eservice-from-template-breadcrumb
Closed

hotfix/pin 9099 fix eservice from template breadcrumb#1648
martinaCampoli wants to merge 2 commits intomainfrom
hotfix/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.

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 when creating an eService from a template. The route path has been restructured to follow the standard eService URL pattern, and the "back to list" button now correctly navigates to the eService list instead of the template catalog.

Changes:

  • Modified the route path for PROVIDE_ESERVICE_FROM_TEMPLATE_CREATE to align with the standard eService URL structure (/erogazione/e-service/...)
  • Updated the back navigation button to direct users to PROVIDE_ESERVICE_LIST instead of PROVIDE_ESERVICE_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 Changed route path from /erogazione/template-eservice/:eServiceTemplateId/e-service/crea to /erogazione/e-service/template-eservice/:eServiceTemplateId/crea to align with eService URL conventions
src/pages/ProviderEServiceFromTemplateCreatePage/ProviderEServiceFromTemplateCreate.page.tsx Updated back button navigation from PROVIDE_ESERVICE_TEMPLATE_CATALOG to PROVIDE_ESERVICE_LIST for correct user 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

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.

1 participant