Commit graph

292 commits

Author SHA1 Message Date
Kelly Dwan f2e80b8d07
Blocks: Add missing component import 2024-08-29 16:38:40 -04:00
Kelly Dwan c7026ace3c
Pledge: Use pledge description for excerpt 2024-08-29 16:09:12 -04:00
Kelly Dwan 906a87588c
Templates: Add archive template for pledge list
This also uses the pledge list display for search results, which may need to be updated once case studies are full posts. Until then, the search results only returns pledges.
2024-08-29 16:09:12 -04:00
Kelly Dwan 16bbfbd817
Style: Remove border from search 2024-08-29 14:47:10 -04:00
Kelly Dwan dedb1cf0a3
Templates: Fix spacing and alignment on pages 2024-08-29 14:47:00 -04:00
Kelly Dwan b22bde9415
New blocks: Add blocks for the pledge contributors & pledge teams lists 2024-08-28 19:46:41 -04:00
Kelly Dwan cbabdbb33e
Theme: Add blocks and block binding for pledge details
See #276
2024-08-28 17:34:34 -04:00
Kelly Dwan 7b2525aedb
Styles: Move destructive button styles to parent theme 2024-08-28 17:21:52 -04:00
Kelly Dwan fd61b4915d
Styles: Add notice styles 2024-08-28 17:21:29 -04:00
Kelly Dwan 4ef41983af
Theme: Prevent button block styles from bleeding into pledge form
This fixes an issue where adding the button block classes to the pledge form was creating double-button styles. This also fixes a mistakenly removed class on the remove contributor button.

