Add recommendations to site setup via hook_requirements()

Created on 15 August 2024, 8 months ago
Updated 16 August 2024, 8 months ago

Problem/Motivation

One of the biggest problems with using the Scheduler module comes down to the intricacies of timezones. This can be confusing to set up.

Proposed resolution

Use hook_requirements() to review how the site's timezones are configured, whether visitors can set their own timezones, and make recommendations based upon what is found.

Remaining tasks

Work out recommendations.
Implement them.

User interface changes

Guidance will be shown on the System Status page on how to improve the site's timezone handling to make working with the scheduler module easier to understand.

API changes

TBD

Data model changes

TBD

✨ Feature request
Status

Closed: outdated

Version

2.0

Component

User Interface

Created by

πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @DamienMcKenna
  • πŸ‡¬πŸ‡§United Kingdom jonathan1055

    Hi DamienMcKenna,
    Actually Scheduler has precisely this functionality already!

    The text about configuring your own timezone varies depending on whether the site allows this. The details are in hook_requirements()

    This is good for admins who have access to the site status report, but it would be nice to show this info somehow to ordinary site editors who might not have authority to see admin/reports/status I wonder if there is another way to display this, maybe in a pop-up from the edit form. There is nothing sensitive or secret so it could be shown for any logged-in user. Maybe it could also be added as a tab on their user account page?

  • Status changed to Closed: outdated 8 months ago
  • πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

    I will admit I had not looked before making the suggestion, thank you for adding this, it's very useful.

    I think additional improvements can be handled via ✨ Appended timezone to publish_on and unpublished_on field Needs work .

Production build 0.71.5 2024