Skip to content

Commit f6f7a25

Browse files
authored
Merge pull request #530 from ProgressPlanner/develop
v1.7.0
2 parents c1f33bc + 4ecd516 commit f6f7a25

File tree

92 files changed

+7686
-5191
lines changed

Some content is hidden

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

92 files changed

+7686
-5191
lines changed

.github/workflows/cs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Install PHP
4040
uses: shivammathur/setup-php@v2
4141
with:
42-
php-version: '7.4'
42+
php-version: '8.3'
4343
coverage: none
4444
tools: cs2pr
4545

.github/workflows/lint.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ jobs:
2424

2525
strategy:
2626
matrix:
27-
# Lint against the highest/lowest supported versions of each PHP major.
28-
# And also do a run against "nightly" (the current dev version of PHP).
29-
php_version: ['7.4', '8.0', '8.1', '8.2']
27+
php_version: ['7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
3028

3129
name: "Lint: PHP ${{ matrix.php_version }}"
3230

@@ -37,7 +35,7 @@ jobs:
3735
- name: Install PHP for the composer install
3836
uses: shivammathur/setup-php@v2
3937
with:
40-
php-version: 7.4
38+
php-version: ${{ matrix.php_version }}
4139
coverage: none
4240

4341
# The lint stage doesn't use code style, so no need for WPCS or phpcompatibility.

.github/workflows/phpunit.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,31 @@ jobs:
2020
strategy:
2121
matrix:
2222
include:
23-
- php_version: '8.1'
23+
- php_version: '8.2'
2424
wp_version: '6.2'
2525
multisite: false
2626

27-
- php_version: '8.1'
27+
- php_version: '8.2'
2828
wp_version: 'latest'
2929
multisite: false
3030

31-
- php_version: '8.1'
31+
- php_version: '8.2'
3232
wp_version: 'latest'
3333
multisite: true
3434

35-
- php_version: '8.2'
35+
- php_version: '8.3'
36+
wp_version: 'latest'
37+
multisite: false
38+
39+
- php_version: '8.3'
40+
wp_version: 'latest'
41+
multisite: true
42+
43+
- php_version: '8.4'
44+
wp_version: 'latest'
45+
multisite: false
46+
47+
- php_version: '8.4'
3648
wp_version: 'latest'
3749
multisite: true
3850

.php-cs-fixer.dist.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@
1010
]
1111
);
1212

