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 and Development Program #12301

Open
1 task
Tracked by #12293 ...
petertgiles opened this issue Dec 13, 2024 · 1 comment
Open
1 task
Tracked by #12293 ...

✨ API - Talent Event and Development Program #12301

petertgiles opened this issue Dec 13, 2024 · 1 comment
Labels
feature New feature or request.
Milestone

Comments

@petertgiles
Copy link
Contributor

petertgiles commented Dec 13, 2024

✨ Feature

Build the API for the "talent event" and "development program" models.

🕵️ Details

We need two new models:

  1. TalentEvent - represents a community opportunity that employees can be nominated to be nominees for
  2. DevelopmentProgram - represents a program run by a community for talent development

We need several mutations:

  1. CreateTalentEvent - makes a new model
  2. UpdateTalentEvent
    • updates user-changeable fields and relationships (not timestamps)
    • no state limitations: user-changeable fields can be changed at any time
  3. CreateDevelopmentProgram - makes a new model
  4. UpdateDevelopmentProgram - updates existing model

Events can be archived so they are no longer visible to public, but visible to community admins in admin pages

🎨 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 TalentEvent
{
  id: UUID!
  name: LocalizedString
  description: LocalizedString
  open_date: Date
  close_date: Date
  community: Community! @belongsTo
  learn_more_url: LocalizedString
  classifications: [Classifications!] @belongsToMany
  image_url: String
  include_leadership_competencies: Boolean
  developmentPrograms: [DevelopmentProgram!] @belongsToMany
  calculated_status: TalentEventStatus (Open, Closed)
}

type DevelopmentProgram
{
  id: UUID!
  name: LocalizedString
  description: LocalizedString
  community: Community! @belongsTo
  classifications: [Classifications!] @belongsToMany
}

🌎 Localization

✅ Acceptance Criteria

  • Only community admin can create a new talent event for a community they represent
  • Only community admin can update a talent event
  • Any user can query for a single talent event by ID
  • Any user can query for all talent events
  • Only community admin can create a new development program for a community they represent
  • Only community admin can update a development program
  • Any user can query for a single development program by ID
  • Any user can query for all development programs
  • All model changes (including relationships) tracked in the logging table
  • local env has seeded rows

🛑 Blockers

Blocked By

Preview Give feedback
  1. 1 of 1
    feature
    petertgiles
Copy link

github-actions bot commented Jan 6, 2025

Status: Error ⚠️

Issues blocking this PR:

  • #NaN ⚠️ Issue/PR not found

This comment was automatically written by the Blocking Issues bot, and this PR will be monitored for further progress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request.
Projects
Status: No status
Development

No branches or pull requests

1 participant