Skip to content

Commit 6f84b0c

Browse files
authored
Merge pull request #9 from flowkeeper-org/v1.0.1
V1.0.1
2 parents 0ded900 + dab7ce0 commit 6f84b0c

449 files changed

Lines changed: 148 additions & 80 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

content/v1.0.1.md

Lines changed: 3 additions & 0 deletions

convert-one-screenshot.sh

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
#!/usr/bin/env bash
2+
3+
sitedir=$(pwd)
4+
in_png=$1
5+
release=$2
6+
os=$3
7+
8+
if [ -z "$in_png" ]; then
9+
echo "Fatal: Specify an input PNG file, e.g. 10-customized-window.png"
10+
exit 1
11+
fi
12+
13+
if [ -z "$release" ]; then
14+
echo "Fatal: Specify a release, e.g. v0.9.0"
15+
exit 1
16+
fi
17+
18+
if [ -z "$os" ]; then
19+
echo "Fatal: Specify an OS, i.e. macOS, Windows, or Linux"
20+
exit 1
21+
fi
22+
23+
outbase="$sitedir/static/images/releases/$release/$os"
24+
echo "Will output screenshots to $outbase"
25+
26+
fulls="$outbase/fulls"
27+
mkdir -p $fulls
28+
29+
thumbs="$outbase/thumbs"
30+
mkdir -p $thumbs
31+
32+
cd ../fk-desktop/test-results
33+
34+
getcrop() {
35+
local original=$1
36+
if [ -x "$(command -v magick)" ]; then
37+
size=$(magick identify -ping -format "%[w]x%[h]" "$original")
38+
else
39+
size=$(identify -ping -format "%[w]x%[h]" "$original")
40+
fi
41+
if [ "$size" = "4480x2520" ]; then
42+
crop="3840x2160+320+180"
43+
elif [ "$size" = "3360x2100" ]; then
44+
crop="2560x1600+400+300"
45+
elif [ "$size" = "1920x1080" ]; then
46+
crop="1500x980+200+50"
47+
elif [ "$size" = "1920x1200" ]; then
48+
crop="1500x1100+200+50"
49+
elif [ "$size" = "2880x1800" ]; then
50+
crop="2458x1536+211+132"
51+
else
52+
crop="$size+0+0"
53+
fi
54+
echo " - Will crop from $size to $crop"
55+
}
56+
57+
process() {
58+
local original=$1
59+
local outfile=$2
60+
local resize=$3
61+
62+
getcrop "$original"
63+
64+
out_png="$outfile.png"
65+
out_jpg="$outfile.jpg"
66+
if [ -x "$(command -v magick)" ]; then
67+
magick "$original" -crop "$crop" -resize "$resize" "$out_png"
68+
echo " - Saved PNG using magick: $out_png"
69+
# magick "$out_png" -quality 90 "$out_jpg"
70+
# echo " - Saved JPG using magick: $out_jpg"
71+
else
72+
convert "$original" -crop "$crop" -resize "$resize" "$out_png"
73+
echo " - Saved PNG using convert: $out_png"
74+
# convert "$out_png" -quality 90 "$out_jpg"
75+
# echo " - Saved JPG using convert: $out_jpg"
76+
fi
77+
# rm "$out_png"
78+
# echo " - Deleted PNG"
79+
}
80+
81+
filename="${in_png%.*}"
82+
echo "Processing $filename:"
83+
echo " - Full-sized screenshot"
84+
process "$in_png" "$fulls/$filename" "100%"
85+
echo " - Thumbnail screenshot"
86+
process "$in_png" "$thumbs/$filename" "33%"

convert-screenshots-parallel.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bash
2+
3+
sitedir=$(pwd)
4+
release=$1
5+
os=$2
6+
7+
find "../fk-desktop/test-results" -name "*.png" -exec basename {} \; | xargs -t -I % -P 16 ./convert-one-screenshot.sh % $release $os

