From 73814501b02e59a02be0c21e0f942cc5d2467150 Mon Sep 17 00:00:00 2001 From: stancld Date: Sun, 22 Jun 2025 13:34:21 +0200 Subject: [PATCH 1/3] Introduce CHANGELOG.md --- CHANGELOG.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..f185363 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,34 @@ +# Changelog +All notable changes to this project will be documented in this file. The documented versioning starts from the public alpha release `0.3.1`. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). + + +## [Unreleased] - YYYY-MM-DD + +### Public + +#### Added +- Added link to the extension in Chrome store +- Added home button to HR Zones config display +- Added button routing to Strava calendar on the home screen +- Added button routing to HR Zones config on the home screen +- Added info panel displaying the initial sync status +- Enabled account deletion + +#### Changed +- Changed time in zone calculation to be based on moving time instead of elapsed time + +#### +- ... + + +### Internal + +#### Added +- Added support for separate development Chrome extension ID + +#### Changed +- ... +#### Fixed +- Used `gunicorn.conf.py` to run APScheduler in a single process only From be79a0797cce4b03fcd2564ec342a2386e7ee038 Mon Sep 17 00:00:00 2001 From: stancld Date: Sun, 22 Jun 2025 14:11:15 +0200 Subject: [PATCH 2/3] Introduce Changelog page * Fix some auth displaying button conditions on the way. --- backend/api/templates/api/changelog.html | 91 ++++++++++++++++ backend/api/templates/index.html | 128 ++++++++--------------- backend/api/urls.py | 2 + backend/api/views.py | 13 ++- 4 files changed, 150 insertions(+), 84 deletions(-) create mode 100644 backend/api/templates/api/changelog.html diff --git a/backend/api/templates/api/changelog.html b/backend/api/templates/api/changelog.html new file mode 100644 index 0000000..9d1c64f --- /dev/null +++ b/backend/api/templates/api/changelog.html @@ -0,0 +1,91 @@ + + + + + + Zonelens Changelog + + + +

Zonelens Changelog

+
+

Welcome to version 0.4.0! We've made some exciting updates since version 0.3.1. Hereโ€™s whatโ€™s new.

+
+ +

Public Changes

+ +

Added

+ + +

Changed

+ + +
+ Home +
+ + + diff --git a/backend/api/templates/index.html b/backend/api/templates/index.html index 7689de6..acee800 100644 --- a/backend/api/templates/index.html +++ b/backend/api/templates/index.html @@ -133,12 +133,32 @@ .extension-link a:hover { text-decoration: underline; } - .delete-account-container { + .changelog-button-container { position: fixed; bottom: 15px; left: 15px; z-index: 1000; } + .changelog-button { + background-color: #aaaaaa; + color: #ffffff; + border: 1px solid #999999; + padding: 8px 15px; + font-size: 0.9em; + border-radius: 5px; + cursor: pointer; + text-decoration: none; + transition: opacity 0.2s; + } + .changelog-button:hover { + opacity: 0.85; + } + .delete-account-container { + position: fixed; + bottom: 15px; + left: 125px; + z-index: 1000; + } .delete-button { background-color: #aaaaaa; color: #ffffff; @@ -148,6 +168,9 @@ border-radius: 5px; cursor: pointer; } + .delete-button:hover { + opacity: 0.85; + } /* Modal Styles */ .modal { display: none; /* Hidden by default */ @@ -201,18 +224,13 @@

Welcome to ZoneLens!

-
-

Customize your Strava activity heart rate and power zones with ease. Connect your Strava account to get started.

- - Login with Strava - - - -
-