The-Strategy-Unit / The-Strategy-Unit/nhp_inputs

Re-style the end-year digits in the home-page scenario-overview table

Open Beginner friendly
#680 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

should techdebt
Dominant language
R
Stars
2
Forks
1
Avg merge
15h 39m
Merged PRs (30d)
6

Description

Presentational issue on the home page in v5.0: end_year should show a six-digit financial style '204344' like start_year does.

Table showing the six-digit value 202425 for the start year variable, but only a four-digit value, 2041, for the end year vairable.

I checked that it is captured correctly in params:

A JSON file with start- and end-year variables that are four digits each, 2024 and 2043, respectively.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the home-page scenario-overview table and compare how the start_year and end_year values are rendered. Reproduce the table using the parameter values shown in the issue, then adjust the end_year presentation so it displays the six-digit financial style and verify that start_year remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.