0
0
Fork 0
mirror of https://github.com/healthchecks/healthchecks.git synced 2025-04-10 15:37:30 +00:00
healthchecks_healthchecks/static/js
Pēteris Caune dba356c5d4
For cron checks, change default display timezone to check's timezone
In the "Details" and "Log" pages Healthchecks displays a list
of events (incoming pings and sent alerts). At the top of the
events list is a two- or three-way selector for selecting
the timezone for formatting event dates and times. The selector
options are "UTC", check's configured timezone, and "Browser's
time zone". The "Browser's time zone" used to be default, initial
selection for all checks.

With this change, for checks that use cron schedule, the default
selected timezone will be the check's configured timezone.
The "Browser's time zone" option is of course still there and the
user can switch to it to see dates and times in their local time.

Rationale: I semi-regularly get support requests about unexpected
or missing alerts, where the problem boil downs to a timezone
mismatch between the client and the Healthchecks server. Sometimes
the confusion seems to be caused by the user seeing ping arrival
times in  their local time zone, comparing them to their cron
expression, and not realizing their server may be using a different
timezone. By switching the default display timezone to the check's
configured timezone, I hope users will be more likely to notice
discrepancies between ping arrival times, the cron schedule,
and their local clock.

For checks using simple schedules (timeout and grace), we still
default to browser's timezone for display.
2023-06-29 12:12:54 +03:00
..
adaptive-setinterval.js adaptiveSetInterval fires the first request immediately if runNow is true, in 3 seconds otherwise. 2020-06-01 11:51:40 +03:00
add-check-modal.js Fix the checks list to preserve filters when adding/updating checks 2022-08-02 13:27:04 +03:00
add_credential.js Add form double submit protection when registering a WebAuthn key 2023-02-20 11:05:55 +02:00
add_project_modal.js Focus the "name" input in the "Add Project" modal. 2020-03-05 16:05:06 +02:00
add_pushover.js Switch from bootstrap-select to selectize in pushover and ntfy forms 2023-05-26 13:06:34 +03:00
add_trello.js Fix a crash when adding an integration for an empty Trello account 2021-01-28 12:57:08 +02:00
add_zulip.js Add support for custom topics in Zulip notifications 2022-10-09 11:23:14 +03:00
appearance.js Fix more contrast issues 2021-06-18 17:07:27 +03:00
badges.js Implement badge mode (up/down vs up/late/down) selector 2020-11-27 12:57:25 +02:00
billing.js DRY, have a single "No billing address" modal dialog. 2020-05-29 15:33:33 +03:00
bootstrap-native.min.js Eliminate jQuery usage in the login page 2022-06-08 09:46:51 +03:00
bootstrap.min.js Upgrade to Bootstrap 3.4.1 2021-10-01 12:21:54 +03:00
channels.js Read-only users cannot edit or remove channels. 2020-08-26 14:48:31 +03:00
checks.js Decouple check's name from slug, allow users to set hand-picked slugs 2023-06-14 15:06:37 +03:00
details.js For cron checks, change default display timezone to check's timezone 2023-06-29 12:12:54 +03:00
docs_cron.js Add cron expression tester and samples in the cron cheatsheet page 2023-04-04 13:54:24 +03:00
initialize-timezone-selects.js Optimize <select name="tz"> initialization 2022-06-29 11:45:50 +03:00
jquery-3.6.0.min.js Upgrade to jQuery 3.6.0 2021-10-01 13:12:20 +03:00
log.js For cron checks, change default display timezone to check's timezone 2023-06-29 12:12:54 +03:00
login_tfa.js Refactor webauthn implementation, use webauthn-json 2022-06-19 10:10:57 +03:00
moment-timezone-with-data-10-year-range.min.js Support informal time zones. 2019-08-22 11:41:08 +03:00
moment.min.js Support informal time zones. 2019-08-22 11:41:08 +03:00
notifications.js Change "Settings - Email Reports" page to allow manual tz selection 2022-12-01 16:12:32 +02:00
nouislider.min.js Add date filters in the Log page 2022-09-09 14:16:17 +03:00
ntfy_form.js Switch from bootstrap-select to selectize in pushover and ntfy forms 2023-05-26 13:06:34 +03:00
ping_details.js Optimize spinner HTML 2022-06-26 11:04:09 +03:00
pricing.js Tooltips and updated FAQ in the pricing page. 2020-04-07 14:35:21 +03:00
profile.js Simplify JS 2021-09-14 09:56:12 +03:00
project.js Make email non-editable in "Invite Member" when team limit reached 2022-02-04 20:43:17 +02:00
projects.js Add auto-refresh and running indicator in My Projects 2022-08-02 16:37:25 +03:00
projects_menu.js Improve styling of the project switcher 2023-03-10 11:50:41 +02:00
purify.min.js Improve HTML email display in the "Ping Details" dialog 2021-02-26 16:25:39 +02:00
search.js Switch from "trigram" to "porter unicode61" tokenizer 2022-08-22 12:51:53 +03:00
selectize.min.js Upgrade selectize.js to v0.15.2, fix CSS issues 2023-06-28 11:42:00 +03:00
set-password.js Some JS linting fixes 2020-07-01 19:23:50 +03:00
signal_form.js Improve the "Send test message!" button 2023-01-11 14:50:01 +02:00
signup.js Clean up promise chaining in signup.js 2023-02-15 09:41:15 +02:00
slug-suggestions.js Update slug validation rules to disallow uppercase 2023-06-15 09:05:26 +03:00
snippet-copy.js Remove debug line 2022-12-15 15:06:50 +02:00
update-timeout-modal.js Optimize <select name="tz"> initialization 2022-06-29 11:45:50 +03:00
webauthn-json.browser-global.js Refactor webauthn implementation, use webauthn-json 2022-06-19 10:10:57 +03:00
webhook.js Webhooks support PUT method. 2019-05-28 14:25:29 +03:00
zxcvbn.js Password strength meter and length check in the "Set Password" form 2019-04-29 23:16:49 +03:00