ucfopen / Obojobo

Next generation course content for your LMS. Easy for beginners, but powerful enough for researchers.
https://ucfopen.github.io/Obojobo-Docs/
GNU Affero General Public License v3.0
70 stars 34 forks source link

Test Issue: Save and read red alert status #89

Open iturgeon opened 6 years ago

iturgeon commented 6 years ago

This a test issue to help get familiar with the workings of the project.

Need to add a button to the left-hand nav in the viewer that, when pressed, turns the background of the Navigation to red. Pressing it again would return the nav back to normal. Also need to log when the nav is set to the red alert state and returned back to the normal state.

If you haven't yet, fork the main repo. You'll be working off of your own branch on your own fork. Next, create a new branch to work on - git checkout -b issue/89-red-alert-status (off of your fork).

You'll also want to check out the documentation at https://github.com/ucfopen/Obojobo-Docs and also the project code style guide at https://github.com/ucfopen/Obojobo/wiki/Developer-Code-Style-Guide

Here would be the steps to implement this:

In the obojobo-document-engine package:

In addition, you'll need to ensure 100% test coverage. This is not an exhaustive list but here are a few example things you'll want to test:

In the obojobo-express package:

Need to store the red alert status in a specialized table in the database to persist this value. Also want to write the value of this to the page when viewing a draft and have the Nav read this value. The end goal would be able to enable red alert, then refresh the page and have red alert still be enabled.

The steps to implement this:

I've left out some details on how to achieve some of these tasks - the existing code can be used as a reference, and if you get stuck feel free to ask questions to get clarification or some pointers. There is also a walkthrough you can use if you get stuck - https://github.com/ucfopen/Obojobo/wiki/UCF:-Walkthrough-of-the-Training-Issue

iturgeon commented 6 years ago

Comment by zachberry Thursday Mar 29, 2018 at 17:38 GMT


Completed so closing, will re-open for a new future dev.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We do this to keep our backlog under control, but we thank you for your contributions.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We do this to keep our backlog under control, but we thank you for your contributions.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We do this to keep our backlog under control, but we thank you for your contributions.