Skip to content

Commit 6fc2141

Browse files
Merge pull request #18 from DanielGilbert/Release-v0.1.9
Release v0.1.9
2 parents 5866294 + 84f5e43 commit 6fc2141

18 files changed

+13997
-50
lines changed

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [unreleased]
99

10+
## [0.1.9] - 2023-11-10
11+
12+
### Added
13+
14+
- Start time for lunch break can now be set. The time will be initialized by the start time of the workday + half the duration of the work day.
15+
16+
### Fixed
17+
18+
- The time input got reworked, and now no longer uses the "time" type to input.
19+
1020
## [0.1.8] - 2023-04-03
1121

1222
### Fixed
@@ -98,7 +108,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
98108
- Ability to fill the attendance sheet for a month
99109
- Ability to fill the attendance sheet for a day
100110

101-
[unreleased]: https://github.com/DanielGilbert/kenBuddy/compare/v0.1.8...HEAD
111+
[unreleased]: https://github.com/DanielGilbert/kenBuddy/compare/v0.1.9...HEAD
112+
[0.1.8]: https://github.com/DanielGilbert/kenBuddy/compare/v0.1.8...v0.1.9
102113
[0.1.8]: https://github.com/DanielGilbert/kenBuddy/compare/v0.1.7...v0.1.8
103114
[0.1.7]: https://github.com/DanielGilbert/kenBuddy/compare/v0.1.6...v0.1.7
104115
[0.1.6]: https://github.com/DanielGilbert/kenBuddy/compare/v0.1.5...v0.1.6

