Appropriate Body "Check Data" subordinate pages#2174
Appropriate Body "Check Data" subordinate pages#2174craigmdavidson wants to merge 2 commits intomainfrom
Conversation
|
Review app deployed to https://cpd-ec2-review-2174-web.test.teacherservices.cloud |
884a95f to
03af14d
Compare
03af14d to
abb8f62
Compare
|
df234b5 to
6d8c483
Compare
71f49ab to
0d755b9
Compare
8b9bde5 to
07ff3d4
Compare
app/views/appropriate_bodies/unclaimed/claimable/index.html.erb
Outdated
Show resolved
Hide resolved
44157fc to
6486066
Compare
6486066 to
a5a8bd4
Compare
a77403d to
2358dbc
Compare
f37023a to
df9395b
Compare
| Teachers::Name.new(ect_at_school_period.teacher).full_name | ||
| end | ||
|
|
||
| def teacher_trn |
There was a problem hiding this comment.
Should we switch to delegating here too, or is that too much?
There was a problem hiding this comment.
I don't know. We are modifying the names of things slightly, which we would lose with delegation.
Based on that I haven't delegated, but we could, if you think that would be clearer?
There was a problem hiding this comment.
Up to you, we could accomplish it with a prefix; maybe if more delegated methods were needed.
delegate :trn, to: :ect_at_school_period, prefix: :teacher
delegate :school_name, to: :ect_at_school_periodThere was a problem hiding this comment.
Okay. Let's do it! 😄
| html = rendered.to_html | ||
| expect(html).to include("Postman Pat") | ||
| expect(html).to include("1234567") | ||
| expect(html).to include("Bob Builder") |
|
|
||
| it "renders teacher names, TRNs, school name, and induction tutor email" do | ||
| html = rendered.to_html | ||
| expect(html).to include("Postman Pat") |
df9395b to
39993cf
Compare
39993cf to
dd4e024
Compare
dd4e024 to
ed75657
Compare
Fill in detail pages for unclaimed ECTs, Each page includes search by name or TRN and paginated tables with category-specific columns.
ed75657 to
d45687b
Compare
|
Looks excellent and works as advertised. If we can follow the blank line convention I'll happily approve; don't want to hold you up. |
Thanks @peterdavidhamilton I think I might I'm not fully understanding this? in the repos So this means we final character should be a oin when I hexdump the first new file in the PR:
When that new line is missing GitHub it shows it as red. |



Context
As part of the "check-data" workflow, we need to provide detail pages for the unclaimed subgroups:
EPIC: https://github.com.mcas.ms/DFE-Digital/register-ects-project-board/issues/3190
Check and claim an ECT Induction
Github issue: https://github.com.mcas.ms/DFE-Digital/register-ects-project-board/issues/3166
Unclaimable inductions due to missing QTS
Github issue: https://github.com.mcas.ms/DFE-Digital/register-ects-project-board/issues/3183
Unclaimable inductions due to being claimed by another AppropriateBody
Github issue: https://github.com.mcas.ms/DFE-Digital/register-ects-project-board/issues/3182
Changes proposed in this pull request
As Built
Claimable

Unclaimable (missing QTS)

Unclaimable (claimed by another Appropriate Body)

Guidance to review
indextoshowto better the support subordinate pages.