Skip to content
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

When a user schedules a job, they should see "scheduled" instead of "sent" on the Service Activity page #2168

Open
heyitsmebev opened this issue Dec 3, 2024 · 5 comments · May be fixed by #2266
Assignees

Comments

@heyitsmebev
Copy link
Contributor

heyitsmebev commented Dec 3, 2024

When a user schedules a job, the table within Service Activity displays 'sent' instead of 'scheduled.' Please update it to display 'scheduled' to avoid confusion between scheduled vs sent jobs.

Example of what it could look like when user schedules jobs
Image

@heyitsmebev heyitsmebev self-assigned this Dec 3, 2024
@heyitsmebev heyitsmebev converted this from a draft issue Dec 3, 2024
@heyitsmebev heyitsmebev moved this from 🏗 In progress (WIP: ≤ 3 per person) to ⬇ Up-Next in Notify.gov product board Dec 3, 2024
@heyitsmebev heyitsmebev moved this from ⬇ Up-Next to 🏗 In progress (WIP: ≤ 3 per person) in Notify.gov product board Jan 15, 2025
@heyitsmebev
Copy link
Contributor Author

heyitsmebev commented Jan 15, 2025

@dmvancura @ecayer

I believe we should be more explicit about our job statuses. Instead of only displaying "sent on," as we originally did, we could include more descriptive statuses such as "sent on," "scheduled for," or "sending." This approach would provide a clearer understanding of the job's progress. For instance, large jobs may take longer to process, making "sending" a more appropriate status to indicate ongoing processing.

What each state represents:

Scheduled for: Displays the time the user scheduled the job to send a future message.
Sending since: Indicates the time the job started processing.
Pending since: Displays the time the job was created if it has not started or finished processing.
Sent on: Shows the time the job was completed.

Image

@heyitsmebev heyitsmebev linked a pull request Jan 15, 2025 that will close this issue
@heyitsmebev heyitsmebev linked a pull request Jan 15, 2025 that will close this issue
@ecayer
Copy link

ecayer commented Jan 16, 2025

I really like this! It seems really helpful to add "Sending since". I'm still slightly hazy on why we might need to use the Created at status, though - this is for if a job was scheduled to start but it hasn't actually begun yet? Like the case where it's held up behind another large send?

@dmvancura
Copy link

i do like these statuses, but i'm also wondering about an "in queue" status, if that's ever necessary. it would be for jobs that are upcoming... thoughts?

@dmvancura
Copy link

so thinking out loud further on this, the above comment is a mute point, since we have "sending" and "pending"

@heyitsmebev
Copy link
Contributor Author

@ecayer I see what you mean by the haziness of "created at", it doesn't quite convey that a message is in a "pending" state so @dmvancura and I decided to use "pending" if a message hasn't started processing or finished sending.

@heyitsmebev heyitsmebev moved this from 🏗 In progress (WIP: ≤ 3 per person) to 👀 In review in Notify.gov product board Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 👀 In review
Development

Successfully merging a pull request may close this issue.

3 participants