[PR #1168] [CLOSED] Add user interface features: time zone display preferences, override browser's time zone & time zones button deduplication #1089

Closed
opened 2026-02-26 00:30:51 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/healthchecks/healthchecks/pull/1168
Author: @seidnerj
Created: 5/30/2025
Status: Closed

Base: masterHead: master


📝 Commits (8)

  • 8a248a6 Consistently use "time zone" instead of "timezone" anywhere where docs/comments/interface and text in general is concerned (vs. pure code, e.g. variables, methods etc.)
  • bca0dac Implement time zone deduplication for event logs
  • 0185c4f Add IDE and system files to .gitignore
  • ad10729 Add user-configurable default time zone selection for event logs
  • 2d32ebe Add auto-hide functionality for account settings success messages
  • 7351572 Add documentation for new time zone and user interface features
  • f727b12 Fix mypy type annotations for timezone functionality
  • 366e7f1 Add browser time zone override functionality

📊 Changes

45 files changed (+1780 additions, -112 deletions)

View changed files

📝 .gitignore (+6 -0)
📝 CHANGELOG.md (+18 -8)
📝 hc/accounts/forms.py (+4 -4)
hc/accounts/migrations/0050_add_default_timezone_selection.py (+29 -0)
hc/accounts/migrations/0051_add_default_timezone_selection.py (+29 -0)
hc/accounts/migrations/0052_update_default_timezone_selection_choices.py (+28 -0)
hc/accounts/migrations/0053_add_browser_timezone_override.py (+22 -0)
📝 hc/accounts/models.py (+18 -2)
hc/accounts/tests/test_browser_timezone_override.py (+143 -0)
📝 hc/accounts/views.py (+32 -6)
📝 hc/api/models.py (+6 -6)
📝 hc/api/tests/test_create_check.py (+1 -1)
📝 hc/api/views.py (+3 -3)
📝 hc/front/templatetags/hc_extras.py (+76 -0)
📝 hc/front/tests/test_cron_preview.py (+2 -2)
📝 hc/front/tests/test_details.py (+2 -1)
hc/front/tests/test_timezone_buttons_template.py (+132 -0)
hc/front/tests/test_timezone_format_buttons.py (+520 -0)
📝 hc/front/views.py (+12 -1)
📝 hc/lib/tz.py (+25 -0)

...and 25 more files

📄 Description

Summary

  • Add user-configurable default time zone selection for event logs in appearance settings
  • Add option for user-configurable browser time zone override for even logs in appearance settings
  • Implement intelligent time zone button deduplication (merge buttons with identical offsets)
  • Add auto-hide functionality for success messages in account settings pages

Test plan

  • All timezone format button tests passing (21/21)
  • Profile and model tests passing
  • User preference functionality tested and working
  • Auto-hide animation implemented and scoped to settings pages
  • Documentation added for new features

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/healthchecks/healthchecks/pull/1168 **Author:** [@seidnerj](https://github.com/seidnerj) **Created:** 5/30/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (8) - [`8a248a6`](https://github.com/healthchecks/healthchecks/commit/8a248a6c3f9a05dcbfa7608251a3f696c39cf5f4) Consistently use "time zone" instead of "timezone" anywhere where docs/comments/interface and text in general is concerned (vs. pure code, e.g. variables, methods etc.) - [`bca0dac`](https://github.com/healthchecks/healthchecks/commit/bca0dac5a86c0a37303af8efa53daea217b007a3) Implement time zone deduplication for event logs - [`0185c4f`](https://github.com/healthchecks/healthchecks/commit/0185c4ff7cd07f2e3bbaefe5cb9c7b5910f2d86c) Add IDE and system files to .gitignore - [`ad10729`](https://github.com/healthchecks/healthchecks/commit/ad107298cf562ddc69d67fcfc4e79c84841bc9b8) Add user-configurable default time zone selection for event logs - [`2d32ebe`](https://github.com/healthchecks/healthchecks/commit/2d32ebe2644374c7be9af6a20e0edf0ff01efe33) Add auto-hide functionality for account settings success messages - [`7351572`](https://github.com/healthchecks/healthchecks/commit/7351572fde98a5ce6363a4b2a0c59f58b8021610) Add documentation for new time zone and user interface features - [`f727b12`](https://github.com/healthchecks/healthchecks/commit/f727b1245b0f9e17e02c125f89c77e3ce4517738) Fix mypy type annotations for timezone functionality - [`366e7f1`](https://github.com/healthchecks/healthchecks/commit/366e7f1133c79b46838440252647feace9134682) Add browser time zone override functionality ### 📊 Changes **45 files changed** (+1780 additions, -112 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+6 -0) 📝 `CHANGELOG.md` (+18 -8) 📝 `hc/accounts/forms.py` (+4 -4) ➕ `hc/accounts/migrations/0050_add_default_timezone_selection.py` (+29 -0) ➕ `hc/accounts/migrations/0051_add_default_timezone_selection.py` (+29 -0) ➕ `hc/accounts/migrations/0052_update_default_timezone_selection_choices.py` (+28 -0) ➕ `hc/accounts/migrations/0053_add_browser_timezone_override.py` (+22 -0) 📝 `hc/accounts/models.py` (+18 -2) ➕ `hc/accounts/tests/test_browser_timezone_override.py` (+143 -0) 📝 `hc/accounts/views.py` (+32 -6) 📝 `hc/api/models.py` (+6 -6) 📝 `hc/api/tests/test_create_check.py` (+1 -1) 📝 `hc/api/views.py` (+3 -3) 📝 `hc/front/templatetags/hc_extras.py` (+76 -0) 📝 `hc/front/tests/test_cron_preview.py` (+2 -2) 📝 `hc/front/tests/test_details.py` (+2 -1) ➕ `hc/front/tests/test_timezone_buttons_template.py` (+132 -0) ➕ `hc/front/tests/test_timezone_format_buttons.py` (+520 -0) 📝 `hc/front/views.py` (+12 -1) 📝 `hc/lib/tz.py` (+25 -0) _...and 25 more files_ </details> ### 📄 Description ## Summary - Add user-configurable default time zone selection for event logs in appearance settings - Add option for user-configurable browser time zone override for even logs in appearance settings - Implement intelligent time zone button deduplication (merge buttons with identical offsets) - Add auto-hide functionality for success messages in account settings pages ## Test plan - [x] All timezone format button tests passing (21/21) - [x] Profile and model tests passing - [x] User preference functionality tested and working - [x] Auto-hide animation implemented and scoped to settings pages - [x] Documentation added for new features --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 00:30:51 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/healthchecks#1089
No description provided.