Commit graph

98 commits

Author SHA1 Message Date
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