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

[Change Requests] - Buffer-days input in Admin tools

Open
#4,415 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Description

Context
Admins need to see and change the activation buffer (a number of days stored on the organization as activationBufferDays) from Admin Tools → Project Configuration. The backend endpoint that saves the value is handled separately; this ticket is the api call, hook, and the input itself.

Task
should show the number and an edit button have a modal pop up for editing the buffer window

Acceptance Criteria
  • A frontend api function and a react-query hook call the update endpoint for activationBufferDays.
  • The Project Configuration tab shows the current buffer value in a labeled number input.
  • An admin can change the value and save it; after saving, the input reflects the saved value.
  • The input doesn't let you submit a negative or non-integer value (matches the backend rule).

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 in the Project Configuration tab and trace its existing data flow to identify the frontend API functions and react-query hooks used there. Add the activationBufferDays update call, labeled editable number input, modal and save behavior; done means saved values reappear and negative or non-integer submissions are rejected.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
api, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.