Code Monkey home page Code Monkey logo

coursewatch's People

Contributors

abraha2d avatar dependabot[bot] avatar

Watchers

 avatar  avatar

coursewatch's Issues

Add version info to app

Is your feature request related to a problem? Please describe.
It's good to know what version of an app you're on.

Describe the solution you'd like
An about screen, with the current version of Coursewatch on it.

Describe alternatives you've considered
N/A

Additional context
N/A

ParallelSaveError: Can't save() the same doc multiple times in parallel.

Describe the bug
If multiple subscriptions are set for a course, all but the first subscription error out with ParallelSaveError: Can't save() the same doc multiple times in parallel.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the subscriptions page.
  2. Add 2 subscriptions for the same course.
  3. Switch to backend console.
  4. See error.

Expected behavior
Multiple subscriptions for a course all succeed.

Screenshots

(node:21786) UnhandledPromiseRejectionWarning: ParallelSaveError: Can't save() the same doc multiple times in parallel. Document: 5b72536ea94963551a772498
    at ParallelSaveError.MongooseError [as constructor] (/var/www/html/coursewatch-backend/node_modules/mongoose/lib/error/mongooseError.js:11:11) 
    at new ParallelSaveError (/var/www/html/coursewatch-backend/node_modules/mongoose/lib/error/parallelSave.js:18:17)
    at model.Model.save (/var/www/html/coursewatch-backend/node_modules/mongoose/lib/model.js:345:23)
    at /var/www/html/coursewatch-backend/src/services/ellucian/index.js:64:10
    at tryCatcher (/var/www/html/coursewatch-backend/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/var/www/html/coursewatch-backend/node_modules/bluebird/js/release/promise.js:512:31)
    at Promise._settlePromise (/var/www/html/coursewatch-backend/node_modules/bluebird/js/release/promise.js:569:18)
    at Promise._settlePromise0 (/var/www/html/coursewatch-backend/node_modules/bluebird/js/release/promise.js:614:10)
    at Promise._settlePromises (/var/www/html/coursewatch-backend/node_modules/bluebird/js/release/promise.js:693:18)
    at Async._drainQueue (/var/www/html/coursewatch-backend/node_modules/bluebird/js/release/async.js:133:16)
    at Async._drainQueues (/var/www/html/coursewatch-backend/node_modules/bluebird/js/release/async.js:143:10)
    at Immediate.Async.drainQueues (/var/www/html/coursewatch-backend/node_modules/bluebird/js/release/async.js:17:14)
    at runCallback (timers.js:810:20)
    at tryOnImmediate (timers.js:768:5)
    at processImmediate [as _immediateCallback] (timers.js:745:5)
(node:21786) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:21786) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Additional context
N/A

Use Electron to package as desktop app

Is your feature request related to a problem? Please describe.
Coursewatch should be available as a desktop app.

Describe the solution you'd like
Package Coursewatch with Electron.

Additional context
N/A

Use react-virtualized-select for performance

Is your feature request related to a problem? Please describe.
We need react-virtualized to improve performance. That way we can handle the potential 10,000's of courses in the SubscriptionDialog.

Describe the solution you'd like
Swap out react-autosuggest for react-virtualized-select.

Describe alternatives you've considered
All of 'em.

Additional context
I've already started work on doing so.

User profile doesn't stay up to date

Describe the bug
User profile is "cached" and doesn't update until logout/login

To Reproduce
Steps to reproduce the behavior:

  1. Navigate to Coursewatch in a new window.
  2. Update the user profile.
  3. Go back to original window and refresh.
  4. User profile doesn't reflect changes.

Expected behavior
User profile should reflect changes on refresh.

Additional context
N/A

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.