Code Monkey home page Code Monkey logo

lifecost-ui's People

Contributors

costezki avatar

Watchers

 avatar  avatar

lifecost-ui's Issues

Create simple form mechanism to add answer

Create a simple form mechanism to add the answer to the relevant question.
Give the user the opportunity to answer this question unlimited number of times, but the answer to this question will be the last answered.

Hide add new options button

When user choose answer type input, then options block well have to be hidden, otherwise it should be shown

create UI for initialisation of questions

Admin should be able to bootstrap the questions and questionnaires based on the available models in the Python side.

  • It should be known what models are available (list of models, so far only the SimpleLinearModel, but expect more)
  • there should be a button to import into MongoDb the given questions of the model.
  • there should a server side functionality that does the import from JSON file and validates the questions with the same simpleSchema as the one used in autoForm.
  • There should be some duplicate detection system based on the variable name in the model.

question answering

  • create simple form mechanism around question answering (answer, clean, ) #3
  • a user can select any question and provide an answer to it
  • multiple answers can be given to a question but only the latest one should be considered

Manage deprecated and unpublished questions in questionnaire

  1. If question is deprecated it should be hidden in the questionnaire editor
  2. if the question is deprecated while a part of existing questionnaire, then it should be hidden but not deleted from the questions list
  3. When question is unpublished then this question must be hidden in questionnaire

Display variable name value

  1. Display variable name in questions list and answers list
  2. When admin edit or create new question, he can add variable name

Create a link to another user's page

  • When publishing a question, let other users go to the creator's page.
  • On the creator's page should reflect the basic information about him and a list of published questions.

Create simple form mechanism to add questions

SimpleSchema "Questions"

  • question id [random uuid]
  • author (who has created this question)
  • relation/property (pseudo-Id set) [metadata]
  • question formulation [what is displayed as main question text]
  • question description/hint/explanation [optional sub-text]
  • answer type (number, string, alternative choice, multiple choice) [how the answer shall be displayed as radio or check buttons]
  • option/choice list (used for display if answer type is alternative choice or multiple choice)
  • createdAt (date when created question)
  • publishedDate (date when question has published)
  • published (if question has published, then true other false)
  • answer id

Create a "favorites" button

When a user clicks the "favorites" button on a published question, this question is sent to the "favirites" question page

faulty import of default questions shall show error messages

if the import fails display a error message why the import failed, according to validation mechanism by simple schema. #40

  • when user imports a set of default questions by clicking on "initialise" then it should attempt to populate the database with the set of questions from the corresponding json file
  • if the json file is incorrect then there should be an alert displayed with the human friendly validation error provided by simple schema validation mechanism, or any other error (like for example file not found, or http error, or anything else)

Checkbox question type

When create question and answer type is checkbox, then the answer must be saved as an array of selections and not single string.

SideNav number of answers

Aggregate answers to each questions. If question have 10 answers, in Answer sidenav must be counted as only one answer.

available defaultQuestions as json files

This issue is a continuation of #40:

  • the folder knownModels contains json files with default questions
  • scan this folder everytime the application is launched in order to build a list of available "defaultQuesstionaires"
  • if no model is available, say that there is no known life cost
  • each list item has a init button that does the import into mongoDB
  • this list is accessible only in admin settings interface

implement the question and answer UI

  • create simple form mechanism around question management (add, delete, view)
  • a user can select any question and provide an answer to it
  • multiple answers can be given to a question but only the latest one should be considered

Navigating questionnaire

When an user add answer it should be possible to return and add a new answer to the same question

user location from IP

extract geo location of the used from the IP of the request and save it as user location

Show answers

When question is was deprecated, then user must have possibility to see his answer. But he doesn't have to possibility add new answer.

Format "answers" view

Add last answer
Question should be first and bigger in list info
Change published date to answer date

create new question type: geographic entity input

  • create a question type that receives a geographic entity: Country, region, city,
  • input of an answer should be a text input field with autocomplete functionality with suggestions of a geographic entity name

connect the learnvest model to UI

  • create a server method calling the python learnvest model
  • it should only instantiate LearnVestLinearModel class with given variables and call to_ui() method to get statistics
  • available here

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.