Skip to content

Add dedicated /school/secondary route for secondary school journeys and area path - #282

Merged
mahmoodcli merged 22 commits into
mainfrom
feature/separate-url-path-for-Secondary
Jul 23, 2026
Merged

Add dedicated /school/secondary route for secondary school journeys and area path#282
mahmoodcli merged 22 commits into
mainfrom
feature/separate-url-path-for-Secondary

Conversation

@mahmoodcli

@mahmoodcli mahmoodcli commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

Description

This change introduces a dedicated secondary-school URL path under /school/secondary/{urn}.

Related Trello Ticket

https://trello.com/c/Ih9RRXAL

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Unit tests added/updated
  • Integration tests added/updated
  • Manual testing performed
  • Tested on [Environment: Dev/Staging/Local]

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have verified accessibility requirements are met

Screenshots (if applicable)

Add UI changes, logs, console outputs anything to help reviewers.

@mahmoodcli mahmoodcli added the deploy deploy application label Jul 13, 2026
@mahmoodcli mahmoodcli changed the title created area path for secondary school Add dedicated /school/secondary route for secondary school journeys Jul 13, 2026
@mahmoodcli mahmoodcli changed the title Add dedicated /school/secondary route for secondary school journeys Add dedicated /school/secondary route for secondary school journeys and area path Jul 13, 2026
@github-actions

Copy link
Copy Markdown

Deployments

Review app is available at these URLs:
https://get-school-improvement-insights-pr-282.test.teacherservices.cloud

mahmoodcli added 2 commits July 14, 2026 14:17
…asures-content-updates

# Conflicts:
#	SAPSec.Web/Views/School/Attendance.cshtml
#	Tests/SAPSec.Test.Integration/Tests/SchoolControllerIntegrationTests.cs
…path-for-Secondary

# Conflicts:
#	SAPSec.Web/Constants/Routes.cs
Comment thread SAPSec.Web/Helpers/SchoolRouteHelper.cs Outdated
Comment thread SAPSec.Web/ViewModels/SchoolSideNavigationViewModel.cs
Comment thread Tests/SAPSec.Test.Integration/Tests/Ks4HeadlineMeasuresIntegrationTests.cs Outdated
Comment thread Tests/SAPSec.Test.Integration/Tests/Ks4HeadlineMeasuresIntegrationTests.cs Outdated
Comment thread Tests/SAPSec.Test.Integration/Tests/Ks4HeadlineMeasuresIntegrationTests.cs Outdated
Comment thread Tests/SAPSec.UI.Tests/SchoolPageTests.cs Outdated
Comment thread Tests/SAPSec.UI.Tests/SimilarSchoolComparisonPageTests.cs Outdated
Comment thread Tests/SAPSec.UI.Tests/SimilarSchoolsComparisonKs4CoreSubjectsPageTests.cs Outdated
Comment thread Tests/SAPSec.UI.Tests/SimilarSchoolsComparisonKs4HeadlineMeasuresPageTests.cs Outdated
Comment thread Tests/SAPSec.UI.Tests/SimilarSchoolsPageTests.cs Outdated
Comment thread SAPSec.Web/Helpers/SchoolRouteHelper.cs Outdated
Comment thread SAPSec.Web/Helpers/SchoolRouteHelper.cs Outdated
Comment thread Tests/SAPSec.Test.Integration/Tests/SchoolControllerIntegrationTests.cs Outdated
Comment thread Tests/SAPSec.Test.Integration/Tests/SchoolControllerIntegrationTests.cs Outdated
Comment thread SAPSec.Web/Areas/Secondary/Controllers/SimilarSchoolsController.cs Outdated
Comment thread Tests/SAPSec.Test.Integration/Tests/SimilarSchoolsIntegrationTests.cs Outdated
Comment thread Tests/SAPSec.Test.Integration/Tests/SimilarSchoolsIntegrationTests.cs Outdated

var redirectResult = result.Should().BeOfType<RedirectResult>().Subject;
redirectResult.Url.Should().Be("/school/123456");
redirectResult.Url.Should().Be("/school/secondary/123456");

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks like this was missed


var redirectResult = result.Should().BeOfType<RedirectResult>().Subject;
redirectResult.Url.Should().Be("/school/123456");
redirectResult.Url.Should().Be("/school/secondary/123456");

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Also other paths in this file

@github-actions

Copy link
Copy Markdown

Code Coverage Report: Only Changed Files listed

Package Coverage
Overall Coverage 🟢 68.03%

Minimum allowed coverage is 0%, this run produced 68.03%

Comment thread SAPSec.Web/Helpers/SchoolRouteHelper.cs Outdated
@mahmoodcli
mahmoodcli merged commit 3c6e690 into main Jul 23, 2026
3 checks passed
@mahmoodcli
mahmoodcli deleted the feature/separate-url-path-for-Secondary branch July 23, 2026 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deploy deploy application

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants