Coder Social home page Coder Social logo

amgg-admin-page's Introduction

amgg-admin-page

Admin page for AMGG to manage MongoDB

amgg-admin-page's People

Contributors

jacobbuettner avatar joshuarichard avatar

Stargazers

 avatar

Watchers

 avatar

amgg-admin-page's Issues

Submitting empty fields to DB

Do we want to submit empty fields to the DB? It would be a pain to require all fields and it would defeat the purpose of using Mongo, but it would be a pain to trim the empty fields on the client. Maybe trim during api call?

Duplicate field?

These fields have the exact same select options, I am guessing we will only need the centro field. Once we find out remove the field we don't need and close this issue.

image

Add child dreams field

Add a field for the child's dreams, this will be used in the little blurb about the child on the children.html

things to fix one last time jake

first of all this code is a titan of client side code. really compact, really well written.

secondly, i added some translations both in the UI and in the DB last night.
(68064db)

thirdly, here are some fixes/bugs I found while doing that translation. all of this should be easy (except for maybe the birthday stuff):

  1. make child center a list instead of a text box
    turn this...
    screen shot 2016-04-10 at 1 15 15 am
    ... into this
    screen shot 2016-04-10 at 1 15 50 am
  2. require anything on the website so there are no undefined's on the website.
    • specifically:
      • name
      • birthday
      • gender
      • deparatmento (new word for provinca (ruth changed it))
      • centro/colegio (child center)
      • pastiempos (hobbies)
  3. parent and sibling birthdays are still messed up a bit. if you don't set a birthday then everyone get's Nov 30th, 1899.
    screen shot 2016-04-10 at 12 59 08 am
  4. parent income and employment aren't being stored correctly...
    parent objects are looking like this:
{
    "_id": ObjectID("5709d8ccf95cf778199f118d"),
    "parents": [
        {
            "nombre": "awliefj",
            "segundo": "laiwjef",
            "apellido": "lwijef",
            "cumpleaños": "Thu Apr 02 1998 00:00:00 GMT-0500 (EST)",
            "direccion_de_casa": "awekfj",
            "ciudad": "lij",
            "provincia": "oij",
            "código_postal": "oij",
            "parent1-employment": "oij", <--- this shouldn't be parent1-employment. it should be "empleo"
            "parent1-income": "oij",     <--- same here. this should be "ingresos"
            "isAbsent": "prison"
        }
    ]
}

Pictures not loading

The pictures are displaying a broken image and giving a net::ERR_INVALID_URL when loading into children.html. We may be storing these as the wrong format.

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.