Hue: Added user-friendly cron scheduling explanations to the Oozie Coordinator Editor - #4347
Draft
NadafMM wants to merge 1 commit into
Draft
Hue: Added user-friendly cron scheduling explanations to the Oozie Coordinator Editor#4347NadafMM wants to merge 1 commit into
NadafMM wants to merge 1 commit into
Conversation
NadafMM
force-pushed
the
feature/cron-explanation
branch
from
July 11, 2026 22:05
64d4d89 to
eb41c44
Compare
NadafMM
force-pushed
the
feature/cron-explanation
branch
from
July 11, 2026 22:23
eb41c44 to
752c6e0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
Issue: #4346
This PR improves the Oozie Coordinator scheduling UI by providing real-time, human-readable explanations of cron expressions and displaying the next scheduled run time. This helps users verify their schedules without relying on external tools.
Additionally, this PR fixes a misleading documentation link in the UI. The existing "Check syntax ?" link pointed to Quartz (6-field) documentation, but Oozie uses standard 5-field cron. The link has been updated to point to the standard Wikipedia cron documentation.
Example Behavior:
When a user enters a cron expression like
0 12 * * 1-5, the UI will dynamically render underneath it:Key changes:
cronExpressionUtils.tsutilizingcronstrueandcron-parserto generate human-readable descriptions and calculate next run times.coordinator-editor.ko.jsandcommon_scheduler.inc.makoto bind and display the cron explanation dynamically in the UI.coordinator_utils.makoandcommon_scheduler.inc.mako.How was this patch tested?
cronExpressionUtils.test.ts. All 5 tests pass successfully, covering valid expressions, invalid expressions, and edge cases.(InProgress)
Screenshots: to be attached