-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(new-primary-school): Implement school page #17384
base: main
Are you sure you want to change the base?
Conversation
WalkthroughThis pull request introduces a new school subsection to the primary school application form. The changes include adding a new module for the school subsection, updating the primary school section to include this new subsection, extending the data schema to capture school application preferences, and adding corresponding message translations. The implementation allows users to choose between applying to their neighborhood school or another school, with dynamic visibility based on the application's context. Changes
Sequence DiagramsequenceDiagram
participant User
participant Form
participant SchoolSubSection
participant DataSchema
User->>Form: Starts Primary School Application
Form->>SchoolSubSection: Render School Subsection
SchoolSubSection->>User: Display School Selection Options
User->>SchoolSubSection: Choose School Preference
SchoolSubSection->>DataSchema: Validate School Selection
DataSchema-->>SchoolSubSection: Validation Result
Possibly related PRs
Suggested labels
Suggested reviewers
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (4)
🧰 Additional context used📓 Path-based instructions (4)libs/application/templates/new-primary-school/src/forms/NewPrimarySchoolForm/primarySchoolSection/index.ts (1)Pattern
libs/application/templates/new-primary-school/src/forms/NewPrimarySchoolForm/primarySchoolSection/schoolSubSection.ts (1)Pattern
libs/application/templates/new-primary-school/src/lib/dataSchema.ts (1)Pattern
libs/application/templates/new-primary-school/src/lib/messages.ts (1)Pattern
📓 Learnings (3)libs/application/templates/new-primary-school/src/forms/NewPrimarySchoolForm/primarySchoolSection/index.ts (1)
libs/application/templates/new-primary-school/src/forms/NewPrimarySchoolForm/primarySchoolSection/schoolSubSection.ts (2)
libs/application/templates/new-primary-school/src/lib/dataSchema.ts (2)
🔇 Additional comments (7)
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? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #17384 +/- ##
=======================================
Coverage 35.68% 35.68%
=======================================
Files 6931 6931
Lines 148785 148785
Branches 42509 42509
=======================================
Hits 53091 53091
Misses 95694 95694
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report in Codecov by Sentry.
|
Datadog ReportAll test runs ✅ 4 Total Test Services: 0 Failed, 4 Passed Test Services
🔻 Code Coverage Decreases vs Default Branch (1)
|
TS-947
What
Implement new school page
Screenshots / Gifs
Checklist:
Summary by CodeRabbit
New Features
Documentation
Data Schema