Coder Social home page Coder Social logo

comp4911's Introduction

comp4911's People

Contributors

chrisharrisx avatar cregg avatar cstjung avatar gpfunk avatar jhou2 avatar junyam avatar netroute avatar shsu avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

jhou2

comp4911's Issues

Consolidated Issues from #39 & #40

Feedback/Issues from C1 Demo

(removed completed issues)

  • On "Create Project" page
    • remove "Estimate at Completion"
  • "Create Work Package" cannot be accessed directly, have to be accessed through manage work package
    • so should delete the direct link from the navigation bar
  • On "Timesheet" page
    • Empty dropdown for project and work package
      • have to assign the user to a project first,
    • when changing the hours manually, hours < 0 and hours > 24 can be entered manually but not added to total
  • On "Create Work Package"
    • Delete. WP can only be created from within a Project.

Pages that we don't have or pages we don't need

  • Manage Project Displays Nothing

Users

  • Assigning Timesheet Approver/Supervisor to newly created Employee seems to freeze the system.
    Workflow: Login -> Manage Users/Create User -> Create the User -> Select User from Manage Users View -> Assign Supervisor -> System Freeze
  • We might want to display a Growl and redirect to dashboard or Users Index up saving changes to Pay Rates.
    Workflow: Login -> Select Edit Pay Rates from NavBar -> Edit Pay Rates and click save -> Add redirect.

Work Packages

  • Cannot Assign Responsible Engineer to Work Package.
    Workflow: Login -> Manage WP -> Assign Responsible Engineer -> Type in Engineers name -> Select Engineer -> Nothing happens.
  • WorkPackage Creation should redirect to either index views or to profile view.

Dashboard

  • Cannot Remove or Edit Timesheets from Dashboard.
    Workflow: Login -> Presented with Dashboard -> Select Timesheet for Deletion from Dashboard or Editing.

CRUD/List Project

CRUD operation on /projects resource

Searchable filter on the top

Validation Entity Modifications

  • Should have 2 constructors: One that is bare minimum and one that have all the fields.

  • If the string field is required. Use @NotBlank instead. If it's BigDecimal use @NotNull

    src/main/java/ca/bcit/infosys/comp4911/domain/User.java:60:   @NotNull
    src/main/java/ca/bcit/infosys/comp4911/domain/User.java-62-   private String status;
    --
    src/main/java/ca/bcit/infosys/comp4911/domain/WorkPackage.java:47:   @NotNull
    src/main/java/ca/bcit/infosys/comp4911/domain/WorkPackage.java-49-   private String description;
    --
    src/main/java/ca/bcit/infosys/comp4911/domain/WorkPackage.java:52:   @NotNull
    src/main/java/ca/bcit/infosys/comp4911/domain/WorkPackage.java-54-   private String progressStatus;
    --
    src/main/java/ca/bcit/infosys/comp4911/domain/WorkPackageStatusReport.java:50:   @NotNull
    src/main/java/ca/bcit/infosys/comp4911/domain/WorkPackageStatusReport.java-52-   private String comment;
    --
    src/main/java/ca/bcit/infosys/comp4911/domain/WorkPackageStatusReport.java:55:   @NotNull
    src/main/java/ca/bcit/infosys/comp4911/domain/WorkPackageStatusReport.java-57-   private String workAccomplished;
    --
    src/main/java/ca/bcit/infosys/comp4911/domain/WorkPackageStatusReport.java:60:   @NotNull
    src/main/java/ca/bcit/infosys/comp4911/domain/WorkPackageStatusReport.java-62-   private String problemEncountered;
    --
    src/main/java/ca/bcit/infosys/comp4911/domain/WorkPackageStatusReport.java:71:   @NotNull
    src/main/java/ca/bcit/infosys/comp4911/domain/WorkPackageStatusReport.java-73-   private String problemAnticipated;
    

Cannot assign manager to project

Steps to replicate:

  1. Create new project
  2. Click Manage Project
  3. Click Assign Manager
  4. Choose manager, and click Select.
  5. Nothing seems to happen
  • Also cannot see assigned project manager in "Manage Project" page.

Print reports functionality

Bruce wants the ability to print reports from the client. I think we can get away with a simple javascript window.print() for elaboration, and then revisit the issue later in construction.

Add breadcrumbs to pages

We should put some breadcrumb for easier navigation. (Under Page Header)

<ol class="breadcrumb">
  <li><a href="#">Home</a></li>
  <li><a href="#">Library</a></li>
  <li class="active">Data</li>
</ol>

Create/List Timesheets

  • Should be able to create a new timesheet (by submission)
  • Should be able to view previous timesheets

Validate if the token stored inside localstorage

