Skip to content

Creating new form

Daniel Petrov edited this page Jun 20, 2019 · 10 revisions
  1. Backend
    • Create routes to new action config/routes.js
    • Create form definition forms/
    • Create table migration based on the model
    • Create stats view migration based on the model
    • Create migration to update user_stats view to include data from new form
    • Create stats model
    • Create seed to import nomenclatures
    • Include in statistics task
    • Create test
    • Create fixture
  2. Web fronted
    • Define the new form in configs/forms.js
    • Create model for the form in models/
    • Add to dashboard dashboard.html
    • Add to internal menu sidebar.html
    • Create list and detail views in monitorings/
    • Add state for the public detail page configs/states.js
    • Add retrieve of stat model in services/api.js
    • Add css rule for public detail page header custom.less
    • Create homemap template in directives/homemap
    • Create public detail page for the form
    • Add link from home page home
    • Add link to public detail page from layout/navbar
    • Add language translations to i18n/bg.json
    • Add cover image to public/img/
Clone this wiki locally