Code Monkey home page Code Monkey logo

suitelifeweb's People

Contributors

angular-cli avatar cole-k avatar giselleserate avatar jennzhu avatar

Watchers

 avatar  avatar

suitelifeweb's Issues

Implement colors for debt color classes in css

The classes are .debt-zero, .debt-positive, and .debt-negative. They are used in the User class to make the ious display differently.
If you don't do this, switch the return of colorDebt to be color instead of assignedClass. I've left that variable in.

Leaving a group generates an error but doesn't break anything so far as we can tell

Raw log of the error.

FIREBASE WARNING: Exception was thrown by user callback. TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at SafeSubscriber._next (http://localhost:4200/main.bundle.js:365:40)
    at SafeSubscriber.webpackJsonp.../../../../rxjs/Subscriber.js.SafeSubscriber.__tryOrUnsub (http://localhost:4200/vendor.bundle.js:8927:16)
    at SafeSubscriber.webpackJsonp.../../../../rxjs/Subscriber.js.SafeSubscriber.next (http://localhost:4200/vendor.bundle.js:8874:22)
    at Subscriber.webpackJsonp.../../../../rxjs/Subscriber.js.Subscriber._next (http://localhost:4200/vendor.bundle.js:8814:26)
    at Subscriber.webpackJsonp.../../../../rxjs/Subscriber.js.Subscriber.next (http://localhost:4200/vendor.bundle.js:8778:18)
    at Notification.webpackJsonp.../../../../rxjs/Notification.js.Notification.observe (http://localhost:4200/vendor.bundle.js:7994:50)
    at QueueAction.webpackJsonp.../../../../rxjs/operator/observeOn.js.ObserveOnSubscriber.dispatch (http://localhost:4200/vendor.bundle.js:10706:22)
    at QueueAction.webpackJsonp.../../../../rxjs/scheduler/AsyncAction.js.AsyncAction._execute (http://localhost:4200/vendor.bundle.js:11175:18)
    at QueueAction.webpackJsonp.../../../../rxjs/scheduler/QueueAction.js.QueueAction.execute (http://localhost:4200/vendor.bundle.js:11304:18) 

core.es5.js:1020 ERROR TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at SafeSubscriber._next (group.ts:32)
    at SafeSubscriber.webpackJsonp.../../../../rxjs/Subscriber.js.SafeSubscriber.__tryOrUnsub (Subscriber.js:238)
    at SafeSubscriber.webpackJsonp.../../../../rxjs/Subscriber.js.SafeSubscriber.next (Subscriber.js:185)
    at Subscriber.webpackJsonp.../../../../rxjs/Subscriber.js.Subscriber._next (Subscriber.js:125)
    at Subscriber.webpackJsonp.../../../../rxjs/Subscriber.js.Subscriber.next (Subscriber.js:89)
    at Notification.webpackJsonp.../../../../rxjs/Notification.js.Notification.observe (Notification.js:32)
    at QueueAction.webpackJsonp.../../../../rxjs/operator/observeOn.js.ObserveOnSubscriber.dispatch (observeOn.js:87)
    at QueueAction.webpackJsonp.../../../../rxjs/scheduler/AsyncAction.js.AsyncAction._execute (AsyncAction.js:111)
    at QueueAction.webpackJsonp.../../../../rxjs/scheduler/QueueAction.js.QueueAction.execute (QueueAction.js:33)

Screenshot

screen shot 2017-08-01 at 10 11 21 am

Presumably some sort of issue with our Firebase calls

Replace alerts

They're not the best way of conveying information and there certainly are better, less intrusive ways.

Find alerts with

grep -rnw '.' -e 'alert'

in suitelifeweb/src/

Error when paying people back

"cannot read property 'toFixed' of null"
Doesn't seem to break anything. I don't know if this is a really bad thing.

Account creation

If the user has never logged in before, bring them to an account creation screen.

Errors in searchUsers.

A single user's debt to me is retrieved in searchUsers, but I may not have a debt to this person. I don't ever display this either, so it's fine if we just don't. Can we use a different constructor?

deleteSelected() leaves behind two copies of the last unselected item

In the class InventoryComponent of src/app/inventory/inventory.component.ts. What's weirdest about this bug is how consistent it is, leading me to believe that it is not necessarily an issue of fast re-syncing or something to relating to Firebase of that nature but instead an issue with our code.

Currently fixed by calling

108    this.inventory.pop();

after the inventory is repopulated with the items that aren't selected.

Maybe check the line

99    this.db.object(this.path).remove();

and make sure it really is removing all the items.

Line numbers may be subject to change as inventory.component is edited.

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.