amnestywebsite / humanity-theme Goto Github PK
View Code? Open in Web Editor NEWThe Amnesty International WordPress Humanity Theme
Home Page: https://wordpresstheme.amnesty.org/
License: Other
The Amnesty International WordPress Humanity Theme
Home Page: https://wordpresstheme.amnesty.org/
License: Other
Describe the bug
When I create a translation of a post or page, images in the 'image' block render in the translated post just fine. However, images that are a section block background, in the slider block, or in the header or banner block have to be re-added.
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
When creating translations, all images should render in the translated post when the code is copied over.
Actual behaviour
Some images are copying over and some aren't.
Link to a page where the bug is reproduced in isolation
English post: https://isaidotorgstg.wpengine.com/en/latest/news/2022/06/test-post-images-in-translated-posts/
same post on the French site: https://isaidotorgstg.wpengine.com/fr/latest/news/2022/06/test-post-images-in-translated-posts/
Which site is this happening on
amnesty.org
Desktop (please complete the following information):
https://www.whatsmybrowser.org/b/X3ICW
Additional context
This is how translations are being done at the moment - the translator copies the html into a word doc, translates the text parts and pastes the code back into the post.
This overlaps with our initiative to update WordPress but this specify covers the non WordPress core parts of this work which is small.
https://github.com/amnestywebsite/amnesty-wp-theme/labels/Pillar%20-%20Bugs%20before%20features
https://github.com/amnestywebsite/amnesty-wp-theme/labels/Pillar%20-%20Content%20in%20CMS%20earlier
Be proud to say our theme is full supporting core WordPress features and where not have a good reason for not supporting a core feature.
Past discussions can be seen here
Describe the bug
é/É and e/E should be considered as separate letters on the Term A - Z block
To Reproduce
Steps to reproduce the behavior:
Steps to reproduce the behavior:
Expected behaviour
A tab for É and a tab for E
Actual behaviour
A tab for E that also contains É
Link to a page where the bug is reproduced in isolation (optional)
https://www.amnesty.org/fr/countries/
Additional context
Add any other context about the problem here.
https://wordpresstheme.amnesty.org/blocks/b028-term-a-z/
https://wordpresstheme.amnesty.org/blocks/b026-regions-list-block/
https://github.com/amnestywebsite/amnesty-wp-theme/issues/1645#issuecomment-1148565520
Feedback from Arabic translators the countries aren't in the correct order within each letter (i.e. alphabetical order by the second letter). Attaching a list showing the correct order provided by one of our Arabic translators.
220607 Country List A-Z Arabic.docx
I let them know that maybe we will go ahead as is and come to the second part later as it might take too much extra work.
Describe the bug
On the sidebar blocks added should have consistent widths
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
expect the blocks fill the space in the side bar so they align on both the left and right
Actual behaviour
The blocks align on the left but not the right
Link to a page where the bug is reproduced in isolation (optional)
https://isaidotorgstg.wpengine.com/en/latest/news/2023/09/saudi-arabia-migrants-workers-who-toiled-in-amazon-warehouses-are-victims-of-trafficking-v3/
Platform:
Paste link from here https://www.whatsmybrowser.org/
Additional context
Add any other context about the problem here.
from https://github.com/amnestywebsite/internal/issues/100#issuecomment-1744656778
Describe the bug
On the donate form there is a drop down list of countries. The countries are in alphabetical order in English but not in Spanish, French and Arabic. It looks like the ES / FR / AR lists follow the English alphabetical order.
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
The drop down list of countries should be in alphabetical order in each language.
Actual behaviour
The order of the countries in the list follows the English alphabetical order and doesn't adapt in the other languages.
Link to a page where the bug is reproduced in isolation
https://www.amnesty.org/fr/donate/
Which site is this happening on
amnesty.org
Link to a page in the documentation site where the feature is described
https://wordpresstheme.amnesty.org/blocks/b017-donation-block/
Desktop (please complete the following information):
https://www.whatsmybrowser.org/b/X3ICW
Describe the bug
On the header block adding bold in the title remove a space
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
There should be a space between each word
Actual behaviour
A space is missing between the words
Platform:
Paste link from here https://www.whatsmybrowser.org/
Additional context
https://github.com/amnestywebsite/amnesty-wp-theme/issues/1751
Describe the bug
On the Iframe button block the text is not viewable in the editor when button white and text is default "act now"
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
The text should have neough contract to be read
Actual behaviour
The text and background are both white
Link to a page where the bug is reproduced in isolation (optional)
URL so we can quickly see the issue
Switch to core WP navigation support and the in page menu https://wordpress.org/documentation/article/navigation-block/ https://wordpresstheme.amnesty.org/blocks/c010-menu/ hide existing (1)
Migrate to Core WP quote (3)
Number of sprints: 1
Link to sprint if known: TBC
Core WP Update - Gallery Block (3)
Migrate collapsible block to details block https://wordpress.org/documentation/article/details-block/ (3)
Support for group blocks (0)
Number of sprints: 1
Link to sprint if known: TBC
Number of sprints: 1
Link to sprint if known: TBC
Describe the bug
Logos that are not a pre defined limited size when uploaded are often stretched and distorted
To Reproduce
Steps to reproduce the behavior:
Expected behavior
expect the logo to have a fixed height but the width to expand and contract with the aspect ratio of the image
Actual behavior
The height and width are both fixed so the image is stretch to match
Link to a page where the bug is reproduced in isolation (optional)
URL so we can quickly see the issue
Screenshots
Add screenshots or preferably a video / gif to help explain your problem.
Platform:
Paste link from here https://www.whatsmybrowser.org/
Additional context
we now have 4 sites with a custom logo
Describe the bug
On the related content feature when disabling in the CMS the option does not stay set to disabled
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
Expected to see the option still set to enabled
Actual behaviour
Block is set to disabled
Link to a page where the bug is reproduced in isolation (optional)
https://www.amnesty.org/en/latest/news/2023/03/france-allowing-mass-surveillance-at-olympics-undermines-eu-efforts-to-regulate-ai/
Screenshots
Platform:
Paste link from here https://www.whatsmybrowser.org/
Additional context
Add any other context about the problem here.
Describe the bug
On a translated page, the images are showing with the yellow candle, even though they have the copyright credit.
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
Images shouldn't be blocked by the hide media plugin if they have the copyright credit in the description field in the media library.
Actual behaviour
Some images with copyright are getting blocked, e.g. on the Spanish language site.
Link to a page where the bug is reproduced in isolation
https://isaidotorgstg.wpengine.com/en/latest/news/2023/11/image-test/
https://isaidotorgstg.wpengine.com/es/latest/news/2023/11/image-test/
Which site is this happening on
amnesty.org
Desktop (please complete the following information):
https://www.whatsmybrowser.org/b/UVLBR
Additional context
This was raised by French translator, re this post: https://www.amnesty.org/fr/latest/news/2023/10/meta-failure-contributed-to-abuses-against-tigray-ethiopia/
I managed to fix the issue by re-adding the images to the post.
Describe the bug
When using a wide format component-template page, if I choose a non-default text size, it won't align to the edge of the container it's in.
(sorry this is a tricky one to describe...!)
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
Paragraph text in small, medium, large and extra large should behave the same as default.
Actual behaviour
Paragraph text in small, medium, large and extra large doesn't align back to the edge of the container, the way default does.
Link to a page where the bug is reproduced in isolation
https://isaidotorgstg.wpengine.com/en/latest/news/2022/05/text-alignment-in-different-sizes-paragraph/
I came across this when adding the disclaimer text above the map in this page: https://isaidotorgstg.wpengine.com/en/what-we-do/death-penalty/ (ended up using default size text for this on .org)
Which site is this happening on
amnesty.org
Link to a page in the documentation site where the feature is described
https://wordpresstheme.amnesty.org/administration/visual-regression-tests/paragraph-block/
Desktop (please complete the following information):
https://www.whatsmybrowser.org/b/X3ICW
In 2018 we adopted Guttenberg before it was in core and it not only felt good to know we were providing a cutting edge theme, but we could see the value it added to CMS users. We were and are able to boast of having a "Guttenberg theme", when this work is done we will be able to boast having a FSE or Block theme.
Rather than hiding new core WordPress Features we want to support and embrace where ever appropriate.
This will help us to get content into the CMS earlier, maintain security, continue providing customizations and onboarding and foster collaboration.
Be proud to say our theme is full supporting core WordPress features and where not have a good reason for not supporting a core feature.
https://github.com/amnestywebsite/amnesty-wp-theme/issues/2676
#119
https://github.com/amnestywebsite/amnesty-wp-theme/issues/2740
https://github.com/amnestywebsite/amnesty-wp-theme/issues/2741
https://github.com/amnestywebsite/amnesty-wp-theme/issues/2742
https://github.com/amnestywebsite/amnesty-wp-theme/issues/2748
https://github.com/amnestywebsite/amnesty-wp-theme/issues/2743
#122
Switch to core WP navigation support and the in page menu https://wordpress.org/documentation/article/navigation-block/ https://wordpresstheme.amnesty.org/blocks/c010-menu/ hide existing (1)
Migrate to Core WP quote (3)
Switch background media https://wordpresstheme.amnesty.org/blocks/b054-background-media/ to cover block https://wordpress.org/documentation/article/cover-block/ (big to migrate as used a lot)
Basic Audio block (before or after quote with alignment controls) - https://wordpress.org/documentation/article/audio-block/ (1)
Core WP Update - Gallery Block (3)
Migrate collapsible block to details block https://wordpress.org/documentation/article/details-block/ (3)
Support for group blocks (0)
Build footnotes block (1)
Dimension controls not support and why
Video not support and why https://wordpress.org/documentation/article/video-block/
sitemap block not support and why
review custom blocks like recipients and decommission blocks with low usage (content query)
Past discussions can be seen here
https://github.com/amnestywebsite/amnesty-wp-theme/issues/2448#issuecomment-1735884027
https://github.com/amnestywebsite/amnesty-wp-theme/discussions/2525
Describe the bug
On the RSS URL we are unable to filter by topic
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
Only content in the technology-and-human-rights should be present
Actual behaviour
Content that is not in the technology-and-human-rights is present
Link to a page where the bug is reproduced in isolation (optional)
URL so we can quickly see the issue
Screenshots
I would expect to see all post in the feed containing this item
however I see some posts that don't contain that topic
Looking at the documentation here from the .org migration
Additional context
I should be able to pass this URL
https://www.amnesty.org/en/feed/?topic_name=technology-and-human-rights
slug = technology-and-human-rights
ID = 2127
https://www.amnesty.org/en/search/?qtopic=2127
We always wanted to open source the theme, however we never got around to this. We now need to decommission the Berenson theme and we need to replace this, and we have learnt that maintain two themes is not feasible.
https://github.com/amnestywebsite/amnesty-wp-theme/labels/Pillar%20-%20Helps%20Open%20Source
https://github.com/amnestywebsite/amnesty-wp-theme/issues/2659
https://github.com/amnestywebsite/amnesty-wp-theme/issues/2660
Past discussions can be seen here
https://github.com/amnestywebsite/amnesty-wp-theme/discussions/2592
Describe the bug
On the Social icons block the styling has changed and is no longer on brand
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
They should have padding and use the theme default not WP animation animations
Actual behaviour
we lost our styles
Link to a page where the bug is reproduced in isolation (optional)
https://www.amnesty.org/en/get-involved/
Screenshots
https://web.archive.org/web/20200222173941/https://www.amnesty.org/en/get-involved/
https://wordpresstheme.amnesty.org/blocks/b018-social-icons/
Describe the bug
If I want to format text so that it is 'medium' size, it won't align to the left. I can only align to the left if the text is formatted in the default paragraph text size.
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
I want paragraph alignment to function in the same way regardless of text size.
Actual behaviour
Link to a page where the bug is reproduced in isolation
http://isaidotorgstg.wpengine.com/en/latest/news/2022/05/text-alignment-in-different-sizes-paragraph/
^looking at this, you can see that it also doesn't align as far to the right either. it's like the non-default-size text alignment works within a narrower container or something.
Which site is this happening on
amnesty.org
Link to a page in the documentation site where the feature is described
URL so we can quickly see how it is supposed to work
https://wordpresstheme.amnesty.org/administration/visual-regression-tests/paragraph-block/
Screenshots
I came across this whilst drafting up this page: https://www.amnesty.org/en/wp-admin/post.php?post=174207&action=edit
I want the text to be medium, and to align with the heading on the left:
Desktop (please complete the following information):
https://www.whatsmybrowser.org/b/X3ICW
In several places, we make use of exclusions to prevent the current post from being present in certain queries — related content, for example — which is not the most performant way of performing this type of query.
We should inspect and, where practicable, adjust this methodology to better leverage query caching via Memcached.
For example, we could retrieve more rows than we need, store them in the cache, and then filter using PHP.
Search the codebase for // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_post__not_in
to find such instances. Note: this code search will only show results after the PHP 8.2 upgrade has taken place.
Read more here: https://docs.wpvip.com/technical-references/code-quality-and-best-practices/using-post__not_in/
Normally this would have been a discussion first, but we are discussing this here as we are working on this already.
When the issue https://github.com/amnestywebsite/amnesty-wp-theme/issues/2708 was addressed this applied a max 860px on paragraphs. However this ticket was released by accident when migrating the theme to the new repos. Rather than roll back or hot fix we will try to add some new criteria here.
This change makes the text easier to read which is good for accessibility, but leave some strange empty spaces from a design perspective.
https://www.amnesty.org/en/latest/research/2023/10/repression-trade/
Other text blocks such as paragraphs, headers, block, quotes etc
We also need to consider the companion plugin and the country pages that uses a different layout size, our chosen solution if possible should use the same logic as posts (with and without side bars) and pages, and we can hopefully can reduce the differences between templates here too.
https://www.amnesty.org/en/location/asia-and-the-pacific/south-asia/afghanistan/
.container--small {
max-width: 1113px;
}
on pages with a side bar the change looks fine as there is very little difference between the 860px limit and the previous limit.
https://www.amnesty.org/en/latest/news/2024/03/eu-artificial-intelligence-rulebook-fails-to-stop-proliferation-of-abusive-technologies/
.article.has-sidebar {
max-width: 900px;
}
some things we will think about
@Gentyspun will have a look locally then get back to us with some thoughts.
Describe the bug
On the Spanish site, there is no '.' to separate the thousands in the counter block.
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
In Spanish thousands should be separated by a dot.
Actual behaviour
the counter block doesn't accommodate this.
Link to a page where the bug is reproduced in isolation
https://www.amnesty.org/es/what-we-do/death-penalty/
Which site is this happening on
amnesty.org
Link to a page in the documentation site where the feature is described
https://wordpresstheme.amnesty.org/blocks/b022-counter/
Additional context
looks ok in English, French and Arabic, which use either a comma or a space as a separator.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
Expect to see content in the sitemap
Actual behaviour
There is no content in the sitemap
Link to a page where the bug is reproduced in isolation (optional)
https://www.amnesty.org/en/sitemap_index.xml
Describe the bug
If I accidentally add a 'updated at' date to a post I can't take it off again.
or maybe I just don't know how to?
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
should be able to undo the updated at date in case it was selected by accident.
Actual behaviour
once you've added an updated at date you can't take it off again
Link to a page where the bug is reproduced in isolation
https://isaidotorgstg.wpengine.com/en/latest/news/2023/04/updated-time-stamp-test/
Which site is this happening on
amnesty.org
Desktop (please complete the following information):
https://www.whatsmybrowser.org/b/AZ83C
Switch background media https://wordpresstheme.amnesty.org/blocks/b054-background-media/ to cover block https://wordpress.org/documentation/article/cover-block/ (big to migrate as used a lot)
Basic Audio block (before or after quote with alignment controls) - https://wordpress.org/documentation/article/audio-block/ (1)
Number of sprints: 1
Link to sprint if known: TBC
Describe the bug
When I add a video to the header block, the block doesn't show the copyright credit from the video. Instead the copyright credit from the featured image shows.
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
When users see the video they should see the correct copyright credit.
Actual behaviour
The wrong copyright credit is showing on the video.
Link to a page where the bug is reproduced in isolation
https://isaidotorgstg.wpengine.com/en/latest/news/2024/01/header-block-video-copyright-credit/
Which site is this happening on
www.amnesty.org
Link to a page in the documentation site where the feature is described
https://wordpresstheme.amnesty.org/blocks/b000-header/
Desktop (please complete the following information):
https://www.whatsmybrowser.org/b/EPIA9
Describe the bug
When using the post list block on amnesty.eu, I tried to set up a 'Taxonomy' type post list, using the 'Resource Type' taxonomy and showing only posts tagged with 'Council of Europe and ECHR'. It looked like it was working fine in the WordPress editor, but then it just disappeared on the front end! In preview and when the post was published.
The block seems to work with other taxonomies: Countries, Topics and Content Types.
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
post list block should show on the front end for all available settings.
Actual behaviour
it's not working when you filter for the resource type taxonomy
Link to a page where the bug is reproduced in isolation
https://www.amnesty.eu/wp-admin/post.php?post=20276&action=edit
Which site is this happening on
amnesty.eu
Link to a page in the documentation site where the feature is described
https://wordpresstheme.amnesty.org/blocks/b013-list/
Desktop (please complete the following information):
https://www.whatsmybrowser.org/b/AZ83C
Number of sprints: 1
Link to sprint if known: TBC
Describe the bug
On the CSP Plugin in the editor some of the checkboxes states do not persist when the page is reloaded
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
The sate should persist
Actual behaviour
the state does not persist
Additional context
Also
media-src
self Only allow resources from the current origin.
For now we are going to try and change the field directly in the DB
The list block has no options to change the alignment to left or right aligned. This causes problems for text in Arabic, which is right aligned and for English text, in the wider format 'component template' pages, which is left aligned.
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
Option to align the list block should be available in the block formatting options.
Actual behaviour
No options to align the list block.
Link to a page where the bug is reproduced in isolation
https://isaidotorgstg.wpengine.com/en/latest/news/2022/05/list-block-alignment-en-ar/
Which site is this happening on
amnesty.org
Link to a page in the documentation site where the feature is described
https://wordpresstheme.amnesty.org/administration/visual-regression-tests/list/
Describe the bug
The default font when used in heading and paragraphs is hard to read, and in paragraphs can not be distinguished from bold and non bold text
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expect to see a visible difference between bold and non bold text
Actual behavior
both bold and non bold look the same
Additional context
My guess is that it is due to using a display font which is heavy already
https://fonts.google.com/specimen/Playfair+Display
and we might need to use something like
https://fonts.google.com/specimen/Playfair
or even both, one used in titles and one used elsewhere
What do you think?
Number of sprints: 1
Link to sprint if known: 94
Tickets to complete:
https://github.com/amnestywebsite/amnesty-wp-theme/issues/2787 create theme.json file
https://github.com/amnestywebsite/amnesty-wp-theme/issues/2788 create header template
https://github.com/amnestywebsite/amnesty-wp-theme/issues/2789 create footer template
https://github.com/amnestywebsite/amnesty-wp-theme/issues/2790 create 404 template
copied from here https://github.com/amnestywebsite/amnesty-wp-theme/issues/2739
PR #104
Some background info here #https://github.com/amnestywebsite/internal/issues/594
Number of sprints: one (This will take longer)
So the scope here extended a bit, we not only want patterns but also block templates.
Build 4 block templates
Build patterns for templates
Describe the bug
The Multisite Global Media plugin doesn't hook into wp_get_attachment_url
, which impacts some of our blocks when they reference media uploaded to a different site.
Blocks understood to be affected:
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
The video should render
Actual behaviour
The video doesn't render. The <video>
and <source>
tags are inserted into the DOM, but the src
attribute of the <source>
tag is missing.
Link to a page where the bug is reproduced in isolation (optional)
https://isaidotorgstg.wpengine.com/es/latest/news/2024/01/test-header-block-video-spanish/
Platform:
https://www.whatsmybrowser.org/b/9Q2N5
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
The text on the first option indicates ticking the "Maximize Content" should be sufficiency to maximise the area
Actual behaviour
You need to select disable sidebar too
Describe the bug
When using the slider block, if I turn 'show tabs' off, the right hand arrow on the first slide doesn't appear when I first load the page.
It does appear once I've swiped to the next slide and back.
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
Hiding the tabs shouldn't affect the arrows.
Actual behaviour
Hiding the tabs takes away the arrow on first slide.
Link to a page where the bug is reproduced in isolation
https://isaidotorgstg.wpengine.com/en/latest/news/2022/08/slider/
Which site is this happening on
amnesty.org
Link to a page in the documentation site where the feature is described
https://wordpresstheme.amnesty.org/blocks/b006-timeline-slider/
Desktop (please complete the following information):
https://www.whatsmybrowser.org/b/X3ICW
Additional context
Could it be related to this? https://github.com/amnestywebsite/amnesty-wp-theme/issues/805
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
The theme image should be shown
Actual behaviour
No image is shown
Link to a page where the bug is reproduced in isolation (optional)
/wp-admin/themes.php
Internal Issues
v1.0.1
v1.0.1
v2.1.0
v2.2.0
Describe the bug
On the join block modal review accessibility
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
We should trap the focus within the modal when activated via keyboard or screen reader
Actual behaviour
The join modal is lacking in accessibility support. Specifically, it doesn't trap focus within the modal when activated via keyboard or screen reader.
Link to a page where the bug is reproduced in isolation (optional)
https://www.amnesty.org/en/get-involved/join/
Describe the bug
When the slider block is added to the homepage it occupies 100% of the page width
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
The content should not break out past the menu or footer
Actual behaviour
The content breaks out past the menu and footer and goes to the edges of the page
Link to a page where the bug is reproduced in isolation (optional)
https://www.amnesty.eu/latest-news/
https://wordpresstheme.amnesty.org/blocks/b006-timeline-slider/
Describe the bug
On the header block the backgound colour is missing for all content where none was set in the past is no longer an option so we should default to black for old content
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
White text should have the black background
Actual behaviour
There is no backgound colour on the text
Link to a page where the bug is reproduced in isolation (optional)
URL so we can quickly see the issue
https://github.com/amnestywebsite/amnesty-wp-theme/issues/2355#issuecomment-1750188967
The bug
Amnesty Core Blockquote block displays in default alignment single opening quotation mark. This mark is absolutely positioned. For some languages the opening quotation mark is '„' instead of '“'. In such case, the mark goes under the quotation content.
To Reproduce
Steps to reproduce the behaviour:
Solution
The simplest solution is adding to theme CSS:
.blockquote.blockquote:not(.align-start):not(.align-end) { quotes: '”' '”' "’" "’"; }
Additional concerns
https://wordpresstheme.amnesty.org/wp-content/themes/amnesty-wp-theme-16/assets/styles/bundle.css?ver=1.23.0 _blocquote.scss includes a lot of '!important' statements. This should be avoided and replaced by more specific selectors. Reversing the order of precedence is considered as bad practice when one can easily avoid it and has no security related reasons to do this. The most obvious is its impact on assistive technologies and accessibility.
https://github.com/amnestywebsite/amnesty-wp-theme/issues/2747
Build footnotes block (1)
Dimension controls not support and why
Video not support and why https://wordpress.org/documentation/article/video-block/
sitemap block not support and why
review custom blocks like recipients and decommission blocks with low usage (content query)
Number of sprints: 1
Link to sprint if known: TBC
Describe the bug
The hide media plugin is working on featured images and header blocks but not on the image block, slider block, section block and other blocks with images, in the body of the post.
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
all images with no copyright credit should be blocked by the hide media plugin.
Actual behaviour
Only featured images and header block images are blocked.
Link to a page where the bug is reproduced in isolation
https://isaidotorgstg.wpengine.com/en/latest/news/2023/12/testing-hide-media-plugin/
https://isaidotorgstg.wpengine.com/es/latest/news/2023/12/testing-hide-media-plugin/
Which site is this happening on
amnesty.org
Desktop (please complete the following information):
https://www.whatsmybrowser.org/b/UVLBR
Additional context
This may have been going on for a while so if we get it fixed there might be a bit of a backlog of images to to add copyrights to on amnesty.org.
Describe the bug
On the "Call to Action" block when you add a button the wrong Button block is added
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
Expect the same size button to be added
Actual behaviour
A smaller button is added
Link to a page where the bug is reproduced in isolation (optional)
URL so we can quickly see the issue
Describe the bug
We used to have four style options for the buttons block but they're not all there any more. We just have two styles now, called 'fill' (yellow) and 'outline'. So we're missing the black button and the breadcrumb button.
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
we should have the usual four styles for buttons.
Actual behaviour
only 'fill' and 'outline' are available.
Link to a page where the bug is reproduced in isolation
https://isaidotorgstg.wpengine.com/en/latest/news/2023/03/buttons-test/
Which site is this happening on
amnesty.org
Link to a page in the documentation site where the feature is described
https://wordpresstheme.amnesty.org/administration/visual-regression-tests/b019-button-test/
Desktop (please complete the following information):
https://www.whatsmybrowser.org/b/AZ83C
Regression tests to be updated:
https://wordpresstheme.amnesty.org/administration/visual-regression-tests/b019-button-test/
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
French pages should show French translations
Actual behaviour
French pages show English translations
Link to a page where the bug is reproduced in isolation (optional)
https://www.amnesty.org/fr/commander/
https://github.com/amnestywebsite/amnesty-wp-theme/issues/1917
Describe the bug
On the tabs block the main or first tab stays highlighted even when other tabs have been selected
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
Only one tab should be underlined at a time
Actual behaviour
The first tabs stays highlighted and subsect tabs are highlighted as well
Link to a page where the bug is reproduced in isolation (optional)
https://isaidotorgstg.wpengine.com/en/latest/news/2024/02/test-tabs/
https://isaidotorgstg.wpengine.com/en/latest/news/2024/02/test-tabs/
All issues tracked here ->
Full site editing brings with it a new paradigm for block registration. Whereas previously blocks could be entirely crafted with JavaScript, or as a combination of JavaScript and PHP, FSE now enforces the latter.
This means that blocks that are entirely crafted using JavaScript are no longer visible in the editor, and will need converting to use the new registration methodology.
tbc
Number of sprints: 2
Link to sprint if known: TBC
Describe the bug
The header block has the option to change the 'background type' to video, rather than image. This feature doesn't seem to work in the Spanish site. You can add the video but it doesn't show up on the front end.
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
video feature should work on the header block - across all languages.
Actual behaviour
It worked on amnesty.org/en but not on amnesty.org/es.
Link to a page where the bug is reproduced in isolation
https://isaidotorgstg.wpengine.com/es/latest/news/2024/01/test-header-block-video-spanish/
https://isaidotorgstg.wpengine.com/en/latest/news/2024/01/test-header-block-video-spanish/
Which site is this happening on
amnesty.org
Link to a page in the documentation site where the feature is described
https://wordpresstheme.amnesty.org/blocks/b000-header/
Desktop (please complete the following information):
https://www.whatsmybrowser.org/b/EPIA9
Additional context
Issue came up from a translator working on this page: https://www.amnesty.org/es/latest/news/2024/01/united-states-lives-devastated-and-human-rights-sacrificed-by-toxic-fossil-fuel-related-pollution-from-petrochemical-plants-in-texas-and-louisiana/
I think it was also previously an issue on this page: https://www.amnesty.org/es/latest/news/2023/09/drc-cobalt-and-copper-mining-for-batteries-leading-to-human-rights-abuses/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.