Commit 6425dbf
feat(my-account): new layout for single subscription pages (#4425)
* feat(my-account): custom subscription details page for Newspack sites
* feat: show status badge
* feat: start "renew subscription" button for inactive subs
* style: unbold grand total if not showing subtotals
* feat: custom order again buttons
* fix: show order-again button in subscription header only for expired/cancelled status
* fix: restore p.order-again element
* fix: improper placement of conditional
* fix: remove duplicate button class name
* Update includes/plugins/woocommerce/my-account/templates/v1/subscription-header.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix: esc_html_e instead of _e
* fix: esc_html_e instead of _e
* Update includes/plugins/woocommerce/my-account/class-my-account-ui-v1.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix: global namespace WCS_Staging class
* fix: add missing template file
* fix: remove unneeded template file
* fix: remove no-longer-used variable
* Update includes/plugins/woocommerce/my-account/templates/v1/related-orders.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix: only show order-again button in expired subscription headers
* fix: remove .button class from order-again button
* feat(newspack-ui): update demo
* feat(newspack-ui): update notice
* feat(my-account): reorganise subscription header
* feat(newspack-ui): adjust margin for text + icon buttons
* fix: full-width header buttons instead of dropdown at mobile viewports
* fix: better targeting for header dropdown
* fix: show "renew subscription" for cancelled subs sans resubscribe action
* fix: set header badge class based on status
* feat: replace My Account notices w/ Newspack UI snackbars
* style: remove top margin from switch button in header
* feat(subscriptions): update table padding
* feat(newspack-ui): partially update snackbar
* feat: update table
* fix: snackbar autohide behavior
* fix: snackbar notices behavior
* feat(newspack-ui): small tweaks to snackbar
* fix(memberships): allow free trial members to comment (#4428)
This PR addresses an issue where we were incorrectly filtering memberships with an "active" status, omitting free trial memberships. The Memberships::$active_statuses array uses a hyphen rather than an underscore for `free_trial`, which the wc_memberships_get_user_memberships methods requires.
* chore(release): 6.29.4 [skip ci]
## [6.29.4](v6.29.3...v6.29.4) (2026-01-28)
### Bug Fixes
* **memberships:** allow free trial members to comment ([#4428](#4428)) ([32d455e](32d455e))
* fix(subscriptions): skip free trial tweak during switches (#4432)
* chore(release): 6.29.5 [skip ci]
## [6.29.5](v6.29.4...v6.29.5) (2026-01-29)
### Bug Fixes
* **subscriptions:** skip free trial tweak during switches ([#4432](#4432)) ([4277a3c](4277a3c))
* feat: Add My Account button block (#4409)
* chore: update translation files [skip ci]
* feat(content-gate): support new metering schema (#4419)
* chore: update translation files [skip ci]
* chore: deprecate circle ci (#4413)
* chore(github-actions): fix reusable workflow reference
* fix(collections): hide indicator for unpublished collections (#4434)
* fix: snackbar slide in-out position
* Update src/newspack-ui/js/notices.js
Co-authored-by: Miguel Peixe <miguel.peixe@automattic.com>
* refactor: newspackUI public API via modules
* feat: add newspack_ui_notice_is_urgent to make notices dismissmible
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Thomas Guillot <thomas@automattic.com>
Co-authored-by: Rasmy Nguyen <raz@automattic.com>
Co-authored-by: matticbot <semantic-release-bot@martynus.net>
Co-authored-by: Miguel Peixe <miguel.peixe@automattic.com>
Co-authored-by: Laurel <laurel.fulford@automattic.com>
Co-authored-by: matticbot <sysops+ghmatticbot@automattic.com>
Co-authored-by: Ramon Corrales <rbcorrales@users.noreply.github.com>1 parent 8de3526 commit 6425dbf
32 files changed
Lines changed: 1171 additions & 155 deletions
File tree
- includes
- plugins
- woocommerce-subscriptions
- group-subscription
- woocommerce/my-account
- templates
- v1
- notices
- src
- my-account/v1
- newspack-ui
- js
- scss/elements
- forms
- woocommerce
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
431 | | - | |
| 431 | + | |
432 | 432 | | |
433 | 433 | | |
434 | 434 | | |
| |||
448 | 448 | | |
449 | 449 | | |
450 | 450 | | |
451 | | - | |
| 451 | + | |
452 | 452 | | |
453 | 453 | | |
454 | 454 | | |
| |||
518 | 518 | | |
519 | 519 | | |
520 | 520 | | |
521 | | - | |
522 | | - | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
523 | 525 | | |
524 | 526 | | |
525 | 527 | | |
526 | 528 | | |
527 | 529 | | |
528 | 530 | | |
529 | | - | |
| 531 | + | |
530 | 532 | | |
531 | 533 | | |
532 | 534 | | |
| |||
761 | 763 | | |
762 | 764 | | |
763 | 765 | | |
764 | | - | |
| 766 | + | |
765 | 767 | | |
766 | 768 | | |
767 | 769 | | |
| |||
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
300 | 324 | | |
301 | 325 | | |
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| |||
Lines changed: 10 additions & 34 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
| 34 | + | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | 169 | | |
194 | 170 | | |
195 | 171 | | |
| |||
207 | 183 | | |
208 | 184 | | |
209 | 185 | | |
210 | | - | |
| 186 | + | |
211 | 187 | | |
212 | 188 | | |
213 | 189 | | |
| |||
286 | 262 | | |
287 | 263 | | |
288 | 264 | | |
289 | | - | |
| 265 | + | |
290 | 266 | | |
291 | 267 | | |
292 | 268 | | |
| |||
Lines changed: 50 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
| |||
168 | 170 | | |
169 | 171 | | |
170 | 172 | | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
171 | 191 | | |
172 | 192 | | |
173 | 193 | | |
| |||
915 | 935 | | |
916 | 936 | | |
917 | 937 | | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
| 946 | + | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
918 | 968 | | |
919 | 969 | | |
Lines changed: 7 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
49 | 47 | | |
50 | 48 | | |
51 | 49 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
0 commit comments