Skip to content

Commit

Permalink
Release 1.0 (#631)
Browse files Browse the repository at this point in the history
  • Loading branch information
hovancik committed Jul 19, 2020
1 parent 6d053e7 commit 507d57c
Show file tree
Hide file tree
Showing 9 changed files with 1,156 additions and 938 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,3 @@ script:
notifications:
email:
on_success: never

on_failure: change
32 changes: 31 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,35 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## [1.0.0] - 2020-07-18

### Added
- apk package format
- added Hungarian translation
- added ability to change the keyboard shortcuts for Skip/Postpone breaks via config.json
- show Paused icon when Breaks are paused in Natural breaks mode
- show Paused icon when Breaks are paused in Do Not Disturb mode
- Dark mode for interface
- new break ideas
- new Icon

### Changed
- changed app name from `stretchly` to `Stretchly`
- this might change location of preferences file, so you might need to set up your preferences again or copy the file
- don't hide dock icon on macOS
- updated some translations
- rework UI in all windows and Tray menu
- synchronized tray status messages (tooltip, menu)
- better format remaining time
- default icon to colorful

### Fixed
- adds workaround for electron's Linux/Windows fullscreen issues
- notify of new version only if new version is higher then current

### Removed
- removed tutorial, now linking to Features webpage

## [0.99.5] - 2020-07-04
### Added
- apk package format
Expand Down Expand Up @@ -420,7 +449,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- resume/pause functionality for reminder
- scripts for creating installers for OS X, Windows, Linux

[Unreleased]: https://github.com/hovancik/stretchly/compare/v0.99.5...HEAD
[Unreleased]: https://github.com/hovancik/stretchly/compare/v1.0.0...HEAD
[1.0.0]: https://github.com/hovancik/stretchly/compare/v0.99.5...v1.0.0
[0.99.5]: https://github.com/hovancik/stretchly/compare/v0.99.4...v0.99.5
[0.99.4]: https://github.com/hovancik/stretchly/compare/v0.99.3...v0.99.4
[0.99.3]: https://github.com/hovancik/stretchly/compare/v0.99.2...v0.99.3
Expand Down
14 changes: 7 additions & 7 deletions app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Stretchly",
"version": "0.99.5",
"version": "1.0.0",
"description": "The break time reminder app",
"main": "main.js",
"repository": {
Expand All @@ -21,7 +21,7 @@
"homepage": "https://hovancik.net/stretchly",
"dependencies": {
"@meetfranz/electron-notification-state": "^1.0.0",
"i18next": "^19.5.4",
"i18next": "^19.6.2",
"i18next-node-fs-backend": "^2.1.3",
"moment": "^2.27.0",
"semver": "^7.3.2"
Expand Down
5 changes: 3 additions & 2 deletions app/preferences.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ let eventsAttached = false
if (window.matchMedia('(prefers-color-scheme: dark)').matches) {
const imagesWithDarkVersion = document.querySelectorAll('[data-has-dark-version]')
imagesWithDarkVersion.forEach(image => {
const newSource = image.src.replace('.', '-dark.')
// replace last occurance https://github.com/electron-userland/electron-builder/issues/5152
const newSource = image.src.replace(/.([^.]*)$/, '-dark.' + '$1')
image.src = newSource
})
}
Expand All @@ -21,7 +22,7 @@ window.matchMedia('(prefers-color-scheme: dark)').addListener((e) => {
const imagesWithDarkVersion = document.querySelectorAll('[data-has-dark-version]')
if (e.matches) {
imagesWithDarkVersion.forEach(image => {
const newSource = image.src.replace('.', '-dark.')
const newSource = image.src.replace(/.([^.]*)$/, '-dark.' + '$1')
image.src = newSource
})
} else {
Expand Down
5 changes: 3 additions & 2 deletions app/welcome.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ let eventsAttached = false
if (window.matchMedia('(prefers-color-scheme: dark)').matches) {
const imagesWithDarkVersion = document.querySelectorAll('[data-has-dark-version]')
imagesWithDarkVersion.forEach(image => {
const newSource = image.src.replace('.', '-dark.')
// replace last occurance https://github.com/electron-userland/electron-builder/issues/5152
const newSource = image.src.replace(/.([^.]*)$/, '-dark.' + '$1')
image.src = newSource
})
}
Expand All @@ -17,7 +18,7 @@ window.matchMedia('(prefers-color-scheme: dark)').addListener((e) => {
const imagesWithDarkVersion = document.querySelectorAll('[data-has-dark-version]')
if (e.matches) {
imagesWithDarkVersion.forEach(image => {
const newSource = image.src.replace('.', '-dark.')
const newSource = image.src.replace(/.([^.]*)$/, '-dark.' + '$1')
image.src = newSource
})
} else {
Expand Down
Loading

0 comments on commit 507d57c

Please sign in to comment.