Skip to content

Latest commit

 

History

History
162 lines (102 loc) · 8.24 KB

UserGuide.md

File metadata and controls

162 lines (102 loc) · 8.24 KB

User Guide

Before Continuing with this User Guide, please make sure you have deployed the frontend and backend stacks.

Once you have deployed the solution, the following user guide will help you navigate the functions available.

Index Description
Login Creating an Admin user and logging in
Invasive Species Walkthrough of the Invasive Species page
Alternative Species Walkthrough of the Alternative Species page
Regions Walkthrough of the Regions page

Login

If you have already logged in, you can continue to Invasive Species. Otherwise, the following section will walkthrough creating an Admin user and logging in to the Admin page.

In the AWS Console:

  1. Search for Amazon Cognito in the search bar and click on it cognito console search

  2. Select the invasivePlantsUserPool user pool user pool

  3. Next, we will create a user. Under Users, click on Create user . create user button

  4. Under User information:

    • select Send an email invitation
    • input the user's email address under the Email address field and mark as verified
    • select Generate a password
    • Click Create user create user button
  5. Next, we will add this user to the ADMIN_USER group. Click into the newly added user, then under Group memberships, click on Add user to a group add user to group button

  6. Select the ADMIN_USER group then click Add add user to group

Great! Now you can login with the newly created admin user. Check your email for the temporary password to sign in. Upon sign in, you will be asked to change your password. login page

Invasive Species

The Invasive Species page is the default page after login. This page displays a table of the invasive species available in the database with information including:

  • Scientific Name(s) - the scientific name(s) of the invasive species
  • Common Name(s) - the common name(s) of the invasive species
  • Description - a description of the invasive species
  • Alternative Species - non-invasive species to plant instead
  • Resource Links - external resources
  • Region(s)* - the region(s) where the species is/are invasive
  • Images - images of the invasive species, which can be both external image links or user-uploaded image files

invasive species page

*The application currently supports the following two regions in Canada:

  • British Columbia (BC)
  • Ontario (ON)

At the top of the page, the administrator can search up an invasive species by region, scientific name, common name, or search the description field (ex. for plants with a certain colour). The administrator can also select the number of species to display on each page in the Rows per page dropdown.

Adding an invasive species

To add an invasive species, click on the button below the search filters. add invasive species button

This will open up a dialog with fields to complete. The fields marked with an asterisk are mandatory, the rest are optional. add invasive species dialog

Editing an invasive species

To edit an invasive species, click on the edit icon in the Actions column for the species you want to edit. edit invasive species icon

This will open up a dialog with the selected species' information that can be edited. Again, mandatory fields are marked with an asterisk. add invasive species dialog

Deleting an invasive species

To delete an invasive species, click on the delete icon in the Actions column for the species you want to delete. delete icon

A confirmation alert will appear on screen asking for confirmation before deletion.

delete confirmation


Alternative Species

The Alternative Species page displays a table of the alternative species available in the database. These are the species available to be selected for each invasive species as alternative/non-invasive species to plant instead. The table includes the following information:

  • Scientific Name(s) - the scientific name(s) of the alternative species
  • Common Name(s) -- the common name(s) of the alternative species
  • Description - a description of the alternative species
  • Resource Links - external resources
  • Images - images of the alternative species, which can be both external image links or user-uploaded image files

alternative species page

At the top of the page, the administrator can search up an alternative species by its scientific name or common name. The description field can be searched as well. The administrator can also select the number of species to display on each page.

Adding an alternative species

To add an alternative species, click on the button below the search filters. add alternative species button

This will open up a dialog with fields to complete. The fields marked with an asterisk are mandatory, the rest are optional. add alternative species dialog

Editing an alternative species

To edit an alternative species, click on the edit icon in the Actions column for the species you want to edit, just like when editing an invasive species.

This will open up a dialog with the selected species' information that can be edited. Again, mandatory fields are marked with an asterisk. edit alternative species dialog

Deleting an alternative species

The steps for deleting an alternative species are the same as deleting an invasive species.


Regions

The Regions page displays a table of the regions available in the database. These are the regions available to be selected for each invasive species as the regions in which the species is invaisve. The table includes the following information:

  • Region - the full name of the region
  • Region Code -- the abbrieviated name/code representing the region
  • Country - the country in which the region resides in
  • Geographic Coordinates (latitude, longitude) - the latitude and longitude of the region. The current data was taken from this website

regions page

At the top of the page, the administrator can search up a region by its full name or region code. The administrator can also select the number of regions to display on each page.

Adding a region

To add an alternative species, click on the button below the search filters. add region button

This will open up a dialog with fields to complete. The fields marked with an asterisk are mandatory, the rest are optional. add region dialog

Editing a region

To edit a region, click on the edit icon in the Actions column for the region you want to edit, just like when editing an invasive species.

This will open up a dialog with the selected region's information that can be edited. Again, mandatory fields are marked with an asterisk. edit region dialog

Deleting a region

The steps for deleting a region are the same as deleting an invasive species.