Repository navigation
Conversation
## Human comments ## What was wrong Cron humanizer post-processing converted "and" to a comma and then removed the comma after AM/PM. Hour ranges and lists of separate times consequently lost their connectors in the Automations list and detail page. ## What changed Convert "between X and Y" time ranges to "X-Y" before the general conjunction cleanup. Keep existing formatting for other schedules and preserve commas between separate times, and add hour-range and non-range cases to the format-schedule tests. ## How you verified - Four hour-range cases failed on the original formatter and passed after the fix. Two separate-time cases also failed before their repair and passed after it; all 20 format-schedule tests passed with `pnpm exec turbo run test --filter=bb-plugin-automations -- src/format-schedule.test.ts`. - `pnpm exec turbo run typecheck lint --filter=bb-plugin-automations` passed; lint reported five existing warnings and zero errors. - Reviewed before/after Chromium screenshots at 390px and 1280px in Ladle using the actual list row and detail components with a temporary range fixture. Restored the story after capture. - `git diff --check` passed. > AGENT GENERATED
ymichael
deleted the
bb/fix-missing-range-connector-in-automation-schedu-thr_u9bd3yzyar
branch
October 7, 2026 17:55
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.
Human comments
What was wrong
Cron humanizer post-processing replaced "and" with a comma, then stripped commas after AM/PM. This removed connectors from hour ranges and separate times in the Automations list and detail page.
What changed
Format time ranges as
9AM-5:59PMbefore conjunction cleanup and preserve commas between separate times, such as9AM, 5PM Mon, Wed, Fri. Add formatter cases for ranges, multiple times, and other schedules.How you verified
pnpm exec turbo run test --filter=bb-plugin-automations -- src/format-schedule.test.ts.pnpm exec turbo run typecheck lint --filter=bb-plugin-automationspassed; lint reported five existing warnings and no errors.git diff --checkpassed.