generated from eea/volto-addon-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(site): no longer load language switcher and optimized image bloc…
…k rendering refs #161141 (#238) * Added back ObjectBrowserWidget.jsx from 17.x.x branch - before any changes to the anchor adding logic * style: Automated code fix * feat(teaser): modified ObjectBrowserWidget and UniversalLink to show links with hashes for manual links * change(draft-image): to remove image when published date is set to the future * change(draft-image): show draft image for items with publishing date in the future - this flips the return value of the previous commit after ticket feedback * feat(draft-image): added docstrings and unittests for checkIfPublished logic * fix(performance): Moved language selection logic to LanguageSwitcher.jsx - This way we don't have to use language selectors in Header.jsx if we are not using this feature which we are not on the EEA website * perf(header): lazy load LanguageSwitcher * fix(tests): load the loadable components within Header.test.jsx * fix(tests): Header.test.jsx after loadable introduction and key missing from TopicsWidget.test.jsx * fix(tests): several warnings due to bad test configuration * fix(tests): use render froim testing-library as react-testing-library is depreacated in favor of the previous * fix(tests): of header giving warning due to Dropdown text with function usage - Per the upgrade step we need to have an object with children see Semantic-Org/Semantic-UI-React#4029 * fix(perf): preload voltoCustom.css in order to avoid layout shift * Added Image.jsx from Volto 17.x.x before code changes * style: Automated code fix * fix(image): block default value selection for Image block size and align option * change(image): use only mini, preview and large scales for image rendering - unless the image is full-width from the align section in which case we use the huge scale * revert lazy loading of voltoCustom.css as it didn't properly parse it as stylesheet --------- Co-authored-by: eea-jenkins <[email protected]>
- Loading branch information
1 parent
26ca57d
commit 549caae
Showing
12 changed files
with
388 additions
and
402 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.