Skip to content

Creating new form

Daniel Petrov edited this page Jan 22, 2018 · 10 revisions
  1. Create form
    1. Create form definition
    2. Create table migration based on the model
    3. Create action to expose the model
    4. Create routes to new action
    5. Create seed to import nomenclatures
    6. Create fixture
    7. Create test
  2. Create form stats
    1. Create stats model
    2. Create view migration based on the model
    3. Include in statistics task
  3. Update user_stats view to include data from new form
  4. Add form to web app
    1. Add to internal menu layout.html
    2. Define the new form in configs/forms.js
    3. Create model for the form in models/
    4. Create list and detail views in monitorings/
  5. Add form to mobile app
  6. Add form stats to public web pages
    1. Create public detail page for the form
    2. Add language translations to i18n/bg.json
    3. Add link to public detail page from layout/navbar
    4. Add state for the public detail page
    5. Add link from home page home
    6. Create homemap in directives/homemap
    7. Add retrieve of stat model in client/scripts/services/api.js
Clone this wiki locally