# Features — RGBC_ScoreCard (HR: People Development Tool)

Evidence date: 2026-10-05.

Source: `git@bitbucket.org:overdrive/rgbc_scorecard.git`, `master` at `c1c7ceb` (2026-08-04).

Status labels: **Current** (page or path is wired from the live menu or from Home), **Partial** (code exists but the menu entry is commented out, or the behaviour disagrees with its own comment), **Leftover** (file or function present, no live caller found), **Not present**.

## Shell and access

| Feature | Status | Evidence |
|---|---|---|
| Title and heading "HR: People Development Tool" | Current | `Admin.Master` |
| RGBC logo | Current | `content/rgbc_logo.jpg` |
| Windows identity login | Current | `Index.aspx.vb`, `SystemFunctions.LogginUser` |
| Session expired message `?M=1` | Current | `Index.aspx.vb`, `Admin.Master.vb` release redirect |
| Query-string identity override | Current | `LogginUser` reads `OVERRIDE_USERNAME` |
| Groups Admin, Dev, RSM, User | Current | `Admin.Master.ApplyMenuForUserGroup`, `Home.aspx.vb` |
| View-right gate (`blnView`) | Current | `Admin.Master.vb` |
| DEBUG auto-login `SILICONOVERDRIV\pieter` | Current in DEBUG compiles only | `Admin.Master.vb` |
| Logout to Index (session clear, Forms sign-out) | Current | Menu `NavigateUrl="~/Index.aspx"` |
| Mobile master from user-agent | Current | `setMasterPage`, `Mobile.Master` |
| ASP.NET Membership login | Not present as the login path | Providers exist in `Web.config`; `roleManager enabled="false"` |
| `Scripts/scripts.js` referenced by the master | Not present in the project tree | `Admin.Master` script tag. No `scripts.js` under `Scripts` |

## Reviews

| Feature | Status | Evidence |
|---|---|---|
| Home welcome and last GPS / last performance labels | Current | `Home.aspx.vb` |
| Start self performance review | Current | Link built when a job role exists and the season month check passes |
| Start self GPS review (questionnaire id 3) | Current | `lblStartGPS` |
| Season gate using `dtSeasonStart` / `dtSeasonEnd` | Current, and it does not match the April–June comment | `Web.config` values `01-01` and `12-31` |
| Refusal copy that names 1 April–30 June | Current as text only | `Home.aspx.vb` |
| Team grid of latest performance and latest GPS | Current | `Home.aspx` `sdsUser`, commit `1b46af7` |
| Draft link on a non-submitted review inside the season | Current | `gvUsers_RowDataBound` |
| Hide "New" when a review already exists this season | Not current | That block is commented out |
| PDT survey (categories, Range3 and Range6 radios, comments) | Current | `PeopleBalanceSheetNew.aspx` |
| Save draft in one transaction | Current | `btnSave_Click`, commit `6a9426a` |
| Hidden survey context across postback | Current | `ResolveSurveyIdFromContext` |
| Submit to HR with PDF email | Current | `btnSubmit_Click`, `sendEmail`, `createPDF` |
| GPS "Send to Manager" (`Ready For Review`) | Current | `btnAlert_Click` |
| Shared values and manager comments | Current | Fields on the survey page; manager comments on the PDF |
| Per-question GPS comments | Current | `txtGPSComments`; the comment row is hidden when questionnaire id is not 3 |
| Help images | Current | `HelpPeopleBalanceSheet.aspx`. Two images commented out |
| Survey search and percent score | Current for Admin/Dev menu | `Survey.aspx` |
| Overall performance, three April years, Excel export | Current for Admin/Dev menu | `OverallPerformance.aspx`. Uses the DEV connection string |
| HR Report | Not present | Menu item has no URL. Value text is `HR Report (wip)` |

## Administration

| Feature | Status | Evidence |
|---|---|---|
| Questionnaire list and filter | Current for Admin/Dev | `Questionnaire.aspx` |
| Add/edit question, category description copied to the whole category | Current | `QuestionEdit.aspx.vb` |
| Option type dropdown | Current with a single choice, `Range6` | `QuestionEdit.aspx` |
| Team setup search and Excel export | Current for Admin/Dev | `TeamSetup.aspx.vb` |
| Assign job role and manager | Current | `TeamSetupEdit.aspx.vb` |
| Peer reviewer slots | Leftover comments | Save SQL no longer writes peer ids. 2018 comment: peer concept removed |
| Job role named `Potential` excluded from role dropdowns | Current | `Home.aspx`, `TeamSetup.aspx`, `OverallPerformance.aspx` |

## Older scorecard

| Feature | Status | Evidence |
|---|---|---|
| Sales person scorecard (`ScoreCard.aspx`) | Partial | Page and save code exist. Menu item commented out. Still looks up questionnaire name `Sales Person Scorecard` and store `dwdCustomer` |
| Sales capabilities (`SalesCapabilities.aspx`) | Partial | Page exists. Menu commented out. Save still inserts `strOptionType` `Range10` |
| `PeopleBalanceSheet.aspx` and `zPeopleBalanceSheet.aspx` | Leftover | Older class copies. Live flow uses `PeopleBalanceSheetNew.aspx` |
| `sandbox.aspx` | Leftover | Not in the menu |
| `Backup 20170306/SalesCapabilities.aspx` | Leftover file | Repository root backup folder |
| TFS 2012 build templates | Leftover | `BuildProcessTemplates/*.xaml` |
| Brand QF cron and promo audit helpers | Leftover | `ProjectFunctions.vb`. No page caller |

## Recently changed (git, 2025–2026)

| Change | Commit | What is on `c1c7ceb` |
|---|---|---|
| Session timeout fix | `60534ed` (2025-06-06) | Removed hardcoded `RGBC\MAANIE`. The `Session.Clear()` added on survey load and save is **not** in the current survey page |
| Security enhancements | `ade70e9`, `e9379e9` (2026-04) | `<connectionStrings>` empty. `SecureConfig` and `.env.example`. SqlDataSources use `EnvConnectionStrings` |
| Mobile login, GPS label, draft link | `547c36b` (2026-06-08) | Subject only. Current GPS column header is `Last GPS`. Draft links are in `gvUsers_RowDataBound` |
| Survey id, errors, "removed range 3 & 10" | `857df91` (2026-06-11) | Question editor offers `Range6` only. Survey page still has Range3 and Range6 lists. Sales capabilities still writes Range10 |
| Most recent PDT in Last Performance Review | `1b46af7` (2026-07-08) | Home SQL ranks surveys with `ROW_NUMBER` |
| PDT survey hardening | `6a9426a`, merge `c1c7ceb` (2026-07-31 / 2026-08-04) | Transactional first save, hidden ids, Home join as above |

## Deprecated or removed

| Feature | Evidence |
|---|---|
| Peer review | Commented fields and a 2018 comment. Not deleted from git history as a migration |
| Score Card and Sales Capabilities as primary menu actions | Commented menu items, 2017-02-16 comment |
| Hardcoded domain login inside `LogginUser` | Removed in `60534ed` |

No feature flag or config switch turns the old scorecard pages back on. They remain reachable by URL if the file is deployed.
