Code Monkey home page Code Monkey logo

Comments (8)

ohwgiles avatar ohwgiles commented on August 30, 2024

This seems reasonable. I think I would do it without an explicit section break so as not to waste space in the common case where there are no active jobs, in the same way as it appears on the home page. I'll experiment a bit and see how it looks

from laminar.

ohwgiles avatar ohwgiles commented on August 30, 2024

The difficulty I'm having with this is it causes a kind of inconsistent layout. The purpose of the Jobs page is to be able to quickly find a job (by name or tag). With your proposal, the job I'm looking for might be on the top of the page if Laminar is idle, or half-way down the page if it's busy. This means an extra scanning step to find the job I want, and worse, if a new job starts or an active one finishes, the layout will jump, which would be annoying if you were about to click.

I think that's acceptable on the home page, where the point is to get a general overall status, but on the Jobs page I think this would be an overall negative impact on the user experience, so I prefer not to implement it exactly as you describe it.

However, as mentioned in #8, currently the Jobs page doesn't at all reflect whether a job is currently active or not. I should at least display that in the existing row (without layout changes)

from laminar.

palica avatar palica commented on August 30, 2024

OK, no problem :) I like it with or without this feature.

from laminar.

ohwgiles avatar ohwgiles commented on August 30, 2024

With d3e4db1, the jobs page now updates job rows with their running status

from laminar.

palica avatar palica commented on August 30, 2024

Oliver, I cannot see running job being listed on the /jobs page.

from laminar.

ohwgiles avatar ohwgiles commented on August 30, 2024

It seems to be working for me:
laminar-jobs-running

from laminar.

palica avatar palica commented on August 30, 2024

It is again a corner case when it is the first job ever run on the server.

from laminar.

ohwgiles avatar ohwgiles commented on August 30, 2024

Corner case should be now fixed with 2214bef

from laminar.

Related Issues (20)

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.