Code Monkey home page Code Monkey logo

ws-anywhere's People

Contributors

dependabot[bot] avatar gomorizsolt avatar thisismydesign avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

ws-anywhere's Issues

Stop/start periodic data sending buttons

The related comment is available here.

This should make it explicit whether the periodic feature is in use.

One of the two button should always be disabled. This is enough feedback in this case, no need for ticks. But make sure that the button style only changes if the request was successful. By default the feature is stopped.

Revise admin screen text

After all basic functionality is done, do a revision of the displayed text, instructions, etc.

Add setup chapter to readme

It should include a script that automatically sets up heroku. E.g.

export HEROKU_APP=ws-anywhere

heroku apps:destroy --confirm $HEROKU_APP
heroku create $HEROKU_APP

heroku addons:create mongolab

heroku git:remote
git push heroku master

heroku ps:scale web=1

Ws-anywhere down due to possible server error

ws-anywhere2

Let's fix this and also a few things to improve:

  • feedback on start/stop - i know this was considered but looking at this error i think it's better with feedback
  • if submit (or anything else) errors on the server side let's display Server error (similar to Invalid JSON format).

Basic auth

Add a conditional basic auth middleware to express.sj

If the ENV vars user AND password are set the admin should require based authentication based on these values. Otherwise not.

Document this feature in the readme.

Improve periodic message sending

Found some further improvements/issues regarding the periodic messages:

  • clicking on the Submit button while the message sending is active doesn't affect its state - requires hitting the stop and start buttons once again,
  • the timer should be cleared gracefully in order to avoid setting the setTimeout many times.

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.