extension/_locales/de/messages.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,11 @@
5252
"start" : {
5353
"message" : "Beginn"
5454
},
55+
"pauseStart" : {
56+
"message" : "Pausenbeginn"
57+
},
5558
"pause" : {
56-
"message" : "Pause"
59+
"message" : "Pausendauer"
5760
},
5861
"hours" : {
5962
"message" : "Stunden"

extension/_locales/en/messages.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,11 @@
5252
"start" : {
5353
"message" : "Start"
5454
},
55+
"pauseStart" : {
56+
"message" : "Start of Pause"
57+
},
5558
"pause" : {
56-
"message" : "Pause"
59+
"message" : "Pause duration"
5760
},
5861
"hours" : {
5962
"message" : "Hours"

extension/kenbuddy.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ var allowEntriesInTheFuture = false;
4444
await saveObjectInLocalStorage(SCHEDULE, localSchedule);
4545
}
4646

47+
localSchedule = await runScheduleWithPauseStartMigration(localSchedule);
48+
4749
localEntropyMinutes = await getObjectFromLocalStorage(ENTROPY_MINUTES);
4850
if (!localEntropyMinutes) {
4951
localEntropyMinutes = DEFAULT_ENTROPY_MINUTES;

extension/manifest_v2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"manifest_version": 2,
33
"name": "kenBuddy",
44
"description": "__MSG_extensionDescription__",
5-
"version": "0.1.8",
5+
"version": "0.1.9",
66
"icons": {
77
"16": "logo/logo-16.png",
88
"48": "logo/logo-48.png",

extension/manifest_v3.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"manifest_version": 3,
33
"name": "kenBuddy",
44
"description": "__MSG_extensionDescription__",
5-
"version": "0.1.8",
5+
"version": "0.1.9",
66
"icons": {
77
"16": "logo/logo-16.png",
88
"48": "logo/logo-48.png",
Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
1+
/*!
2+
* Durationpicker Component for Twitter Bootstrap
3+
*
4+
* bootstrap-durationpicker v1.0.0
5+
*
6+
* http://bilbous.github.com/bootstrap-durationpicker
7+
*
8+
* Copyright 2015 Yannick Cenatiempo
9+
*
10+
* For the full copyright and license information, please view the LICENSE
11+
* file that was distributed with this source code.
12+
*/
13+
.bootstrap-durationpicker {
14+
position: relative;
15+
}
16+
.bootstrap-durationpicker.pull-right .bootstrap-durationpicker-widget.dropdown-menu {
17+
left: auto;
18+
right: 0;
19+
}
20+
.bootstrap-durationpicker.pull-right .bootstrap-durationpicker-widget.dropdown-menu:before {
21+
left: auto;
22+
right: 12px;
23+
}
24+
.bootstrap-durationpicker.pull-right .bootstrap-durationpicker-widget.dropdown-menu:after {
25+
left: auto;
26+
right: 13px;
27+
}
28+
.bootstrap-durationpicker .input-group-text {
29+
cursor: pointer;
30+
}
31+
.bootstrap-durationpicker .input-group-text i {
32+
display: inline-block;
33+
width: 16px;
34+
}
35+
.bootstrap-durationpicker-widget.dropdown-menu {
36+
padding: 4px;
37+
}
38+
.bootstrap-durationpicker-widget.dropdown-menu.open {
39+
display: inline-block;
40+
}
41+
.bootstrap-durationpicker-widget.dropdown-menu:before {
42+
border-bottom: 7px solid rgba(0, 0, 0, 0.2);
43+
border-left: 7px solid transparent;
44+
border-right: 7px solid transparent;
45+
content: "";
46+
display: inline-block;
47+
position: absolute;
48+
}
49+
.bootstrap-durationpicker-widget.dropdown-menu:after {
50+
border-bottom: 6px solid #FFFFFF;
51+
border-left: 6px solid transparent;
52+
border-right: 6px solid transparent;
53+
content: "";
54+
display: inline-block;
55+
position: absolute;
56+
}
57+
.bootstrap-durationpicker-widget.durationpicker-orient-left:before {
58+
left: 6px;
59+
}
60+
.bootstrap-durationpicker-widget.durationpicker-orient-left:after {
61+
left: 7px;
62+
}
63+
.bootstrap-durationpicker-widget.durationpicker-orient-right:before {
64+
right: 6px;
65+
}
66+
.bootstrap-durationpicker-widget.durationpicker-orient-right:after {
67+
right: 7px;
68+
}
69+
.bootstrap-durationpicker-widget.durationpicker-orient-top:before {
70+
top: -7px;
71+
}
72+
.bootstrap-durationpicker-widget.durationpicker-orient-top:after {
73+
top: -6px;
74+
}
75+
.bootstrap-durationpicker-widget.durationpicker-orient-bottom:before {
76+
bottom: -7px;
77+
border-bottom: 0;
78+
border-top: 7px solid #999;
79+
}
80+
.bootstrap-durationpicker-widget.durationpicker-orient-bottom:after {
81+
bottom: -6px;
82+
border-bottom: 0;
83+
border-top: 6px solid #ffffff;
84+
}
85+
.bootstrap-durationpicker-widget a.btn,
86+
.bootstrap-durationpicker-widget input {
87+
border-radius: 4px;
88+
}
89+
.bootstrap-durationpicker-widget table {
90+
width: 100%;
91+
margin: 0;
92+
}
93+
.bootstrap-durationpicker-widget table td {
94+
text-align: center;
95+
height: 30px;
96+
margin: 0;
97+
padding: 2px;
98+
}
99+
.bootstrap-durationpicker-widget table td:not(.separator) {
100+
min-width: 30px;
101+
}
102+
.bootstrap-durationpicker-widget table td span {
103+
width: 100%;
104+
}
105+
.bootstrap-durationpicker-widget table td a {
106+
border: 1px transparent solid;
107+
width: 100%;
108+
display: inline-block;
109+
margin: 0;
110+
padding: 8px 0;
111+
outline: 0;
112+
color: #333;
113+
}
114+
.bootstrap-durationpicker-widget table td a:hover {
115+
text-decoration: none;
116+
background-color: #eee;
117+
-webkit-border-radius: 4px;
118+
-moz-border-radius: 4px;
119+
border-radius: 4px;
120+
border-color: #ddd;
121+
}
122+
.bootstrap-durationpicker-widget table td a i {
123+
margin-top: 2px;
124+
font-size: 18px;
125+
}
126+
.bootstrap-durationpicker-widget table td input {
127+
width: 30px;
128+
margin: 0;
129+
text-align: center;
130+
}
131+
.bootstrap-durationpicker-widget .modal-content {
132+
padding: 4px;
133+
}
134+
.bootstrap-durationpicker-widget.modal {
135+
position: absolute;
136+
}
137+
@media (min-width: 767px) {
138+
.bootstrap-durationpicker-widget.modal {
139+
width: 200px;
140+
margin-left: -100px;
141+
}
142+
}
143+
@media (max-width: 767px) {
144+
.bootstrap-durationpicker {
145+
width: 100%;
146+
}
147+
.bootstrap-durationpicker .dropdown-menu {
148+
width: 100%;
149+
}
150+
}

0 commit comments

Comments
 (0)