13-
return ( new PhpCsFixer\Config() )->setRules(
13+
$config = new PhpCsFixer\Config();
14+
$config->setUnsupportedPhpVersionAllowed( true );
15+
16+
return $config->setRules(
1417
[
1518
'native_function_invocation' => [
1619
'include' => [ '@all' ],

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,32 @@
1+
= 1.7.0 =
2+
3+
Added these recommendations from Ravi:
4+
* Select site timezone.
5+
* Select site locale.
6+
* Disable comment pagination.
7+
* Check unpublished content.
8+
9+
Following recommendations are now interactive:
10+
* Set tagline.
11+
* Disable comments.
12+
* Delete the "Hello World!" post.
13+
* Delete "Sample Page".
14+
* Select site timezone.
15+
* Select site locale.
16+
17+
Bugs we fixed:
18+
19+
* Fix issue where "Perform all updates" task was incorrectly marked as completed.
20+
* Prevent new lines to be added when user task title is edited.
21+
22+
Enhancements:
23+
24+
* Styling improvements
25+
* Refactored charts
26+
* Change the link of the "Rename uncategorized" task to the taxonomy-term edit screen instead of the taxonomy terms list
27+
* Check tasks when snooze period is over
28+
* Added a plugin-installer component for recommendations
29+
130
= 1.6.3 =
231

332
Bugs we fixed:

assets/css/admin.css

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,13 @@
5757
background: #fff;
5858
border: 1px solid var(--prpl-color-gray-2);
5959
border-radius: var(--prpl-border-radius);
60-
padding: calc(var(--prpl-padding) * 2);
60+
padding: var(--prpl-settings-page-gap) calc(var(--prpl-padding) * 2);
6161
max-width: var(--prpl-container-max-width);
6262
color: var(--prpl-color-text);
6363
font-size: var(--prpl-font-size-base);
6464
line-height: 1.4;
6565
position: relative;
66+
margin-top: var(--prpl-padding);
6667
}
6768

6869
/*------------------------------------*\
@@ -164,15 +165,15 @@ button.prpl-info-icon {
164165
Header & logo.
165166
\*------------------------------------*/
166167
.prpl-header {
167-
margin-bottom: 2em;
168+
margin-bottom: 2rem;
168169
display: flex;
169170
flex-wrap: wrap;
170171
justify-content: space-between;
171172
align-items: center;
172173
}
173174

174175
.prpl-header-logo svg {
175-
height: 100px;
176+
height: 88px;
176177
}
177178

178179
.prpl-header-right {
@@ -323,8 +324,13 @@ button.prpl-info-icon {
323324
transition: all 0.25s ease-in-out;
324325
}
325326

326-
&:hover,
327-
&:focus {
327+
&:disabled {
328+
opacity: 0.5;
329+
pointer-events: none;
330+
}
331+
332+
&:not([disabled]):hover,
333+
&:not([disabled]):focus {
328334
background: #cf2441;
329335

330336
&::after {
@@ -341,8 +347,8 @@ button.prpl-info-icon {
341347
.prpl-wrap button.prpl-button-secondary {
342348
background: var(--prpl-color-gray-3);
343349

344-
&:hover,
345-
&:focus {
350+
&:not([disabled]):hover,
351+
&:not([disabled]):focus {
346352
background: var(--prpl-color-gray-4);
347353
box-shadow: 3px 3px 10px var(--prpl-color-gray-4);
348354
}
@@ -508,3 +514,4 @@ button.prpl-info-icon {
508514
transform: rotate(360deg);
509515
}
510516
}
517+

assets/css/page-widgets/challenge.css

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -37,19 +37,4 @@
3737
}
3838
}
3939
}
40-
41-
h2.prpl-widget-title {
42-
background: var(--prpl-background-purple);
43-
padding: 0.75rem 1rem;
44-
border-radius: 0.5rem;
45-
color: var(--prpl-color-headings);
46-
display: flex;
47-
gap: 0.5rem;
48-
align-items: center;
49-
50-
img {
51-
max-width: 1em;
52-
max-height: 1em;
53-
}
54-
}
5540
}

assets/css/page-widgets/content-activity.css

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
table {
44
width: 100%;
55
margin-bottom: 1em;
6+
border-spacing: 6px 0;
67
}
78

89
th,
@@ -19,15 +20,24 @@
1920
text-align: start;
2021
}
2122

22-
tbody th {
23-
font-weight: 400;
23+
tbody {
24+
25+
th {
26+
font-weight: 400;
27+
}
28+
29+
tr {
30+
31+
&:nth-child(odd) {
32+
background-color: #f9fafb;
33+
}
34+
}
2435
}
2536

2637
thead {
2738

2839
th,
2940
td {
30-
border-bottom: 1px solid var(--prpl-color-gray-3);
3141
text-align: start;
3242
}
3343
}
@@ -36,15 +46,11 @@
3646

3747
th,
3848
td {
39-
border-top: 1px solid var(--prpl-color-gray-3);
4049
text-align: start;
50+
border-top: 1px solid var(--prpl-color-gray-2);
4151
}
4252
}
4353

44-
tr:nth-child(even) {
45-
background-color: #f9fafb;
46-
}
47-
4854
tr:last-child td {
4955
border-bottom: none;
5056
}

assets/css/page-widgets/suggested-tasks.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -456,8 +456,8 @@
456456
transition: all 0.25s ease-in-out;
457457
}
458458

459-
&:hover,
460-
&:focus {
459+
&:not([disabled]):hover,
460+
&:not([disabled]):focus {
461461
background: var(--prpl-color-400-orange); /* WIP: pick exact color */
462462

463463
&::after {

assets/css/page-widgets/todo.css

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,6 @@
1111
padding-left: var(--prpl-padding);
1212
}
1313

14-
.prpl-widget-title {
15-
display: flex;
16-
align-items: center;
17-
gap: 0.5rem;
18-
font-size: 1.3rem;
19-
background: var(--prpl-background-red);
20-
padding: 0.5rem 1rem;
21-
border-radius: 0.5rem;
22-
23-
.icon {
24-
width: 1.25em;
25-
height: 1.25em;
26-
}
27-
}
28-
2914
.prpl-todo-golden-task-description,
3015
.prpl-todo-silver-task-description {
3116
display: none;

0 commit comments

Comments
 (0)