Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 10 additions & 15 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,37 +4,32 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Version 1.5.2
## Version 1.6

### Added
- SDK5 support
- Added active zone minutes

### Changed
- Updated workflows
## Version 1.5

## Version 1.5.1
### Added
- Added color settings
- SDK5 support

### Changed
- Updated fonts and SDK version
- Updated workflows

## Version 1.5.0
## Version 1.4

### Added
- Added color settings

## Version 1.4.1
- Activity info settings
- Colored icons

### Changed
- Added touch event to hide appointment
- Deactivated timer for activity update
- Updated documentation

## Version 1.4.0

### Added
- Activity info settings
- Colored icons

## Version 1.3

### Added
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![](https://img.shields.io/badge/Fitbit%20App%20Gallery-%2300B0B9?style=flat&logo=fitbit&logoColor=white)](https://gallery.fitbit.com/details/ae441b73-2660-407f-b796-a98d1d0583a0)
![languages](https://img.shields.io/badge/languages-JavaScript%20|%20CSS-blue)
![platform](https://img.shields.io/badge/platforms-Ionic%20|%20Versa%20|%20Versa%202%20|%20Versa%20Lite%20|%20Versa%203%20|%20Sense-silver)
[![version](https://img.shields.io/badge/version-%201.5.2-blue)](https://github.com/smirko-dev/fitbit-clockface/blob/master/CHANGELOG.md)
[![version](https://img.shields.io/badge/version-%201.6-blue)](https://github.com/smirko-dev/fitbit-clockface/blob/master/CHANGELOG.md)
[![](https://img.shields.io/badge/license-MIT-blue)](https://github.com/smirko-dev/fitbit-clockface/blob/master/LICENSE)
[![FitbitBuild Actions Status](https://github.com/smirko-dev/fitbit-clockface/workflows/FitbitBuild/badge.svg)](https://github.com/smirko-dev/fitbit-clockface/actions)
[![CodeQL Actions Status](https://github.com/smirko-dev/fitbit-clockface/workflows/CodeQL/badge.svg)](https://github.com/smirko-dev/fitbit-clockface/actions)
Expand Down
3 changes: 3 additions & 0 deletions app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@ function updateActivity() {
else if (settings.activity === 'calories') {
activityLabel.text = today.adjusted.calories;
}
else if (settings.activity === 'azm') {
activityLabel.text = today.adjusted.activeZoneMinutes.total || 0;
}
else {
activityLabel.text = today.adjusted.steps;
}
Expand Down
2 changes: 1 addition & 1 deletion package.sdk4.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "compactclock",
"version": "1.5.1",
"version": "1.6.0",
"license": "MIT",
"devDependencies": {
"@fitbit/sdk": "~4.3.0",
Expand Down
2 changes: 1 addition & 1 deletion package.sdk5.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "compactclock",
"version": "1.5.2",
"version": "1.6.1",
"license": "MIT",
"devDependencies": {
"@fitbit/sdk": "~5.0.0",
Expand Down
3 changes: 3 additions & 0 deletions resources/azm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion settings/i18n/de-DE.po
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@ msgstr "Aktivitäts-Info"
msgid "steps"
msgstr "Schritte"

msgid "cal"
msgid "calories"
msgstr "Kalorien"

msgid "dist"
msgstr "Distanz"

msgid "floors"
msgstr "Etagen"

msgid "azm"
msgstr "Active Zone Minutes"
5 changes: 4 additions & 1 deletion settings/i18n/en-US.po
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@ msgstr "Activity info"
msgid "steps"
msgstr "Steps"

msgid "cal"
msgid "calories"
msgstr "Calories"

msgid "dist"
msgstr "Distance"

msgid "floors"
msgstr "Floors"

msgid "azm"
msgstr "Active Zone Minutes"
5 changes: 4 additions & 1 deletion settings/i18n/ru-RU.po
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@ msgstr "Инфо о деятельности"
msgid "steps"
msgstr "Шаги"

msgid "cal"
msgid "calories"
msgstr "Калорий"

msgid "dist"
msgstr "Расстояние"

msgid "floors"
msgstr "Полы"

msgid "azm"
msgstr "Active Zone Minutes"
6 changes: 4 additions & 2 deletions settings/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ function settingsFunc(props) {
let steps = gettext("steps");
let dist = gettext("dist");
let floors = gettext("floors");
let cal = gettext("cal");
let calories = gettext("calories");
let azm = gettext("azm");
return (
<Page>
<Section>
Expand All @@ -17,7 +18,8 @@ function settingsFunc(props) {
{ name: `${steps}`, value: 'steps' },
{ name: `${dist}`, value: 'distance' },
{ name: `${floors}`, value: 'floors' },
{ name: `${cal}`, value: 'calories' }
{ name: `${calories}`, value: 'calories' },
{ name: `${azm}`, value: 'azm' },
]}
onSelection={(value) => console.log(value)}
/>
Expand Down