Coder Social home page Coder Social logo

Comments (6)

yuri1969 avatar yuri1969 commented on August 25, 2024 2

This is easy to do for the flows listing, sadly the execution listing doesn't provide the original cron expression.

IMO it feels unnecessary to remove the entire trigger table as it seems it provides interesting info, like the next schedule. It's hard to tell without a trigger type-based UI design.

Here is a basic working attempt: https://github.com/yuri1969/kestra/tree/cron-explained

from kestra.

yuri1969 avatar yuri1969 commented on August 25, 2024 2

@anna-geller the PR is up.

from kestra.

yuri1969 avatar yuri1969 commented on August 25, 2024 1

This sounds nice.

As the UI is internationalized this feature should provide localized output.

For example, there is a JS lib called cRonstrue providing human readable cron expressions. It supports both English and French languages.

from kestra.

MilosPaunovic avatar MilosPaunovic commented on August 25, 2024 1

Yeah, it sounds pretty straightforward.

@yuri1969 are you willing to maybe give this a shot, I can help if you get stuck somewhere?

from kestra.

anna-geller avatar anna-geller commented on August 25, 2024

@MilosPaunovic do you think you could use that library to display a human-readable interpretation of a schedule instead of the table? This would need to be implemented on both:

  1. Flow page:
    image

  2. Executions page:
    image

from kestra.

anna-geller avatar anna-geller commented on August 25, 2024

sure, we can add it only on the Flows table, do you want to add a PR based on that branch?

from kestra.

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.