empowerai / fs-permit-platform

Module for intake of special use applications for Forest Service Application Permits
Other
3 stars 0 forks source link

As a user I want the frontend code to be maintainable so that I can utilize the site #590

Open sadlerw opened 6 years ago

sadlerw commented 6 years ago

Notes

Acceptance criteria

Tasks

Frontend

Frontend/app

Pipes

Definition of Done

sadlerw commented 6 years ago

@lauraGgit you mention commenting for jsdoc above but we are using typedoc already which will automatically create function entries based on typescript. See http://typedoc.org/guides/doccomments/ We can audit for entries that require additional information other than the defaults, but adding /* / everywhere is not needed afaik.

shekarpendem commented 6 years ago

@lauraGgit For the below item: Need that else to handle forest that don't have areas (also clears previous areas) 2 Don't need an else block here; https://github.com/nciinc/fs-permit-platform/blob/sprint-11-development/frontend/src/app/trees/admin/district-dates/district-dates.component.ts#L83

shekarpendem commented 6 years ago

@lauraGgit For this item: this service is used for the landing (find forest) & guidelines pages. Can be still renamed if you prefer so. 2 sprint-11-development/frontend/src/app/trees/_services/christmas-trees is now more about the guidelines no? would it make sense to rename this service?