The Planet 4 Project Team have made the following updates to the Product:
26th of February
Front End / Back End / Admin
- PLANET-1826 Carousel Header: Subheader attribute
When the Subheader field is left empty, it should remain blank and not populate with the text appearing in the Header field. - PLANET-1865 Split two column block: Special characters in issue name are being encoded
Fixed. Special characters in issue name don`t get encoded anymore. - PLANET-1821 Post: Remove “Add Post Element” button from add/edit
The shortcake blocks are not formatted to be used in Posts. The Add Post Element button from the Post Edit mode has been removed. - PLANET-1824 Page: remove Add Post Element from wysiwyg editor when not needed
The shortcake blocks are not formatted to be used in Page Header fields. The Add Post Element button from the Page Header fields in Edit mode has been removed. - PLANET-1825 Settings: allows for Admin to set default text for Articles block
In P4 Settings, an Admin is now able to set the following for Posts:
Default Title for Related Articles block
Default Button for Related Articles block
Default Number of Related Articles - PLANET-1870 Settings: Added option to manage default website name is country dropdown
The administrator for each site is able to define what it will say in the Greenpeace Websites navigation menu (which was set to “International (English)” in the past) - PLANET-1871 Page Type setting: Do not create new if any values exist
Master-theme will not recreate page types if any page type exist. Will be connected with related tasks. (placeholder). - PLANET-1872 Share: Fix GTM tracking code in buttons
Share buttons GTM tracking code fixed.
26th of February
Front End
- PLANET-1707 Fix spacing on various pages
Editors don’t have to add a paragraph after a photo or block because the text will not appear stuck to the visual ahead of it.
Editors don’t have to add a space between an Image with a Caption and the paragraph below it in order for the paragraphs to have the same font.
Spacing was fixed and now appears correctly on all pages, editors don`t need to add extra spaces or paragraphs after the visual elements. - PLANET-1751 Search: Remove other kinds of content when POST filter is active
Visitor is able to see only posts in the search results when he selects the posts filter
Back End / Admin
- PLANET-1586 Happy Point: centre background image
Editor is able to place and image and have it auto-centred - PLANET-1633 Covers block: Added display options
Editor is able to choose between displaying 1 row/2 rows/all rows for Take Action Covers as default - PLANET-1642 Post: Map Page Types to Categories
When an Editor selects Story, Press Release or Publication as an Issue Category, this option is automatically set as the Page/Article Type as well, by default. - PLANET-1717 Upgrade to stable bootstrap4 release
- PLANET-1768 Post: display articles related to current post tags
Visitor is able to see related articles with the same tag as the Post itself - PLANET-1784 Comments: Installed Akismet plugin
Spam filtering plugin installed - PLANET-1807 Update timber-library to 1.7.0
Timber-library updated to latest version - PLANET-1818 Share: Added tracking code for buttons
dataLayer.push which would automatically collect the “click” event, and send it to Google Analytics using the configuration of GTM that is already in place has been added - PLANET-1820 Carousel: new image size for retina and reduce sizes used
The change should only be visible in big screens. Smaller screens should take the same quality as before, since the smaller sizes of the srcset don’t change. - PLANET-1834 [GPGR] Add Greek keyword stemmer plugin
Greek keyword stemmer plugin for SearchWP for the Greek website has been added - PLANET-1862 Page: Decoding title of category before using it to pick up
When no Page Header fields are provided in the Issue Page, the Name of the Page is used instead. The category title gets saved with all special characters html encoded, while the post/page title gets saved without encoding. - PLANET-1866 Install additional languages in NRO sites
Composer configuration has been modified to allow the installation of additional languages.
15th of February
Front End
- PLANET-1600 Search: Show all filters
Filter options with no results are also displayed - PLANET-1648 Handle long document names
Because of long names, documents in search appeared out of alignment - PLANET-1659 Tasks block: Fix description font
The description text under the header of the block has been fixed to show Lora - PLANET-1697 Tag Page: Remove dot after last tag
On campaign tag page, the extra dot appearing after last tag has been removed - PLANET-1738 Publications Block: Image resolution is too low
Resolutions have been fixed for publication and report covers on M, L and XL screen sizes. - PLANET-1739 Split three column block: Images overlap
Especially noticeable on small screen sizes, the first image was overlapping in the upper corner of the second image. This has been fixed and all images appear correctly now in the split three column element - PLANET-1740 Campaign Block: Image adjustment
On mobile, images zoom to centre of frame instead of top - PLANET-1785 Post: Author block
Author block image was distorted in Safari browsers
Back End / Admin
- PLANET-1596 Post: Videos not expanding
Video widths are now expanding for desktop when pasting YouTube URL into text or when adding via Add Media > Insert from URL - PLANET-1806 New health check files
- PLANET-1815 Change WP download method
As part of moving away from our own Satis/registry server (Which includes a hack to make it work, and utilises unnecessary resources), one of the steps is to remove the managing of WP download via composer.
14th of February
Front End
- PLANET-1501 Share buttons added to Posts and Take Action pages
AddThis was implemented for the prototype. A more robust work (design, markup, configuration settings, pure html) has replaced it - PLANET-1581 Take Action box alignment
On Posts, the Take Action box should float in right column rather than have the copy wrap around it. This is to give more flexibility for the Editor to have images at top of page without having to take box into consideration. - PLANET-1594 Carousel Header block: Fix slides on mobile to work as swipe
Visitors can change slides on homepage by swipe left on mobile devices - PLANET-1687 Carousel block: fix vertical padding on small and medium devices
Spacing issue when browser width changes. On Mobile the Carousel was bumping up against the block below it. - PLANET-1741Carousel Header block: Adjust button width on medium devices
For medium devices (tablets), the text was longer than the button. Button width now fixed so it can accommodate the full length of the text - PLANET-1763 Article block:Read More link on Issues page wasn’t filtering
The Articles block should serve filtered results on Issues pages. e.g. if the user is on the “People” page and clicks on Read More, they should be taken to search results pre-filtered by that Issue Category. - PLANET-1780 Pages: Repeat background for large screens
Background gradient should repeats on all long Pages - PLANET-1802 Covers: Hide description on mobile devices
Take action covers on mobile now show only tags and title - PLANET-1803 Take Action Card: Show tag name
On Posts, Take Action Cards fixed to show campaign tags name instead of slug name. now consistent with cards on Act page. e.g. #EnergyRevolution (tag) instead of energy-revolution (slug). - PLANET-1804 Take Action Card: Adjust height dynamically on mobile
On mobile screen, take action cards (regardless of the page they are) have a dynamic height, so they take less screen estate on small screens. No excerpt included on mobile take action cards, just the title of the take action and the button.
Back End / Admin
- PLANET-1640 Carousel Header block: Limit title to 40 characters
Title for the Carousel Header block now limited to 40 characters - PLANET-1722 Posts: Adjust iframes height for videos
The box around the video was too small and causing the video to scroll. The iframes have been modified so the videos play now in full size - PLANET-1619 Tag Page: added opacity field for Happy Point block
Happy point block has a field where the editor can set for opacity. This is automatically set for 80, but an editor is able to select another number if wanted - PLANET-1752 Search: Allow only published content to appear
When an Editor created a Post and saved it as a Draft, it immediately appeared in the Search Results. Now only the published posts show up in the searches
5th of February
Front End
- PLANET-1668 Tag Page: Font-size on descriptions was inconsistent
Continuity issue seen on both Act and Campaign tag pages. Font size on page header description and font size on “what you can do” (cover cards) description were different - PLANET-1718 Page: Header font tweaks
Adjust font-sizes + spacing adjust across site - PLANET-1728 Two Column Split block: expand content
The split two column block backgrounds now run the entire width of page - PLANET-1731 Breadcrumb: removed when Tag/Campaign is not assigned to an Issue
When a Tag/Campaign is not assigned to an Issue, the message “This campaign is not assigned to an issue” has been removed - PLANET-1744 Country drop-down menu: Fixed SSL link issue for NRO URLs
Links to Greenpeace NROs in country selector drop-down were broken as they don’t all support https - PLANET-1748 Articles block: Read More link on Tag page wasn’t filtering
Read More link should be serving filtered results on Tag pages. e.g. if the user is on “energy revolution” tag page and clicks on Read More, they should be taken to search results pre-filtered by the tag.
Back End / Admin
- PLANET-1455 Remove obsolete tags_support_query function
Bulk edit in back-end leads to invalid post type - PLANET-1721 allow paragraph in tag description
Allow for paragraph break in Tag description field on front-end - PLANET-1759 Fix /international/global redirects from GPI migration
External incoming urls are not picked up by the akamai rewrite rules, resulting in 404s in P4 GPI.
1st of February
Front End
- PLANET-1637 Tasks block: better alignment
- PLANET-1642 Editor workflow: Post type
When the editor selects Story, Press Release or Publication as an Issue Category the Page/Article Type is auto selected so the Editor does not have to check two boxes every time they create a new Post. - PLANET-1685 Take action cover: adjusted for better legibility
- PLANET-1747 Fix NZ link on countries menu
NZ link in the top menu was giving SSL error. Fixed. - PLANET-1745 Fix all-articles link in articles block
“Read More” default link in the articles block was missing the /international/