Northeastern-Electric-Racing / Northeastern-Electric-Racing/FinishLine

[Organizations] - Add Upcoming Deadlines Ping Slack Channel Id To organization Model

Open
#2,654 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

back-end medium
Dominant language
TypeScript
Stars
36
Forks
9
Avg merge
4d 21h
Merged PRs (30d)
11

Description

Description

Currently we get the slack upcoming deadlines channel via an env variable we set as our leads channel. With mulitple organizations this needs to be configurable per organization. Add a upcomingDeadlinesSlackChannelId string to a organization model.

Acceptance Criteria
  • Added upcomingDeadlinesSlackChannelId to organization model in prisma schema
  • the upcomingDeadlinesSlackChannel endpoint uses the users organizations newly added slackChannelId variable instead of the env variable it is currently using
Proposed Solution

^

Mocks

No response

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.

Research direction

Start by locating the Prisma schema's organization model and the upcomingDeadlinesSlackChannel endpoint. Trace how the endpoint currently reads the leads-channel environment variable and how the user's organizations are loaded. Done means the organization has the new string field and the endpoint uses that per-organization value instead of the environment variable.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, backend, database
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.