Follow up to 5d76b97557
2024-08-28 10:44:39 -04:00
Kelly Dwan 0b1e6114b2
Tools: Add Jetpack plugin 2024-08-27 21:36:01 -04:00
Kelly Dwan 5d76b97557
Pledge form: Style the form 2024-08-27 21:30:10 -04:00
Kelly Dwan 942de224c3
Theme templates: Fix layout of pages 2024-08-27 21:30:10 -04:00
Kelly Dwan 1466e3439e
Theme templates: Remove language banner 2024-08-27 21:26:26 -04:00
Kelly Dwan 215af418b4
Tools: Fix the start command for new theme 2024-08-27 21:24:12 -04:00
Kelly Dwan dce9266b8c
Tools: Fix theme name in build step 2024-08-27 15:52:49 -04:00
Kelly Dwan a31889b88c
Tools: Fix branch name in build workflow 2024-08-27 14:13:29 -04:00
Kelly Dwan 5914f2059e
Tools: Fetch wporg css during build workflow 2024-08-27 14:10:01 -04:00
Kelly Dwan 11b10bac00
Tools: Pass through package manager to use for build workflow 2024-08-27 14:04:52 -04:00
Kelly Dwan 33075ceec0
Tools: Add build workflow to create build automatically 2024-08-27 13:53:19 -04:00
Kelly Dwan 512d7ba421
Theme 2024: Initial commit of new theme 2024-08-27 13:45:46 -04:00
Kelly Dwan 50c21b4e85
Tools: Add phpunit test support inside wp-env container 2024-08-27 13:43:27 -04:00
Kelly Dwan bb25e0c78b
Tools: Add formatting command, run to fix minor phpcs issues 2024-08-27 13:43:27 -04:00
Kelly Dwan 28b102bc4c
Tools: Update node env, composer packages, add wp-env 2024-08-27 13:34:22 -04:00
Paul Kevan aecac300ce
Update reports.php (#272)
Make use of new usermeta `last_activity_tracker` to more accurately see when a user had an interaction.

This should allow more accurate reporting, since last login can sometime be very old.
2024-08-08 16:37:53 +01:00
Paul Kevan 7578f662ab
Badges: add core performance team badge. (#269)
Fixes #230.
2024-07-11 12:07:14 +01:00
Paul Kevan 73455fe3c8
Update reports.php (#268)
- enqueue css on new report
- protect against PHP warnings
2024-07-05 10:29:21 +01:00
Paul Kevan b584bf354e
Add contributors report, and allow data to be downloaded. (#267)
* Add contributors report, and allow data to be downloaded.
2024-07-03 14:03:23 +01:00
Paul Kevan c880f28a63
Update contributor.php (#266)
* Update contributor.php

Store wporg user id as post meta to enable easier reporting for contributors.
2024-07-03 10:58:19 +01:00
Paul Kevan 554347ac52
Sync with base theme. (#264) 2024-06-27 15:01:03 +01:00
Paul Kevan 0fa0278ac7
Fix build scripts for CSS, due to depreciation of node-sass (#263) 2024-06-27 10:26:44 +01:00
Paul Kevan 71fa5ab5d3
Sync changes from production (#262)
* Sync changes from production
2024-06-26 14:35:52 +01:00
Paul Kevan 26e6def921
Add custom CSS for sustainability team badge. (#261)
Fixes #258.
2024-06-26 13:34:00 +01:00
Paul Kevan 176cea1a3d
Add badge functionality (#257)
* Add badge functionality

Add sustainability badge, needs some nicer CSS, but will do temporarily.

Fixes #246.

* Update functions.php

remove whitespace
2024-06-12 16:19:16 +01:00
Paul Kevan 6b57bb1e7e
Switch pledge URL (#256)
Change for more usable field
2024-05-30 14:39:33 +01:00
Paul Kevan c244c7e596
Update reports.php (#255)
Bump limit as it's too low.
2024-05-23 15:23:52 +01:00
Paul Kevan 1cabbc9729
Add company reports functionality (#252)
* Reorder includes to be alphabetic
* Add reports and styling
2024-05-23 10:32:10 +01:00
Paul Kevan c04421f980
Fix pledge activation URL (#245)
* Fix pledge activation URL

The post id being sent by email contained the pledge ID instead of the ID for form page, this fixes that are restores the ability to confirm email address.

* Fix unrelated PHPCS
2024-02-05 13:57:51 +00:00
Dhrumil Kumbhani d96a9ff931
Fix the issue 241 (#242)
* Fix the issue 241

https://github.com/WordPress/five-for-the-future/issues/241

* Remove whitespace.
2023-12-01 10:21:51 +00:00
Ian Dunn 150ff26287
Ignore SVN readme 2023-11-06 10:40:56 -08:00
Ian Dunn ed490dfc26 Apply coding standards 2023-11-06 10:13:10 -08:00
Ian Dunn b86470575f Contributors: Add CSV report of inactive contributors 2023-11-06 10:13:10 -08:00
Ian Dunn add3f255fb Theme: Apply coding standards 2023-11-03 17:26:09 -07:00
Ian Dunn 019b814675 Tools: Upgrade WPCS to 3.x to fix PHP 8 errors 2023-11-03 17:26:09 -07:00
Ian Dunn ed37e852cc Theme: Enable the new global header/footer 2023-11-03 17:26:09 -07:00
Paul Kevan b0496e7a84
Update packages (#233) 2023-10-19 15:50:31 +01:00
Benjamin Zekavica 2ee6d9d767
Tweak CSS to preserve shape of circle (#231)
Previously, longer team names would cause it to be squished into more of an oval.
2023-10-18 16:45:42 -07:00
Paul Kevan 28c807b33c
Update _alignfull.scss (#232)
Reduce scope of alignfull class, due to use in global footer.

See: https://a8c.slack.com/archives/C0393K4ADM3/p1697642953336279?thread_ts=1697614571.486719&cid=C0393K4ADM3
2023-10-18 16:49:19 +01:00
Ian Dunn 2880d80e12
Contributors: Don't send inactivity emails to banned users.
Fixes #221
2023-02-28 16:36:49 -08:00
Ian Dunn 04413b9f6c
Tests: Make test token 32 characters to match valid length 2022-09-13 11:53:26 -07:00