Code Monkey home page Code Monkey logo

teacher_app's People

Contributors

cyberputty avatar detri avatar junyada100 avatar willybeans avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

teacher_app's Issues

Changes dates from unix to american

1538143050 --becomes--> 9/28/18

this change is for the assignments view.

We have to decide if its best to store the unix time in the DB and do the translation on the front end or simply do the conversion before saving it to the DB.

Main Screen

It would be a nice touch to have a quote api display a quote on the main screen on login. Or some kind of welcoming message.

Move local state to redux

Edit: Do this will all components

Add proptypes as well please

CurrentClickedAssignment and CurrentClickedStudent may benefit from being in redux store rather than local state.

The primary function that is needing this kind of change is the on click event for students. Each on click for students should essentially reset the "currentClickedAssignment" to always being the most recent assignment the student has.

Goals/assignments nav bar tabs

The top nav bar for StudentDisplay has two tabs: Assignments / Profile. On click event should highlight the currently clicked tab. this is mostly a CSS issue

On click student name event

When the student name is clicked, it should bring up a popup into the main app area. This screen should include:

  • default to display most recent assignment
  1. list of assignments (on left) by dates which should be clickable
  2. and upper nav bar with the ability to view either a) the students profile or b) the assignment
  3. should include edit button for student profile (including goals) + assignment
  4. delete student button
  5. delete assignment button
  6. add new assignment button

see ui example for and idea of how to place things.

Button to email an assignment

There should be a button that can forward the information of an assignment.

This is inside the student component. at ./src/StudentDisplay/

Ideally this will generate a list of all students that can be selected from. Each individual student selected will generate an email or printable sheet of the most recent assignment.

A feature that could be added would be changing how many previous lessons to include.

this is free and capable of doing this: https://www.smtpjs.com/

Change component directories again

/Components---
-/Login
-/Student Display---
StudentDisplay.js

-/Assignments
  ./StudentAssignments.js
  ./assignmentbody.js
  ./assignmentitem.js

-/StudentProfile
  ./StudentProfile.js
  ./EditStudentProfile.js
  ./ViewStudentProfile.js

Add student model to api/models.js

following this model:
-Name: string
-Teachers Name: string
-Contact info: Phone # : int
Email: string
-Goals : string
-Goal Number
- Start Date
- Status
- Info
-Todays date maybe? (date of starting lessons): string?
-Assignments : string
-list assignments in chronological order by date

Teacher profile page

There is no page to display teacher profile. this is where the onclick even would go for editing the teacher.

Form field value checks

The form fields need to be validated so incorrect values dont get sent.
Name: String
age: int

contact email: needs email format validation
phone: needs phone number validation

goals: Strings

Student display behavior:

The current behavior will maintain the current view, for example, if the assignments are open for one student, when you click on the next student, it will maintain the assignments page. It would be best if all view states reset when a new student is clicked. Therefore the student display needs to reset to the default view on click.

It may perhaps be best to make display state exist inside the redux store instead of locally if this becomes too confusing to manage.

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.