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

✨ API - Talent Event Nomination #12293

Open
1 task
Tracked by #12296 ...
petertgiles opened this issue Dec 13, 2024 · 0 comments
Open
1 task
Tracked by #12296 ...

✨ API - Talent Event Nomination #12293

petertgiles opened this issue Dec 13, 2024 · 0 comments
Labels
blocked: question Further information is requested. feature New feature or request.
Milestone

Comments

@petertgiles
Copy link
Contributor

petertgiles commented Dec 13, 2024

✨ Feature

Build the API for the talent event nomination models.

🕵️ Details

We need a new model:

  1. TalentEventNomination - represents a submission by a submitter to enter an employee into a talent event

We need several mutations:

  1. CreateTalentEventNomination - new draft model, sets the talent event and submitter association
  2. UpdateTalentEventNomination - update user-changeable fields while draft
  3. SubmitTalentEventNomination - frozen state, must have been completed

🎨 Design

@JoshBeveridge

https://www.figma.com/design/k9lJ77FgLFvpO9L9tVyzID/Talent-nomination-(Employees)?node-id=314-60920&node-type=frame&t=RdnKkm2vLT8XdA2B-0

📸 Screenshot

image

🙋‍♀️ Proposed Implementation

type TalentEventNomination {
   id: UUID!
   created_at: Date
   submitted_at: Date
   submitter: User! @belongsTo
   submitter_relationship_to_nominator: Enum
   submitter_relationship_to_nominator_other: String
   nominator: User @belongsTo
   nominator_fallback_work_email: String
   nominator_fallback_name: String
   nominator_fallback_classification: Classification @belongsTo
   nominator_fallback_department: Department @belongsTo
   nominee: User @belongsTo
   nominee_relationship_to_nominator: Enum
   nominee_relationship_to_nominator_other: String
   nominate_for_advancement: Boolean
   nominate_for_lateral_movement: Boolean
   nominate_for_dev_programs: Boolean
   advancement_reference: User @belongsTo
   advancement_reference_fallback_work_email: String
   advancement_reference_fallback_name: String
   advancement_reference_fallback_classification: Classification @belongsTo
   advancement_reference_fallback_department: Department @belongsTo
   lateral_movement_options: Enum
   lateral_movement_options_other: String
   development_programs: [DevelopmentProgram!] @belongsToMany
   development_program_options_other: String
   nomination_rationale: String
   competencies: [Skill!] @belongsToMany
   nomination_comments: String
   talentEvent: TalentEvent! @belongsTo
}

🌎 Localization

✅ Acceptance Criteria

  • Any user can create a new nomination to a talent event (become submitter)
  • Only the submitter can update their draft nomination
  • Only the submitter can submit their draft nomination
  • Only a "complete" draft nomination can be submitted
  • Competencies can only be added if the talent event has the option checked
  • Only skills from the skill family "Leadership - Executive Behaviours" can be added
  • No user can update a submitted nomination
  • Any user can query for all nominations for which they are submitter
  • Any user can query for a single nomination by ID for which they are submitter
  • No user can query for all nominations
  • Only community admin can query for all submitted nominations for community events in their community (new relationship added to TalentEvent model)
  • All model changes (including relationships) tracked in the logging table
  • local env has seeded rows
  • If a submitter has already nominated this person for this event then TODO
  • If a submitter has already nominated another person for this event then TODO

🛑 Blockers

Blocked By

Preview Give feedback
  1. 0 of 1
    feature
@petertgiles petertgiles added the feature New feature or request. label Dec 13, 2024
@petertgiles petertgiles added this to the Nominations milestone Dec 13, 2024
@petertgiles petertgiles changed the title ✨ API - Talent Event and Nomination (WIP) ✨ API - Talen Event Nomination (WIP) Dec 16, 2024
@petertgiles petertgiles added the blocked: question Further information is requested. label Dec 16, 2024
@petertgiles petertgiles changed the title ✨ API - Talen Event Nomination (WIP) ✨ API - Talen Event Nomination Dec 16, 2024
@petertgiles petertgiles changed the title ✨ API - Talen Event Nomination ✨ API - Talent Event Nomination Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked: question Further information is requested. feature New feature or request.
Projects
Status: No status
Development

No branches or pull requests

1 participant