Add "real name" field #12

Closed
opened 2021-02-05 14:11:04 +00:00 by danieljsummers · 2 comments
danieljsummers commented 2021-02-05 14:11:04 +00:00 (Migrated from github.com)

Add a field where users can put in their real names, which will be displayed at the top of the employment profile. In general, and throughout the application, where we currently use the display name, use the real name (if entered), defaulting to display name. Continue to update the display name on each login as we currently do.

Add a field where users can put in their real names, which will be displayed at the top of the employment profile. In general, and throughout the application, where we currently use the display name, use the real name (if entered), defaulting to display name. Continue to update the display name on each login as we currently do.
danieljsummers commented 2021-02-07 00:19:22 +00:00 (Migrated from github.com)

This will be a part of the initial release. To provide the real name field:

  • Add a real_name column / RealName property for the citizen
  • Add an optional field for the real name to the profile edit page

Once this is done, following are the changes that should be applied to display names:

  • Modify the display_name column / DisplayName to be nullable
  • Undo the change for #11 that puts the handle in the display name column if it's blank; instead, insert null if it's blank
  • Create a CitizenName property that displays the first non-null value from (in order) RealName, DisplayName, and NaUser
  • Modify all areas in the application where DisplayName is being used to use CitizenName instead

Finally, run a query to set display_name to null if its value matches the na_user column.

This will be a part of the initial release. To provide the real name field: - Add a `real_name` column / `RealName` property for the citizen - Add an optional field for the real name to the profile edit page Once this is done, following are the changes that should be applied to display names: - Modify the `display_name` column / `DisplayName` to be nullable - Undo the change for #11 that puts the handle in the display name column if it's blank; instead, insert `null` if it's blank - Create a `CitizenName` property that displays the first non-null value from (in order) `RealName`, `DisplayName`, and `NaUser` - Modify all areas in the application where `DisplayName` is being used to use `CitizenName` instead Finally, run a query to set `display_name` to `null` if its value matches the `na_user` column.
danieljsummers commented 2021-02-07 22:10:35 +00:00 (Migrated from github.com)

This is done, ready for v1.0

This is done, ready for v1.0
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: bit-badger/jobs-jobs-jobs#12
No description provided.