Code Monkey home page Code Monkey logo

minion-frontend's Introduction

minion-frontend's People

Contributors

wyhaines avatar dependabot[bot] avatar

Watchers

 avatar Sethupathi Asokan avatar Shailesh avatar  avatar James Cloos avatar Sachin Shintre avatar Anuj Verma avatar  avatar

minion-frontend's Issues

Fix login support issues

Right now the forgot-password functional are unimplemented. There should be a viable implementation built.

Setup kanban

Setup a basic kanban board to visualize work and issues in this repo.

The JS code should detect it and cope with a reasonable error or default if the API server returns a bad response.

There are two scenarios that need to be, in general, handled gracefully, and that are not right now.

One is if the API server doesn't handle the request at all. This generally passes without notice, except for error messages in the console, but this is almost by accident instead of design. Proper error handling needs to be added.

Second, if the API server has an internal error, it will return an appropriately sized nil set response. The front end needs to detect when it gets nils instead of data that it was expecting, and cope in a reasonable way.

Add a loading indicator to the log service type dropdown

The service types are populated by an API call when the card is opened. Network latency means that sometimes a person has already clicked on the dropdown to select a service type before the data has been returned.

The simple thing here is to just show a loading indicator if there are no service types. There should never be a scenario except for one in which an organization has been setup, and there is a record for a server, but no logs have been collected, where there are no service types, and that should be very rare, so can safely be ignored at this time.

It is probably sufficient to use the Skeleton loading indicator that is being used elsewhere. This should be simple.

Finish User Admin

The User Admin portion of the admin panel is unfinished. Finish it so that users can be properly administered.

Add 2fa support for accounts

Right now it's just user/password. We should support 2fa, and make the use of it a toggleable feature on the account.

Reduce the default for the number of log lines pulled

The default right now is 500 lines, which seems like a good number for telemetry, but it's too much for logs. Most of that data will be transferred, but never looked at.

It should be something smaller, like 100 lines.

Clean up cruft and junk

There is still a LOT of carried forward cruft and junk from the template that I used to provide the base widgets and building blocks. This needs to be cleaned up.

Add a button to pause the polling cycle for logs

If one is searching for a specific log entry, one may want to pause polling when one finds it, so that new logs don't cause what was found to scroll. We can add a simple iconbutton next to the refresh button to pause polling. Along with this should be a "play" button to restart polling. Play should be disabled while polling is active. When polling is paused, the pause button switches state to inactive, and the play button to active, making clear their purpose.

Flash new log lines

When new log lines are added to the table, the dashboard should apply a very brief, subtle flash effect to those table rows to give the eyes something to latch onto to indicate that new data has appeared.

OAuth support?

The UI was written with the assumption that we would support Google/Github/etc. OAuth integration. None of this is written, though; it's just icons and pictures.

Either support it, or remove the icons until we decide to support it.

Add a manual reload button for logs

Logs should poll and update automatically, but if there is a long wait between polling cycles, as determined by the interval algorithm, and a person thinks that there should be new logs, a person might want to be able to poke a button in order to see that.

Add a load type button to manually trigger a polling cycle.

Add a telemetry reload button

Telemetry does not auto update, because that's just too complicated to deal with right now, and that much polling could get burdensome. So, we should provide a simple reload button so that one can poke it to see updated graphs.

Max polling cap is too long

Waiting 60000 seconds to poll for new data.

Yeah.....that's too long. It was supposed to be 600 seconds -- 10 minutes. That seems reasonable for a log data that just has not had very frequent changes.

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.