convert-screenshots.sh

Lines changed: 3 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -4,77 +4,7 @@ sitedir=$(pwd)
44
release=$1
55
os=$2
66

7-
if [ -z "$release" ]; then
8-
echo "Fatal: Specify a release, e.g. v0.9.0"
9-
exit 1
10-
fi
11-
12-
if [ -z "$os" ]; then
13-
echo "Fatal: Specify an OS, i.e. macOS, Windows, or Linux"
14-
exit 1
15-
fi
16-
17-
outbase="$sitedir/static/images/releases/$release/$os"
18-
echo "Will output screenshots to $outbase"
19-
20-
fulls="$outbase/fulls"
21-
mkdir -p $fulls
22-
23-
thumbs="$outbase/thumbs"
24-
mkdir -p $thumbs
25-
26-
cd ../fk-desktop/test-results
27-
28-
getcrop() {
29-
local original=$1
30-
if [ -x "$(command -v magick)" ]; then
31-
size=$(magick identify -ping -format "%[w]x%[h]" "$original")
32-
else
33-
size=$(identify -ping -format "%[w]x%[h]" "$original")
34-
fi
35-
if [ "$size" = "4480x2520" ]; then
36-
crop="3840x2160+320+180"
37-
elif [ "$size" = "3360x2100" ]; then
38-
crop="2560x1600+400+300"
39-
elif [ "$size" = "1920x1080" ]; then
40-
crop="1500x980+200+50"
41-
elif [ "$size" = "2880x1800" ]; then
42-
crop="2458x1536+211+132"
43-
else
44-
crop="$size+0+0"
45-
fi
46-
echo " - Will crop from $size to $crop"
47-
}
48-
49-
process() {
50-
local original=$1
51-
local outfile=$2
52-
local resize=$3
53-
54-
getcrop "$original"
55-
56-
out_png="$outfile.png"
57-
out_jpg="$outfile.jpg"
58-
if [ -x "$(command -v magick)" ]; then
59-
magick "$original" -crop "$crop" -resize "$resize" "$out_png"
60-
echo " - Saved PNG using magick: $out_png"
61-
# magick "$out_png" -quality 90 "$out_jpg"
62-
# echo " - Saved JPG using magick: $out_jpg"
63-
else
64-
convert "$original" -crop "$crop" -resize "$resize" "$out_png"
65-
echo " - Saved PNG using convert: $out_png"
66-
# convert "$out_png" -quality 90 "$out_jpg"
67-
# echo " - Saved JPG using convert: $out_jpg"
68-
fi
69-
# rm "$out_png"
70-
# echo " - Deleted PNG"
71-
}
72-
73-
for original in *.png; do
74-
filename="${original%.*}"
75-
echo "Processing $filename:"
76-
echo " - Full-sized screenshot"
77-
process "$original" "$fulls/$filename" "100%"
78-
echo " - Thumbnail screenshot"
79-
process "$original" "$thumbs/$filename" "33%"
7+
for full in ../fk-desktop/test-results/*.png; do
8+
filename=$(basename "$full")
9+
./convert-one-screenshot.sh "$filename" "$release" "$os"
8010
done

data/downloads.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ downloads:
2929
#type: link
3030
#href: http://example.com
3131
more_os:
32-
- name: windows-2019
33-
display: Windows 10 1809 or Windows Server 2019, x86
3432
- name: windows-2022
3533
display: Windows 10 21H2 or Windows Server 2022, x86
3634
- name: windows-2025

data/releases/v1.0.0.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ content : |
1515
Thank you all for using Flowkeeper, I hope it works well for you! As usual -- let me know if you'd like to improve
1616
anything :)</p>
1717
<p>Yours, Constantine.</p>
18-
<p>← <a href="/v0.9.1">What's new in v0.9.1</a></p>
18+
<p>← <a href="/v0.9.1">What's new in v0.9.1</a> | <a href="/v1.0.1">What's new in v1.0.1</a> →</p></p>
1919
buttons:
2020
primary:
2121
label: "GitHub Release"
@@ -282,8 +282,8 @@ features:
282282
<li>Changing audio devices while Flowkeeper is running.</li>
283283
</ul>
284284
<sup>GitHub Issues:
285-
<a href="https://github.com/flowkeeper-org/fk-desktop/issues/65">#108,</a>
286-
<a href="https://github.com/flowkeeper-org/fk-desktop/issues/102">#110,</a>
287-
<a href="https://github.com/flowkeeper-org/fk-desktop/issues/113">#120,</a>
288-
<a href="https://github.com/flowkeeper-org/fk-desktop/issues/130">#132</a>
285+
<a href="https://github.com/flowkeeper-org/fk-desktop/issues/108">#108,</a>
286+
<a href="https://github.com/flowkeeper-org/fk-desktop/issues/110">#110,</a>
287+
<a href="https://github.com/flowkeeper-org/fk-desktop/issues/120">#120,</a>
288+
<a href="https://github.com/flowkeeper-org/fk-desktop/issues/132">#132</a>
289289
</sup>

data/releases/v1.0.1.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
style: "style1 orient-right content-align-left image-position-left"
2+
title : "Flowkeeper v1.0.1"
3+
subtitle: |
4+
August 15, 2025
5+
content : |
6+
<p>In this release I addressed every single bug in Flowkeeper's GitHub repo. There are no
7+
new features, and the only visible change is for completed items (see screenshot below).</p>
8+
<p>Yours, Constantine.</p>
9+
<p>← <a href="/v1.0.0">What's new in v1.0.0</a></p>
10+
buttons:
11+
primary:
12+
label: "GitHub Release"
13+
link: "https://github.com/flowkeeper-org/fk-desktop/releases/tag/v1.0.1"
14+
secondary:
15+
label: "Downloads"
16+
link: "/#download"
17+
features:
18+
a:
19+
style: "style1"
20+
title : "Bugfixes"
21+
content: |
22+
<ul>
23+
<li>Miscellaneous font issues.</li>
24+
<li>Backlogs toggle icon doesn't change its color on theme change.</li>
25+
<li>Voiding a pomodoro that has already finished.</li>
26+
<li>Focus mode lost window title on Wayland.</li>
27+
<li>Timezone not handled in task tooltips.</li>
28+
<li>Tutorial bubbles don't follow underlying windows.</li>
29+
<li>Pin/unpin icon is visible on Wayland.</li>
30+
<li>Unhandled TypeError while clicking "Surprise me" button repeatedly.</li>
31+
<li>"Long break" keeps on triggering while it is deactivated in the configuration.</li>
32+
</ul>
33+
<sup>GitHub Issues:
34+
<a href="https://github.com/flowkeeper-org/fk-desktop/issues/136">#136,</a>
35+
<a href="https://github.com/flowkeeper-org/fk-desktop/issues/138">#138,</a>
36+
<a href="https://github.com/flowkeeper-org/fk-desktop/issues/149">#149,</a>
37+
<a href="https://github.com/flowkeeper-org/fk-desktop/issues/152">#152,</a>
38+
<a href="https://github.com/flowkeeper-org/fk-desktop/issues/156">#156,</a>
39+
<a href="https://github.com/flowkeeper-org/fk-desktop/issues/162">#162,</a>
40+
<a href="https://github.com/flowkeeper-org/fk-desktop/issues/185">#185,</a>
41+
<a href="https://github.com/flowkeeper-org/fk-desktop/issues/188">#188,</a>
42+
<a href="https://github.com/flowkeeper-org/fk-desktop/issues/192">#192,</a>
43+
</sup>
44+
image: "../images/releases/v1.0.1/completed-items.png"
105 KB
68.7 KB
42.2 KB

0 commit comments

Comments
 (0)