bcgov / bcgov/bcparks-ar-admin

[M]New Calculated Field to display total number of people at front country activities

Open
#256 11 comments 0 reactions 2 assignees View on GitHub

@JLWade is already working on this.

Since Mar 6, 2024.

A&R
Dominant language
TypeScript
Stars
5
Forks
15
PR merge metrics
No merged PRs in 30d

Description

Description

As a bc parks admin A&R uses, we want to easily see both the front country attendance total and the camping parties total.

This new calculation would apply to Front county camping only.

Front Country Activity form would show:

  1. The total number of camping party nights, (Standard + Senior + SSCFE + Longstay)
  2. Total Attendance (People), ((Standard + Senior + SSCFE +Longstay) * 3.2)

Acceptance Criteria:

  • Exported report for Front country shows new title and calculated value with new calculation
  • Historical and new/current data for total attendance in front country camping needs to have both fields:
    • “camping party nights”
    • “total attendance (people)” (which is camping party nights *3.2)
    • historical: new field name “camping party nights” to replace Total Attendance, add Total Attendance (people) field with this calculation ((Standard + Senior + SSCFE +Longstay) * 3.2) - This AC has been moved to #270
    • current: rename total attendance to “Total Attendance (people)” and add “camping party nights” field with (Standard + Senior + SSCFE + Longstay)

Notes

request:

We would like to add an additional calculated field to the UI display (which will also result in an additional export column). Data that was entered directly into the A&R system shows the frontcountry attendance total as the total number of people (the system totals Standard + Senior + SSCFE + Longstay and multiplies this total by 3.2). This is definitely useful, but we have calculations that also use the camping party nights total, so the hope is to display both the total camping party nights and total number of people.

To keep what each total represents clear to the user, we would also like to display the unit (people) beside the total attendance title.

So the interface would display:

  1. The total number of camping party nights, (Standard + Senior + SSCFE + Longstay)
  2. Total Attendance (People), ((Standard + Senior + SSCFE +Longstay) * 3.2)

Image

  • The following has been moved to #270: For the historical data, the display would be the same, but will need to be implemented a little differently. This is because the historical data’s display is showing a Total Attendance field that is really Total Camping Party Nights, as no 3.2 multiplier is being applied. So for the historical data the current Total Attendance would be mapped to/ re-labelled as Total Camping Party Nights, and then the Total Attendance would be that number multiplied by 3.2.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.