Commit graph

176 commits

Author SHA1 Message Date
Kelly Dwan 37b7e4451a
Pledge list: Fix the company title style 2024-08-30 17:31:14 -04:00
Kelly Dwan 6675bab458
Templates: Update spacing, footer color 2024-08-30 14:20:12 -04:00
Kelly Dwan 4e06badef3
Styles: Add helper class to hide page title on pages in main menu 2024-08-29 18:22:37 -04:00
Kelly Dwan 8df86334e3
Pledge list: Add sort filter 2024-08-29 17:49:23 -04:00
Kelly Dwan eac1ed9006
Pledge list: Adjust style and layout for smaller screens 2024-08-29 17:49:23 -04:00
Kelly Dwan 5b839d8dc8
Pledge contribution block: Add small truncated style for pledge list view 2024-08-29 17:49:23 -04:00
Kelly Dwan 0e5b8788eb
Block binding: Add value for displaying short contribution details 2024-08-29 16:57:45 -04:00
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 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 512d7ba421
Theme 2024: Initial commit of new theme 2024-08-27 13:45:46 -04:00
Kelly Dwan 28b102bc4c
Tools: Update node env, composer packages, add wp-env 2024-08-27 13:34:22 -04:00
Paul Kevan 7578f662ab
Badges: add core performance team badge. (#269)
Fixes #230.
2024-07-11 12:07:14 +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
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 add3f255fb Theme: Apply coding standards 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
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 94d979f8a4
Theme: Add gap between page-header-controls forms.
Fixes #175
2022-05-03 17:04:50 -07:00
Ian Dunn 71857b42eb
Theme: Merge page-header-controls styles for clarity. 2022-05-03 16:52:33 -07:00
Ian Dunn 37159e1821
Theme: Install postcss as peer dependency to fix watcher.
See https://github.com/postcss/autoprefixer/issues/1358#issuecomment-693175534
See https://github.com/postcss/autoprefixer/issues/1358#issuecomment-809430066
2022-05-03 16:23:41 -07:00
Ian Dunn d86c93c67e
Theme: Add temporary badge for Photos to fill empty icon.
There isn't a badge for the Photos team yet -- see https://meta.trac.wordpress.org/ticket/5981 -- so for now I just used the `camera` dashicon that Luke Carbis suggested in https://meta.trac.wordpress.org/ticket/5988.

We can update it whenever the final badge icon/colors are decided.

Fixes #171
2022-03-28 15:12:45 -07:00
Ian Dunn c8a6ee5ddf
Theme: Specify home pullquote font on mobile for readability.
Fixes #165
2022-03-28 14:07:21 -07:00
Ian Dunn 77faa74b05
Theme: Remove redundant JS files.
These are already being loaded from the parent theme, and have identical copies there.
2022-03-24 17:19:23 -07:00
Dion Hulse 908e0973f3
Theme: Sync SVN commits to canonical Git repo.
r18240-dotorg:
Switch from using `global $pagetitle` to `add_theme_support( 'title-tags' );`.
See ​https://github.com/WordPress/wporg-mu-plugins/issues/44

r18291-dotorg:
Themes: Use a mu-plugin to output consistent skip-to links for all themes.
This is to remove the reliance upon `$wporg_global_header_options`.
See ​https://github.com/WordPress/wporg-mu-plugins/issues/42, ​https://github.com/WordPress/wporg-mu-plugins/pull/70.

r18292-dotorg:
Themes: Don't rely upon the WordPress.org header to switch out the `no-js` for `js` body class.
See ​https://github.com/WordPress/wporg-mu-plugins/issues/42
2022-03-18 12:42:05 -07:00
Corey McKrill 174a0381d6
Theme: Add support for Openverse team, fix Themes Team badge
This syncs `r17406-dotorg` to the canonical Git repo.
2022-03-18 12:42:05 -07:00
Ian Dunn ac25f4c008
Theme: Enable testing new header on w.org sandboxes
See https://github.com/WordPress/wporg-mu-plugins/issues/19
2021-12-22 09:09:58 -08:00
Dion Hulse e49ee6bf94
Consistently link to proifiles.wordpress.org/%user/
See https://meta.trac.wordpress.org/ticket/5810
2021-12-15 17:19:25 +10:00
Ian Dunn 145047cafa
Pledges: Tweak spacing & typography
Related: 7174ae2
2021-05-11 13:41:56 -07:00
Ian Dunn 19eb0b2221
Theme: Bump cachebuster 2021-05-04 09:17:55 -07:00
Ian Dunn 4d80fcb733
Theme: Apply coding standards. 2021-05-04 08:52:33 -07:00
Ian Dunn 7174ae2fb6
Single Pledge: Add intro message to pledges for clarity. 2021-05-04 08:52:23 -07:00
dependabot[bot] 325a6d71e2
Bump dot-prop from 4.2.0 to 4.2.1 in /themes/wporg-5ftf (#155)
Bumps [dot-prop](https://github.com/sindresorhus/dot-prop) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/sindresorhus/dot-prop/releases)
- [Commits](https://github.com/sindresorhus/dot-prop/compare/v4.2.0...v4.2.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-10 13:12:34 -05:00
Kelly Dwan c3df4515e0
Tools: Update node packages 2020-12-10 12:39:27 -05:00
Kelly Dwan 7847fb546a
Theme: Sync change from wporg base theme 2020-06-11 11:36:55 -04:00
dependabot[bot] 762b83db93
Bump websocket-extensions from 0.1.3 to 0.1.4 in /themes/wporg-5ftf (#145)
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-11 11:36:14 -04:00
Steven Dufresne ba529d54f7
Overwrite Gutenberg link button hover/visited styles. 2020-04-24 09:51:52 -07:00
Kelly Dwan 83fa522c9f
Bump cachebuster 2019-12-16 17:50:07 -05:00
Kelly Dwan a70212bc22
Pledge List: Add sorting by total contributor count (#133)
Add a "Total Contributors" option to the sorting menu on the pledge list. This will sort the list from most confirmed contributors to least.

Fixes #94
2019-12-16 17:48:33 -05:00
Kelly Dwan b1cbcdb01b
Theme: Fix text overlap in parallelograms when font is small
This uses pixels to set a padding because the positioning is done in pixels, so the overlap is static pixels, not related to the font size.

Fixes #73
2019-12-16 17:06:00 -05:00
Kelly Dwan e9aeb72c9b
Bump cachebuster 2019-12-11 16:23:04 -05:00
Kelly Dwan a91c2733d2
Pledge Management: Add "request link" form to the manage pledge (#126)
When a pledge is selected but the auth token is missing/incorrect, show the email form. Like on the pledge page, submitting the correct email will trigger a new auth token + link to be emailed to the pledge manager. This makes for a clearer path for re-requesting a valid link.

Fixes #114
2019-12-11 16:12:23 -05:00
Kelly Dwan bdbf6d573e
Pledge Management: Allow pledge admins to remove the pledge (#123)
* Rename generic "frontend" file to dialog

* Add a "remove pledge" action

* Process pledge deactivation

* Trigger an email on user-initiated pledge deactivation

* Show an error when trying to manage a deactivated pledge

* Add a label for "deactivated" pledges
2019-12-10 14:07:48 -05:00
Kelly Dwan 619af97bd1
Forms: Use button class directly on buttons for consistent display
Adding the `button` mixin into `input[type="submit"] caused conflicts with the other button classes (`.button-primary`) due to specificity. The button classes should be used on all buttons instead. This also updates which button on the Manage Pledge form is the "primary" action, since it's easy to skip the Update button when it's not primary.
2019-12-09 11:15:39 -05:00
Ian Dunn 152964f5cf
Fix Theme Review Theme name.
It was updated incorrectly in 7d304c0796.

See #83
2019-12-05 15:13:18 -08:00
Ian Dunn 7d304c0796
Update team names to reflect clarified versions.
See #83
2019-12-05 15:01:40 -08:00
Kelly Dwan a71a1abd74
Theme: Bump cachebuster 2019-11-26 17:42:58 -05:00
Kelly Dwan 80b88399ae
Manage Pledge: Allow pledge admins to change email (#113)
* Add the admin email field to the manage form
* Fix admin email processing: When the email is changed, the pledge needs to be set back to pending, until the email is re-confirmed
* Send confirmation emails for existing pledges to the "Manage Pledge" page
* Process the email confirmation & resending emails actions on both shortcodes
* Add a message for unconfirmed pledges
2019-11-26 15:37:19 -05:00
Kelly Dwan 544fe39199 Manage Pledge: Enable pledge admins to edit contributors from manage form (#108)
* Add contributor management to manage form
* Check `pledge_id` to prevent returning all contributors
* Return a plain text error string – this is used in an alert box, so it can't contain HTML
* Hide confirmation when pledge is a draft
* Only enqueue script if the user is authorized
2019-11-26 13:08:42 -05:00
Jb Audras 0754ae0b28 Use a unique text-domain, wporg-5ftf (#110)
* Use a unique text-domain, wporg-5ftf

* Fix plugin i18n strings

* Remove unwanted text-domains from WPCS checks and fix missed old text-domains

* Remove type=array from phpcs

* Re-add type=array

* Small WPCS fix

* WPCS: replace  var with
2019-11-23 13:24:37 -05:00
Jb Audras aec40e6c7e Add missing empty alt attribute to 404’s logo image (#111) 2019-11-23 12:17:17 -05:00
Kelly Dwan a11e3c5fa5
Manage Pledge: Update email dialog to use JS submission (#104)
Use the proper dialog behavior for submitting an email to generate a manage link.

Fixes #98.
2019-11-21 15:31:29 -05:00
Kelly Dwan 72b5a159c9
Sync with pub/wporg r9248 2019-11-20 12:06:11 -05:00
Kelly Dwan e1909dfccf
Sync with SVN: Bump cachebuster 2019-11-13 17:23:41 -05:00
Ian Dunn 7bcc82286c Theme: Display the Edit Pledge shortcode on individual pledges.
Fixes #5
2019-11-12 08:35:06 -08:00
Kelly Dwan 469e3437b1
Pledge List: Fix margin overflow when only 1 contributor on a pledge
Fixes #95
2019-11-08 17:20:45 -05:00
Kelly Dwan beb2db453e
My Pledges: Add border only when multiple pledge lists exist 2019-11-08 17:14:14 -05:00
Ian Dunn 85de3422ea
Theme: Bump cachebuster
It was reverted in the production repo in [dotorg 15511].
2019-11-04 15:19:49 -06:00
Ian Dunn 11b9bf3604
Pledge List: Sort randomly by default for fairness.
See #70
2019-11-02 13:26:22 -05:00
Kelly Dwan 18cf186cc4
Update quote in quote block
Fixes #74
2019-11-01 11:30:59 -05:00
Kelly Dwan a5f96240f1
Pledge List: Fix alignment of contributors (again)
Fixes #66
2019-11-01 11:21:50 -05:00
Ian Dunn 27a8080424
Pledge List: Add vertical padding between rows of contributors. 2019-11-01 05:17:08 -05:00
Ian Dunn 97daa42308
Pledge List: Wrap description in paragraph to increase spacing. 2019-10-31 20:33:16 -05:00
Ian Dunn 98b365a012
Pledge List: Clarify that hours pledged is per week. 2019-10-31 17:59:04 -05:00
Ian Dunn 1b3e2e3301
Single Pledge: Add nofollow to user input links.
Otherwise it would incorrectly signal to search engines that we're endorsing the links.
2019-10-31 17:56:18 -05:00
Ian Dunn 22cb761c57
Single Pledge: Make contributor avatar link to profile to improve UX. 2019-10-31 16:27:27 -05:00
Ian Dunn 33d3bc1933
Pledge List: Show hours because it's a more meaningful statistic. 2019-10-31 16:27:27 -05:00
Ian Dunn 0c250daa7d
Theme: Link to profile slugs to avoid 404s. 2019-10-31 10:54:37 -05:00
Ian Dunn 38fe19036d
Theme: Show paragraphs on single pledge views. 2019-10-31 08:30:06 -05:00
Ian Dunn 2dcdcd939c
Pledge List: Show excerpt to keep page uncluttered. 2019-10-31 08:28:18 -05:00
Ian Dunn e61ce467cb
Pledge Form: Allow HTML within descriptions.
Fixes #63
2019-10-30 13:32:32 -07:00
Kelly Dwan 1fad6f0eaa
Pledge List: Fix alignment of contributors
Fixes #66
2019-10-30 14:48:59 -05:00
Kelly Dwan 55bf7e3839
Theme: bump cachebuster 2019-10-30 13:48:11 -05:00
Kelly Dwan 0b26fad482
My Pledges: Update styles and format to match design
- Add a single-pledge view so we can separate out the pending from published
- Update layout and styles of my pledges list
- Adds link and danger button styles
2019-10-30 13:24:48 -05:00
Kelly Dwan 2b7fb6cd21
Theme: Rename file
SCSS files should use `-` as word separators
2019-10-30 13:13:03 -05:00
Ian Dunn 1c6d39cd2a
Theme: Add basic styles for My Pledges page.
There's more work to do here, but this gets us close enough to start beta testing.

See #56
2019-10-29 12:54:22 -07:00
Ian Dunn 189c61bfe8
Flip placeholder pending status to publish now that testing done. 2019-10-29 10:15:22 -07:00
Kelly Dwan bc867a344e
Pledge List: Style search results 2019-10-28 20:37:09 -04:00
Kelly Dwan aa8b1838cd
Pledge Form: Use agreement text as label content
This calls more attention to the agreement text, and correctly associates it with the input for screen reader users.
2019-10-28 20:09:38 -04:00
Kelly Dwan f49a938c1e
Theme Search: Fix search box alignment 2019-10-28 20:04:03 -04:00
Kelly Dwan 1336228976
Pledge List: Get real pledge form link from page 2019-10-28 20:02:17 -04:00
Kelly Dwan c367a00071
Pledge List: Style pagination 2019-10-28 19:58:22 -04:00
Kelly Dwan 14ed8d4d6b
Pledge List Filters: Update style and add filter on-change functionality
- Style search box & filter dropdown
- Enable sort filter on select change
- Fix some PHP notices
2019-10-28 19:39:16 -04:00
Kelly Dwan 5b5a1d50ff
Pledge List: Fix grid layout for small screens 2019-10-28 18:21:59 -04:00
Kelly Dwan ac1027b550
Homepage: Fix contributor highlight section 2019-10-28 18:21:54 -04:00