Coder Social home page Coder Social logo

mcld / gra4 Goto Github PK

View Code? Open in Web Editor NEW
0.0 5.0 4.0 6.34 MB

Please see main mcld/greatreadingadventure repository for active development

Home Page: https://github.com/mcld/greatreadingadventure/

License: MIT License

C# 96.38% JavaScript 3.11% CSS 0.51%

gra4's Introduction

gra4's People

Contributors

iafb avatar justinmeiners avatar k7hpn avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

gra4's Issues

Using HTML for challenge descriptions

The current challenge descriptions are plain text, or are being auto escaped. It would be helpful if this field accepted HTML, for simple markup such as links and bullet points. I don't think it needs a full HTML editor in Mission Control to make this useful, but it might be a direction to go.

If you think this is a good idea I would be happy to work on it.

Unobtainable triggers

Triggers can be created requiring a badge from joining/achieving in a program and be limited to a different program.

Household enhancements (groups, aggregate functions)

  • Checkboxes next to member
  • Remove pagination
  • Ability to log minutes to checked members
    • Hard-code that it's minutes for now
    • Add issue about making this work properly
  • Ability to log a secret code for checked members
  • Mail icon which can be clicked to view mail
    • Greyed out if no mail
    • Exclaimation point (or similar) if they have mail
    • Can do "sign-in as" and then "show inbox" for now
  • Add vendor code as last column
    • Can hard code it to be whatever we called book code in the database for now
    • Add issue about making this work properly
  • Column order: Checkbox, Mail icon, Name/username, Points, Book code
  • Change "Register member" to "Add username"

Add user-facing assessments

Add ability for users to do literacy assessments

  • User-facing ability to take the assessment
  • Assessment limited to age range

Household activities functioning after end of program

After a program ends household pages still allow for users and admin to add participants, register them, promote them to head of household and remove them. Additionally fields are shown for logging minutes and points but do not function.

Events feature request

Description
In GRA3 there was an events feature which allowed programs to add calendar events which were viewable by date, sortable by program, etc.

I noticed that there is a small amount of code related to this in the GRA.Models section. Is this still a planned feature?

Code formatting with CodeFormatter

Reformat all code with dotnet/codeformatter.

The plan is some time in the near future to reformat all project code and ensure all code is properly formatted in the future. For now the process will probably be manual but I'm hoping to either automate it or create a bot to do it for us.

content directory is not automatically created

Description of issue

When running the GRA through the dotnet command line tool the following exception is thrown:

Unhandled Exception: System.ArgumentException: The directory name /Users/user/repos/provo/gra4/src/GRA.Web/content/ is invalid.

This occurs because the content folder is never created. To fix this I had to manually create a content folder.

Notes

At the top of the "startup.cs" the ContentDirectory key is commented out. Instead it appears the ContentPath is being used, but perhaps they are two separate thing.

//{ ConfigurationKey.ContentDirectory, @"c:\inetpub\content\" },
{ ConfigurationKey.ContentPath, "content" }

Starting on line 57 or so there is code setup to create the ContentDirectory if it does not exist, but because the ContentPath is used instead, this code is never called.

Additional Information

I am on Mac using the SQL Lite database provider.

Search/clear buttons bunch-up in responsive situations

Several places on the site have a text search field with search/clear buttons next to it. When the window is resized down the buttons bunch up over the text.

Steps to reproduce

  1. Open form with text-based search
  2. Resize window down

Expected behavior

Buttons should always look good.

Actual behavior

Buttons bunch up and look icky.

Reordering challenge tasks "forgets" the task type

Reordering challenge tasks resets all the task types to "Action."

Steps to reproduce

  1. In Mission Control, view a Challenge
  2. Change the order of a task of type "Book"

Expected behavior

Task maintains the proper type.

Actual behavior

Task is listed as "Action" even though exiting out and re-opening the challenge shows the correct type.

Deleting user history does not remove badges

If a user is awarded a badge, and then I remove the log that awarded it from their history, (in mission control) the badge is still shown on their dashboard.

Steps to reproduce

  1. In mission control select a user.
  2. Select the history tab.
  3. Delete a log awarding a badge.

Expected behavior

Deleting the history of the event that awarded the badge should delete the badge.

This gets complicated, and is probably not desired if there are multiple ways the badge can be awarded (such as triggers etc) but right now it appears that badges are tied 1:1 with challenges. I noticed there is some code from triggers but it appears unused. Are badges going to return to being independent things such as in GRA 3?

Actual behavior

Deleting the log event keeps the awarded badge on the users profile.

Sanitize secret code entry

If a user enters invalid letters/numbers into a secret code just strip them out before checking if the code is valid - don't yell at the user for entering invalid characters.

If the code is koalasrule then on the user site it should accept:

  • KoAlAsRuLe
  • Koalas Rule
  • Koala's Rule
  • ko alas rule
  • koalas-RULE

...but not:

  • ๐Ÿจ

Triggers must be able to award prizes

  • Change DrawingWinner into PrizeWinner
  • Allow triggers to award prizes
  • Change Participant -> Drawing view in Mission Control to be Prizes and include these
  • If a trigger awards a prize it should also send a mail to the user with information

Modal task window "Cancel" button does not function properly

In Mission Control, once opening a task details page, clicking "Cancel" results in a blank page with this url:

http://localhost:3033/MissionControl/Challenge/CloseTask/

Steps to reproduce

  1. In Mission Control, view a Challenge
  2. Select a task to view it
  3. Select the "Cancel" button

Expected behavior

Modal pop-up disappears

Actual behavior

Redirection to http://localhost:3033/MissionControl/Challenge/CloseTask/

Challenge task edit screen doesn't select proper task type

Description of issue
Challenge task edit screen doesn't select proper task type

Steps to reproduce

  • Edit a task of type "book"

Expected behavior

Drop-down should show the correct item.

Actual behavior

  • Note the Task Type is shown as Action

Initial join causes avatar-related error

Doing an initial join causes an avatar-related error

Steps to reproduce

  1. Do initial join with a clean database
  2. Error when the dashboard is loaded

Expected behavior

Functional dashboard

Actual behavior

Error

The Log file path is incorrect on non-windows platforms

Description of issue

On my Mac the log file is created as "Logs\gra-20170225.txt".

screen shot 2017-02-25 at 12 43 14 pm

Steps to reproduce

Expected behavior

It appears the backslash should be interpreted is a directory so it should be a forward slash.

Actual behavior

The filename has the folder path included.

Triggers feature

Get the triggers feature working similar to the feature in v3.

Triggered by these (any combination, combined with and):

  • Points
  • Secret code
  • Combination of badges earned
  • Combination of challenges completed

Triggers:

  • Badge (always)
  • Points (optional)
  • Vendor code (optional)

Add questionnaire functionality

Bring in questionnaire functionality similar to what was available in version 3.

  • Administrators can create questionnaires with questions and answers
  • The system can be set to require some people respond to the questionnaire based on criteria

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.