Skip to content
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

394: Add low-fi view ECT record #421

Merged
merged 1 commit into from
Oct 9, 2024
Merged

394: Add low-fi view ECT record #421

merged 1 commit into from
Oct 9, 2024

Conversation

edujackedu
Copy link
Contributor

@edujackedu edujackedu commented Oct 7, 2024

Update ECT record view to match low-fi design:

  • display induction history
  • display full_name
  • Update seeds so we have better test data

Design:

Screenshot 2024-10-07 at 16 04 49

Result:

Screenshot 2024-10-08 at 13 58 22

@edujackedu edujackedu marked this pull request as ready for review October 7, 2024 15:06
row.with_key(text: "Induction status")

# FIXME: This is a placeholder. The actual status should be displayed here.
row.with_value(text: govuk_tag(text: "placeholder", colour: %w[grey green red purple orange yellow].sample))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

should we use the status coming from the TRS API or are we going to have our own status values? @peteryates

Copy link
Member

Choose a reason for hiding this comment

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

I think this is where we'll show the overall induction status, which we will hold the 'truth' of in our database and push updates to TRS as and when they happen. We don't know what the possible values are yet though.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Let's keep the placeholder for now then

db/schema.rb Outdated Show resolved Hide resolved
Copy link
Member

@peteryates peteryates left a comment

Choose a reason for hiding this comment

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

Looks great!

@edujackedu edujackedu added this pull request to the merge queue Oct 9, 2024
Merged via the queue into main with commit 7b25540 Oct 9, 2024
16 checks passed
@edujackedu edujackedu deleted the 394-ect-page branch October 9, 2024 08:34
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.

2 participants