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

Jake create set cow health page on frontend for admin #50

Merged
merged 26 commits into from
Aug 6, 2023

Conversation

pconrad
Copy link
Contributor

@pconrad pconrad commented Jul 31, 2023

In this PR, originally from s23-6pm-1's @TheRealJBomb , and edited by @pconrad , we add the SetCowHealthForm to be used on the AdminJobsPage which will allow an Admin to set the cow health for all users in a particular commons.

Closes #31

Screenshots

image image

Explanation

  • frontend/src/main/components/Jobs/SetCowHealthForm.js is a new form for taking information for the job.
  • frontend/src/main/pages/AdminJobsPage.js is the page where that form appears.

Other Changes

  • frontend/src/main/components/OurTable.js has some changes to css properties that were incorrectly specified and causing JS errors. The syntax here needs to be React syntax, not CSS syntax for these properties.
  • frontend/src/main/components/Utils/Plaintext.js was missing a key property which was causing React warnings.
  • Many incorrect instances of // Stryker enable changed the correct syntax: // Stryker restore

@pconrad pconrad requested a review from bzamora020 July 31, 2023 00:06
@pconrad pconrad self-assigned this Jul 31, 2023
Copy link

@drikdrok drikdrok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pconrad pconrad merged commit 892eb0a into main Aug 6, 2023
9 checks passed
pconrad added a commit that referenced this pull request Aug 12, 2023
Adding Placeholder Instructor Report Button to Job Table
pconrad added a commit that referenced this pull request Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FEATURE: Admin can set cow health for all users in a commons
4 participants