Closed DilwoarH closed 1 week ago
The pull request introduces several enhancements to the guidance system within the application. A new section, guidanceNavigation
, is added to the configuration file, providing structured links to various guidance topics. Additionally, a new SCSS file for sub-navigation styles is created, and multiple Markdown files are introduced to serve as guidance documents for local planning authorities. The routing system is updated to include these new guidance pages, ensuring users can access them seamlessly within the service.
File Path | Change Summary |
---|---|
config/default.yaml |
Added guidanceNavigation section with title and list of items for various guidance topics. |
src/assets/scss/components/_sub-navigation.scss |
Created styles for the sub-navigation component, defining multiple classes for layout and design. |
src/assets/scss/index.scss |
Added import statement for the new sub-navigation SCSS file. |
src/routes/guidance.js |
Introduced a new Express router for handling guidance-related routes with dynamic template rendering. |
src/serverSetup/routes.js |
Added route mapping for /guidance to the new guidance router. |
src/views/check/start.html |
Updated hyperlink to a relative URL for data specifications. |
src/views/components/sub-navigation.html |
Introduced a new sub-navigation component in HTML format. |
src/views/guidance/index.md |
Created a new Markdown file outlining a process for LPAs to provide data. |
src/views/guidance/keep-your-data-up-to-date.md |
Added guidance on the importance of updating data. |
src/views/guidance/publish-data-on-your-website.md |
Provided instructions for publishing data on websites. |
src/views/guidance/specifications/article-4-direction.md |
Introduced guidance for article 4 direction datasets. |
src/views/guidance/specifications/conservation-area.md |
Created guidance for conservation area data submission. |
src/views/guidance/specifications/design-code.md |
Added guidance for design code datasets. |
src/views/guidance/specifications/index.md |
Outlined requirements for publishing data on websites. |
src/views/guidance/specifications/listed-building.md |
Provided guidance for datasets related to listed buildings. |
src/views/guidance/specifications/tree-preservation-order.md |
Introduced guidance for tree preservation orders. |
src/views/guidance/try-check-publish-service.md |
Created an overview of an online service for checking data compliance. |
src/views/layouts/guidance.html |
Introduced a new layout template for guidance pages. |
src/views/organisations/get-started.html |
Updated hyperlink to a relative URL for data specifications. |
src/views/submit/start.html |
Updated hyperlinks from absolute to relative URLs for data specifications. |
Objective | Addressed | Explanation |
---|---|---|
Move guidance pages into submit service (#572) | β |
guidanceNavigation
section, enhancing the usability of the guidance provided.π In a world of planning, we hop and play,
With guidance so clear, we find our way.
From trees to buildings, our data's in sight,
With links to assist, weβll do it right!
So gather your info, letβs publish with glee,
For a brighter tomorrow, together, you and me! π³π
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Status | Category | Percentage | Covered / Total |
---|---|---|---|
π΅ | Lines | 66.4% | 4007 / 6034 |
π΅ | Statements | 66.4% | 4007 / 6034 |
π΅ | Functions | 66.15% | 174 / 263 |
π΅ | Branches | 81.22% | 476 / 586 |
File | Stmts | Branches | Functions | Lines | Uncovered Lines |
---|---|---|---|---|---|
Changed Files | |||||
src/routes/guidance.js | 0% | 0% | 0% | 0% | 1-83 |
src/routes/schemas.js | 100% | 100% | 100% | 100% | |
src/serverSetup/nunjucks.js | 83.33% | 72.72% | 100% | 83.33% | 35-36, 48-54, 62-64 |
src/serverSetup/routes.js | 0% | 0% | 0% | 0% | 1-25 |
One small thing on this page: https://submit-pr-613.herokuapp.com/guidance/try-check-publish-service
The link to the check tool seems to redirect to the landing page:
One small thing on this page: https://submit-pr-613.herokuapp.com/guidance/try-check-publish-service
The link to the check tool seems to redirect to the landing page:
done
What type of PR is this? (check all applicable)
Description
Move guidance from main website to this repo
Related Tickets & Documents
QA Instructions, Screenshots, Recordings
Added/updated tests?
We encourage you to keep the code coverage percentage at 80% and above.
[optional] Are there any post deployment tasks we need to perform?
[optional] Are there any dependencies on other PRs or Work?
Summary by CodeRabbit
Release Notes
New Features
Bug Fixes
Documentation