Giter Site home page Giter Site logo

engine-ui's People

Contributors

fproske avatar hbusul avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

hbusul

engine-ui's Issues

Namespace tab loses focus

This is not a bug, this is a feature request.
When I pick a namespace and patch a model, I go back to the namespaces page but my namespaces selection resets.
It would be nice to pass the name of the namespace I worked on while redirecting so I don't have to select a namespace again.

index.html is cached

Since index.html is cached, any changes we do is requiring clearing the cache before updating. We need to make sure that index.html is not cached.

Path parameters cannot contain / or \

While trying to upload a model if model name contains / or \, POST namespaces/{namespace}/{model} gives 404 as model contains /. Instead of trying to make this request, the UI should warn the user as model names cannot contain /.

  • Creating a namespace POST namespaces/{namespace}
  • Creating a model POST namespaces/{namespace}/{model}

Inviters can see 'Update Engine License' button

In the users tab, inviters can see 'Update Engine License' and 'Update GAMS License' buttons. They can't interact with them as they don't have enough permissions. We probably forgot to hide them.

Problem in usage interface

const isFinished = c.finished != null;
let solveTime;
if (isFinished && (c.times.length === 0 || c.times[c.times.length - 1].finish == null)) {
solveTime = NaN;
} else {
solveTime = ((isFinished ? new Date(c.times[c.times.length - 1].finish) : new Date()) -
new Date(c.times[c.times.length - 1].start)) / 1000;
}

Usage interface gives an error message when isFinished is False and c.times is an empty array. This condition might happen to a race condition or when something went wrong. Maybe we can add another check to else and make sure the array is not empty before accessing it. Otherwise, it shows nothing.

I have also another issue with using NaN in the code. If I got it right, NaN + some number is NaN. So even if a single solve time is NaN, in the table we see that Solve time is NaN. Instead of that we can say 0, I guess?

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.