Git Product home page Git Product logo

enw-angularjs's People

Watchers

 avatar  avatar  avatar

enw-angularjs's Issues

test: email service

Test For

  1. when server returns 500 or 400 status, display error
  2. when server returns 200 status, check success message is displayed through main controller
  3. when calling sendEmail() with empty arguments, assert error
  4. when calling sendEmail() with empty strings, assert error
  5. when calling sendEmail() with an invalid email format, assert error

test: products service

Test For

  1. when server returns 500 or 400 status, display error
  2. when server returns 200 status, check if all products are displayed
  3. when no products, to render message "No Products Available"

About Page

  • Update Grid system in order to run smoothly;
  • Center the images and force Heather's personal picture to resize depending on the size (currently overflowing on mobile width); and
  • Apply missing styles.

Fix Safari .layout-fill class

Required .layout-fill override class due to Safari rendering engine.

.layout-fill { margin: 0 !important; width: 100% !important; min-height: 100% !important; height: auto; }

test: class booking form

Test For

  1. length of fields doesn't exceed database limits
  2. submitting with empty fields, asserts error
  3. submitting with filled fields, asserts success
  4. submitting with filled fields expect optional fields, asserts success
  5. when submitted, check if the success message displays (protractor)
  6. submitting with empty "hire equipment" should assert an error
    This field should have a default state of 'no' Ref: #39

test: login form

Test For

  1. length of field don't exceed database limits
  2. submitting empty fields, asserts an error
  3. submitting filled fields, asserts success
  4. submitting invalid credentials, asserts error message ("Try again")
  5. when submitted and success, assert if the page redirects to home state
  6. when logged out and user tries to access unauthorized page, the redirectState is set.
    test when submitted and success, the page is redirected to the redirectState (#47)

Fix Menu Icon Focus State

Once the menu icon is clicked the side nav displays and once that is dismissed, the menu icon remains in a focus state. In order to remove the focus style the user must focus on another element on the DOM.

Before:
image

After:
image

Services Page

  • Update styles in order to match design specification;
  • Update Grid system for it to run smoothly on multiple devices;
  • Force images to resize depending on the device width (currently overflowing on mobile and tablet formats); and
  • Fix form item positions.

Missing Footer

  • Develop and design footer; and
  • Place it in all available pages.

chore: remove manage products page

Manage products page will be merged into the products page, since they have the same behaviour.

  1. Remove the component directory
  2. Remove the import statement in the index.module
  3. Remove the ui-route definition in index.route

test: class cards

Test For

  1. when a card is clicked, it should change the button to say "Selected" (protractor)
    image
    image
  2. when a card is clicked, it should scroll to page anchor (#bookingForm)
  3. when a card is clicked, it should set the name input field to the class name

test: have a go session form validation

Test For:

  1. length of fields don't exceed database limits, asserts an error
  2. submitting empty fields, asserts an error
  3. submitting with filled fields, asserts success
  4. submitting with filled fields expect for optional fields, asserts success
  5. when submitted, check if success message displays (protractor)

test: presentation form

Test For

  1. length of fields doesn't exceed database limits
  2. submitting with empty fields, asserts error
  3. submitting with filled fields, asserts success
  4. submitting with filled fields expect optional fields, asserts success
  5. when submitted, check if the success message displays (protractor)

test: register interest form validation

Test For:

  1. length of fields that don't exceed database limits
  2. submitting with empty fields
  3. submitting with filled fields
  4. submitting with filled fields expect for optional fields
  5. when submitted, check if success message displays (protractor)

backend: write email endpoint on api

Requirements

  • Authentication
    • POST
    • Log email to database table
    • Send email using php mail server

URL: api/email

Request Structure

{
  "formToken": "string",
  "name": "string",
  "email": "string",
  "phone": "string",
  "notes": "string"
}

* phone, notes are optional

Response Structure

{
  "success": "boolean",
  "message": "string"
}

Database

Table Name: emailLogs

Table Structure

Name DateType
id int
name varchar(300)
email varchar(300)
phone varchar(50)
notes varchar(700)
formToken varchar(300)

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.