Validate if the token stored inside localstorage is still valid before doing anything. We can do this by making a simple /user call. If it is not valid, we will need to clear the localstorage and redirect user to the login page.

Bugs That Need Fixing

Pages that we don't have or pages we don't need

  • Manage Project Displays Nothing
  • We don't need the create Work Package option from the Work Package Drop Down. The only way to navigate to create Work Package Should be through the Manage Work Package page. This way when a work package is created it already has the Project Number.

Users

  • User Profile doesn't any details about user when you click on it.
    Workflow: Login -> Manage Users -> Click User -> No info in tables.
  • Assigning Timesheet Approver/Supervisor to newly created Employee seems to freeze the system.
    Workflow: Login -> Manage Users/Create User -> Create the User -> Select User from Manage Users View -> Assign Supervisor -> System Freeze
  • User Creation should redirect to either index views or to profile view
  • We might want to display a Growl and redirect to dashboard or Users Index up saving changes to Pay Rates.
    Workflow: Login -> Select Edit Pay Rates from NavBar -> Edit Pay Rates and click save -> Add redirect.

Work Packages

  • Cannot Assign Responsible Engineer to Work Package.
    Workflow: Login -> Manage WP -> Assign Responsible Engineer -> Type in Engineers name -> Select Engineer -> Nothing happens.
  • WorkPackage Creation should redirect to either index views or to profile view.

Dashboard

  • Cannot Remove or Edit Timsheets from Dashboard.
    Workflow: Login -> Presented with Dashboard -> Select Timesheet for Deletion from Dashboard or Editing.

Import Wireframes as Partial Views

Chris will be importing most of the wireframes he did during elaboration phase.

Craig/Junko will be identifying which ones we need and which ones to discard.

Routes and placeholder views should be made for these partial views.

Pin navbar to Top

Pin navbar to top. May need to add margin of 40px to main content div to offset the difference.

Try to Make Angular Routes Correspond To API

eg.
/work_packages
/work_packages/:id
/work_packages/:id/assignments

/timesheets
/timesheets/:id
/timesheets/new
/timesheets/:id/edit

/user
/users/:id
/users/new
/users/:id/edit

Remember to change the a href link to point to the new location

Regular user cannot see their own User Profile

Steps to replicate:

  1. Create a user.
  2. Log in as the new user.
  3. Click "User Profile".
  4. Nothing happens.

Expected behaviour:
User should be able to view their own profile and change their password.

Implement client side login

Login will succeed if response code of 200 with a token + user id.

Store token in a variable for later requests.

Rudy's notes regarding Bruce's feedback during C1 demo

Feedback/Issues from C1 Presentation - Tuesday March 25, 2014

  • On "User Management" page, for the "Change" supervisor button
    • should mention who the current supervisor is
  • On "Edit Pay Rates" page
    • maybe should display a message when it's saved
  • On "Project Details" page
    • some unnecessary fields in the header should be removed (i.e. WP Number)
    • Bruce has a problem with the "Pay Grade" section
  • On "Create Project" page
    • remove "Estimate at Completion"
  • On "Assign Responsible Engineer" page
    • maybe should display a message when it's done assigning
  • "Create Work Package" cannot be accessed directly, have to be accessed through manage work package
    • so should delete the direct link from the navigation bar
  • On "Timesheet" page
    • Empty dropdown for project and work package
      • have to assign the user to a project first,
    • when changing the hours manually, hours < 0 and hours > 24 can be entered manually but not added to total
  • On "Create Work Package"
    ???

Iteration Plan

A Checklist!

  • this is a complete item
  • this is an incomplete item
  • this is a complete item
  • this is an incomplete item

CRUD/List User

CRUD operation on /users resource

Searchable filter on the top

Port over app.css modifications to app.scss

List of commits: (see their contents by 'git show commit-id')

commit dab9c41
Author: JunYam [email protected]
Date: Sun Mar 23 01:30:27 2014 -0700

Fixed Navbar on top, unified button color and size

commit 4d959f6
Author: gfunk [email protected]
Date: Mon Mar 17 00:54:56 2014 -0700

Deletion of rows implemented, styled cursor

commit 6cbcc8a
Author: JunYam [email protected]
Date: Sun Mar 16 02:17:04 2014 -0700

Added all submenu to Index pages. Partials styling progress

commit 3213002
Author: Steven [email protected]
Date: Sat Mar 15 13:42:35 2014 -0700

Changed dropdown menu text color.

Consistent UI/UX

  • Make buttons same size and color. (eg. btn-lg, btn-block)
  • Place buttons with same action-text for similar page actions in the same place (eg. Add Row, Save)
  • Table headers should have same font and similar headings

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.