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

187129573 change teacher status #39

Merged
merged 11 commits into from
Mar 11, 2024
Merged

Conversation

ArushC
Copy link

@ArushC ArushC commented Mar 8, 2024

Pivotal Tracker Link

What this PR does:

Allows changing a teacher's application status. The frontend was demonstrated at the customer meeting. Look at the Cucumber tests to verify that the feature works as intended.

This pull request fixes|implements (pick one...) ______.

Include screenshots, videos, etc.

Who authored this PR?

Arush

How should this PR be tested?

  • Is there a deploy we can view?

Yes: https://sp24-01-bjc-teachers-d0e972207d82.herokuapp.com/dashboard

  • What do the specs/features test?
  • Are there edge cases to watch out for?

Are there any complications to deploying this?

Checklist:

  • Has this been deployed to a staging environment or reviewed by a customer?
  • Tag someone for code review (either a coach / team member)
  • I have renamed the branch to match PivotTracker's suggested one (necessary for BlueJay) (e.g. michael/12345-add-new-feature Any branch name will do as long as the story ID is there. You can use git checkout -b [new-branch-name])

Copy link

codecov bot commented Mar 8, 2024

Codecov Report

Attention: Patch coverage is 61.53846% with 5 lines in your changes are missing coverage. Please review.

Project coverage is 72.81%. Comparing base (d1a4b1d) to head (dd8da63).
Report is 34 commits behind head on main.

Files Patch % Lines
app/controllers/teachers_controller.rb 63.63% 4 Missing ⚠️
app/models/teacher.rb 50.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main      #39       +/-   ##
===========================================
- Coverage   85.77%   72.81%   -12.97%     
===========================================
  Files          20       20               
  Lines         668      813      +145     
===========================================
+ Hits          573      592       +19     
- Misses         95      221      +126     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@perryzjc
Copy link
Member

perryzjc commented Mar 9, 2024

@ArushC The functionality & cucumber tests look good to me. If there is anything I can suggest, there might be some styling issues, such as unnecessary comments.

@ArushC ArushC force-pushed the 187129573-change-teacher-status branch 2 times, most recently from ab6df63 to 85aab71 Compare March 11, 2024 18:43
@ArushC
Copy link
Author

ArushC commented Mar 11, 2024

@perryzjc fixed styling and added coverage for one untested line

@perryzjc perryzjc force-pushed the 187129573-change-teacher-status branch from 29c649b to e9f5c85 Compare March 11, 2024 19:20
@perryzjc
Copy link
Member

Um, I tried many ways of resolving conflict without merging main back to this branch, it didn't work. May be just ask Michael tmr and then figure out a way to merge this branch back to the main.

For presentation purpose, looks like Arush already deployed it to Heroku. I also gonna manually merge this branch to my local main branch to present the work for iteration 2 tmr.

@perryzjc perryzjc force-pushed the 187129573-change-teacher-status branch from e9f5c85 to dd8da63 Compare March 11, 2024 19:59
@perryzjc perryzjc merged commit bfe7a19 into main Mar 11, 2024
8 checks passed
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.

2 participants