Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: add minute randomization option for post scheduling #986

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
rubymignot wants to merge 5 commits into gitroomhq:main
base: main
Choose a base branch
Loading
from rubymignot:feature/random-minutes

Conversation

@rubymignot
Copy link

@rubymignot rubymignot commented Sep 18, 2025
edited
Loading

What kind of change does this PR introduce?

Feature: Add "Randomize minute" scheduling option (default ON), update CreatePostDto, and wire backend + frontend to support random minute within the selected hour.

Sans-titre-2025年09月18日-0303

Why was this change needed?

  • Smoother posting cadence.
  • Gives explicit user control to disable randomization when precise minute is needed.
  • Keeps system consistent by persisting the final publishDate and using it for queue delays.

Key points:

  • Frontend:
    • ManageModal: add "Randomize minute" checkbox (default ON).
    • UX:
      • Unchecking immediately clamps the picker to :00 (visible to user).
      • Rechecking re-randomizes to a different minute.
      • Not showing modal if we're editing.

Other information

  • This is backward compatible for scheduled posting and cron/worker flows (they already rely on publishDate).
  • This is related to Randomize minute within scheduled hour #985
  • This is also my first contribution to open-source!!! Please be nice lol

Checklist

  • I have read the CONTRIBUTING guide.
  • I checked that there were not similar issues or PRs already open for this.
  • This PR fixes just ONE issue (adds random-minute scheduling with a UI toggle, plus DTO).

Copy link

vercel bot commented Sep 18, 2025

@rubymignot is attempting to deploy a commit to the Listinai Team on Vercel.

A member of the Team first needs to authorize it.

@rubymignot rubymignot changed the title (削除) Add randomization option for post scheduling in ManageModal and updat... (削除ここまで) (追記) Add randomization option for post scheduling (追記ここまで) Sep 18, 2025
@rubymignot rubymignot changed the title (削除) Add randomization option for post scheduling (削除ここまで) (追記) Add min randomization option for post scheduling (追記ここまで) Sep 18, 2025
@rubymignot rubymignot changed the title (削除) Add min randomization option for post scheduling (削除ここまで) (追記) feat: add minute randomization option for post scheduling (追記ここまで) Sep 19, 2025
Copy link
Collaborator

@sentry review

seer-by-sentry[bot] reacted with eyes emoji

Copy link

⚠️ We couldn't complete your request
Prevent AI only supports U.S. data storage at this time.
📘 Learn more about Prevent AI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /