Skip to content

[Feature request]: Add multiple messages that are chosen at random #1784

Description

@cjohnsonuk

Version

  • I'm using version 1.21.0

Existing requests

  • I've checked Existing requests

Advanced Preferences

  • I've checked Advanced Preferences

What operating system are you using?

macOS

Operating System Version

Mac OsX 26.5

Problem description

Can multiple texts to display during the break time be set in the config?

Its easy to dismiss the message without reading it if you already know what its going to show.

Possible solution

If the app supports multiple message does the app chooses one at random, sequentially or based on time of day? I thought it would be better to add maybe 20 different activities, prompts or messages to display on the screen so the prompt is more likely to be read so users have a real break. If a method of using multiple prompts doesn't exist already the alternative ways would be

  1. to push the messages into the configuration of each computer remotely on a schedule (not ideal if there are multiple target platforms) or
  2. for the texts to be pulled by the app from a shared resource/network SMB share/ https accessed page, but I'm not sure if the app would need to be reloaded for that to take effect.
  3. Having the message bank built into the app seems the most elegant way of achieving this. (but having the option to pull from a remote bank would be great.

In the message bank definition

"breakIdeas": [
{
"data": ["Stretch Time!", "Try this <a href="https://example.com/stretch">stretching routine"],
"enabled": true,
"startTime": "08:00:00",
"endTime":"10:30:00",
"priority":"7"
}
]

the additional parameters determine the window in which the message can be displayed and the priority or weighting for choosing that message when multiple messages appear. eg if two messages both have a priority of 5 then they each appear for 5 /10 of the times there is a break. If one is a 7 and the other is a 2 one appears 7/9ths and the other 2/9ths of the time.

Having an option to "refresh message bank from shared resource" with a number of hours as the interval to check for changes would be a nice option.

Alternative solutions

Built in multiple messages
Messages ulled from a network accessible share/https file

Additional information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions