Skip to content

Commit

Permalink
OI - 278, 280. Expert review and cropping. (#156)
Browse files Browse the repository at this point in the history
* OI-246 Removed link to content from News title, fixed tags visibility on News page itself and inside the /news. Fixed "User page" condition submit logic.

* OI-206 Changed thumbnail style to compact_user_icon in next user view modes: additional details, default, edit.

* OI-243 Change OpenidealIdeaUpdateInfo create and change date formats. Fix CSS styles for right sidebar of content types canonical pages.

* OI-85 Fix CSS for workflow block, and mobile view of /idea page.

* Reverted composer.json changes.

* OI-243 Removed unneeded code.

* OI-125,142 Changed moderation content view title, and altered local task title. Changed slideshow arrows.

* OI-246. Implemented OpenidealRRSSBBlock, which provide ability to set an entity from context e.g. from layout builder. Implemented styles for /news page.

* OI-159 Implement: "user_mention" Message template, Rules action - "Create message after mentioning user". Add appropriate message_template texts for the message displayed itslef, email subject and body. Add additional conditions for "activity feed" views. Rework the MessageAction.

* OI-166 Replace the voting apis form's ajax submit handler. Implement logic to update the count of like in real time.

* OI-166 Add todo.

* OI-159 Implemented logic to change the showed text for user mention activity for current user page, and others users pages. Fixed the pswp image arrows on mobile screen. Fixed logic to send the message during user mentions only for mentioned user.

* OI-166 Fix bug related to rules, and voting, add additional condition to rules action. Reworked _openideal_challenge_vote_ajax_submit logic, add additional ajax command to response. Remove unneeded logic from scripts.

* OI-159 Move logic of changing the partial field into mentions entity preprocess.

* OI-159 Add delta to getText method.

* OI-242 Remove image button. OI-113 Increase size of the modal for entity browser.

* OI-00 Change the gulp script, remove source map and cleanCss gulp plugins.

* OI-166 Implemented new render element - Statistics theme for the element statistics_element, related twig template, ability to change attributes. Replace site_wide_statistics_block theme with statistics_item, reworked all blocks that used this theme. Implemented ability to set data-* attribute to statistics count, that adds ability to update counters in real time, without rely on css classes.

* OI-166 Add css files.

* OI-258 Implemented AutocompleteController and ideas_autocomplete_entity_reference views entity reference for ideas autocomplete. Add the ability to show autocomplete for title field of the Idea.

* OI-258 Reworked IdeasAutocompleteController to use entity_reference_selection plugin, implemented ability to add the url to autocomplete keys. Implemented script that listen "autocompleteselect" event, and redirects user on autocomplete selection. Implemented logic to show message after user being redirected into possible dublication page.

* OI-258 Change query parameter name.

* OI-00 npm audit fix.

* OI-166 Workflow identification fix.

* OI-255 Reworked the openideal_user_form_user_login_form_alter hook, implemented ability to add images for the login-with template and reworked the template itself. Create a custom block type for login right section. Implemented styles for login page. Installed and configured "Underline" js library, implemented related script to make it works.

* OI-255 Implement hook_update that creates a block_content for right login section, export the block via default_content module. Implement styles for register, reset password forms. Implement modile styles for login form. Add signup, forgot password links, and related to them styles|logic.

* OI-276 Composer dependencies fix.

* OI-275 Move all logic related to login block, into openideal_login. Create libraries. Reworked openideal_user hook install, to enable the login module. Move all related to block configurations into the block.

* OI-275 Move hook_user_login into login module.

* OI-255 Small fixes.

* OI-255: Add missed module dependencies, move appropriate configuration into config/optional folder.

* OI-255: Remove useless dependence.

* OI-159 Move cache context out from if statement.

* OI-113 Change width of entity browser entity configurations.

* OI-00 Remove logic that change behavior of html[type=date] input.

* OI-255: Remove position absolute from em.

* OI-279: Create discussion node type, with body, comments and status fields. Implement openideal_discussion module with: hook_form_FORM_ID_alter that hide title for the discussion add form, and body label; openideal_discussion_comment_create_access - that allows to add comments in Idea discussion only for group Author, Co-author and Expert; OpenidealDiscussionAddBlock - that has "Add Expert Review", and Export Review (@count) where count is all idea expert reviews. Install bootstrap4_modal module. Install Group Content discussion for the Idea group type. Create Idea discussions view block that displays all the ideas discussions. Add appropriate permissions for group_node:discussion group content. Apply patch to Drupal core that preventsmMultiple usages of FieldPluginBase::getEntity do not check for NULL, leading to WSOD.

* OI-279: Remove disscusion field, add additional logic to not allow to add new comments when field_status is false.

* OI-279: Implement "Entity In moderation state" condition plugin and add appropriate conditions to discussions related blocks. Create event subscriber that react on layout builder SECTION_COMPONENT_BUILD_RENDER_ARRAY event and add "Read review" button to the discussion teaser mode. Add boolean field_visibility that indicates if the discussion is visible for user with certain permission. Rework logic of DuscissionAddBlock to restrict access to add discussions when node isn't in "Expert Review" state. Implement openideal_discussion_node_access that hide the discussion when field_visibility turned off and make it visible only for user with 'view unpublished group_node:discussion entity' permission. Add all needed fields into discussion teaser view mode.

* OI-281: Implement Discussion "message" view mode layout template. Implement 'Create a message after adding discussion' rule, and make additional conditions to hide Discussion from default Create node rules, and to not create discussion if it's status "invisible". Fix MessageAction.php assignment selector. Implement styles for discussion message. Started creating access to now show the discussion after it was created, but status was changed to invisible.

* OI-281,282:
Implement:
- message template 'New discussion';
- field_idea for Discussion and openideal_discussion_node_insert that automatically fill it;
- ability to show all needed for the discussion blocks.

Rework:
- Replace GroupMember->hasPermission checks with GroupPermissionChecker::hasPermissionInGroup;
- Add ability to show edit button, for OpenidealIdeaUpdateInfo.php block.
- openideal_discussion_node_access and openideal_discussion_comment_create_access: make these hooks use Group permission checker instead of Member permissions.
- "personal activity" view, add ability to show discussions and comments inside discussions for users those follows Idea.
- openideal_content_views_query_alter: Fix the join Instead of adding three time flagging relation ship in views change "main" join conditions.

Fix:
- GroupPageRedirect.php return logic.

* OI-281,282:
Implement:
- message template 'New discussion';
- field_idea for Discussion and openideal_discussion_node_insert that automatically fill it;
- ability to show all needed for the discussion blocks.

Rework:
- Replace GroupMember->hasPermission checks with GroupPermissionChecker::hasPermissionInGroup;
- Add ability to show edit button, for OpenidealIdeaUpdateInfo.php block.
- openideal_discussion_node_access and openideal_discussion_comment_create_access: make these hooks use Group permission checker instead of Member permissions.
- "personal activity" view, add ability to show discussions and comments inside discussions for users those follows Idea.
- openideal_content_views_query_alter: Fix the join Instead of adding three time flagging relation ship in views change "main" join conditions.

Fix:
- GroupPageRedirect.php return logic.

* OI-281: Move configurations files from global config/install into appropriate modules for openideal_idea, openideal_discussion, openideal_challenge. Install update helper module, and implement update hooks, and create config/update/* configurations for experts reviews changes.

* OI-281: Fixed broken views configurations.

* OI-281: Export rules configurations. Move installation of update_helper module into hook idea profile update hook.

* OI-281: Reverted rabbit hole changes. Made bootstrap4modal optional module. Move installing of update_helper into idea_update hook.

* OI-281: Set a exact version for rabbit_hole module.

* OI-281: Add theaddCacheableDependency() to openideal_discussion_comment_create_access return AccessResult.

* OI-281: Fixed logic in openideal_theme_preprocess_message__user_mention()

* OI-281: Removed unneeded access logic from OpenidealIdeaUpdateInfo.php. Fixes the appropriate permissions for group roles. Removed field visibility and uses instead default published logic.

* OI-281: Added group role permissions. Small fixes.

* OI-282: Sets explicit version using commit hash for ajax_comments, ckeditor_mentions. Remove useless patch for rabbit_hole module, and set 1.0-beta9 version for it.

* Removed packages with hashes from composer.json

* Sorts packages alphabetically

* Adds ckeitor_mentions and ajax_comments here.

* OI-282: Update the rabbit_hole configurations.

* OI-282: Remove unused rabbit_hole configuration.

* OI-238:
Sets:
  * explicit version for: ultimate_cron, rules, eu_cookie_compliance;

Implements:
  * ultimate_cron.* configuration update hooks;
  * eu_cookie_compliance.settings.yml update;

Fixes:
  * Private activity Views conditions, relations, view_query_alter extra join and creates for them update configuration;
  * Permission for openideal_discussion_comment_create_accesss hook;
  * Conditions for rules.reaction.create_a_message_after_adding_discussion.yml;
  * rules.reaction.create_a_message_after_replying_on_comment.yml conditions, and create update hook for it;

* OI-281: CS.

* OI-281:
Fixes:
  * message.template.comment_created.yml email text, and creates for it update configuration.
  * adds ability to change status widget title also for node.discussion.edit form.
Changes:
  * body field now is required.
  * Go back logic, implements ability to add this block also to discussion node.
Implements:
  * full view mode display for discussion and attaches to it: Go back block.
  * ability to send emails for discussion_create and comments_created (in discussion) message templates.

* OI-281: Fixes plural labels for Go back block.

* OI-238: Removes update for message template.

* OI-281: Adds todo.

* OI-238:
Implements:
 * CSS styles for discussion teaser, and full view modes.
Reworks:
 * OpenidealBEMLayout.php: adds ability to set classes inside build() method, and removed unneeded classes from layout templates.
 * OpenidealFooterMobileFooterBlock.ph: adds ability to show comments and not render unneeded content for discussion.
Fixes:
 * Bug in layout builder, which doesn't give ability to move sections by drop-n-drag.

* OI-281:
Exports:
 * configuration for blocks: mobile_footer, rrssb_footer; and creates for update for them;
Implements:
 * discussion full and teaser view modes layout_builder templates.
 * Layout builder styles: card;
Fixes:
 * CS.

* OI-283: Change variable name.

* Implements:
  * OpenidealDiscussionExpertsVoting.php block, that provides ability to show Idea fivestar widget in discussion.
  * FiveStarWidget plugin block that overrides default plugin block and adds ability to set needed permission for the five stars widgets including group member.
  * Permission for Idea group: 'vote on five stars';
  * Field five-stars widget.
  * Updates configurations hook for field, blocks, view modes.
  * Styles for five-star related FE view.
  * Reworks OpenidealStatisticsIdeaStatisticsBlock.php: adds ability to show five-star widget when user check checkbox.

* OI-281, 292, 280, 279:
Implements:
  * Adds __global_actions to update helper.
  * Changes go back styles.
  * Adds tags icons for idea and discussion and attached them to Idea and Discussion full view modes.

* OI-273: Fix Idea installation.

* Implements:
  * Forms: Add five stars; Edit Five Stars;
  * Menu task;
  * openideal_theme_preprocess_votingapi_widgets_summary that add label variable to votingapi_widget_result template.
Reworks:
  * OpenidealDiscussionExpertsVoting.php block, make possibility show as many five stars widgets as they are attached to the Idea page.

* OI-238: Changes the logic of label showing in fiver_stars widgets. Implements five stars vote results into the overall score formula. Reworks OpenidealHelper::computeOverallScore() signature, and service at all. Reworks OpenidealStatisticsIdeaStatisticsBlock.php block, adds ability to show all five stars widgets attached to the idea. Reworks votingapi-widgets-summary--oi-fivestar--node--idea.html.twig template, removes from the template label variable and related hook preprocess. Implements styles for, voting_api_field, discussion_experts_block.

* OI-273: Rename shutdown function, change description.

* OI-291: CS

* OI-238: Refactors to not reuse code twice. Change permission name. Add ability to show fivestar weight in ScoreConfigForm.

* OI-281: Fix fivestars label cache, and saving five stars logic.

* OI-278: Fixed OpenidealStatisticsIdeaStatisticsBlock.php, creates a OpenidealStatisticsBaseStatisticsBlock.php and refactor all statistics block ecosystem to use it.

* OI-278 Refactored styles for all content and user pictures.

* Add update instruction to README file.

* Add domain registration module.

* Change composer update command.

* Remove update section from README.

* OI-278: Move user related configuration into openideal_user module; Install image_widget_crop module, create crop types: profile, image. Create openideal_media module: and moves all media related file there.

* OI-278: Create update for openideal_(user|idea)

* OI-278: Move image styles to optional folder. Create updates for openideal_challenge, and article default.

* Add openideal_media to global action.

* OI-278: Add block local tasks update, fix location of openideal_idea update.

* OI-278: Change method descriptions.

* OI-278: Move layout_builder templates from theme to openideal_content module.

* OI-278: Move layouts into module.

* OI-278: Add installation of module to configuration page.

* OI-298: Fix notifications bug.

* OI-278: Change configurations directories, rework isNotViewMode.

* OI-278: Move existing image styles configurations into profile install directory.

* OI-278: Fix notice from non existing relationship.

* OI-278: Rework isViewMode method.

* OI-278: Fix bug with not found bootstrap_bario/file library.

* OI-278: Add paddings to "Five stars widgets" in Add Five Stars form.

* Add css file, change five-stars -> fivestar.

* OI-126: Redirect to Idea page even if it's an administrator.

Co-authored-by: Zohar Stolar <z.stolar@gmail.com>
Co-authored-by: Ivan Doroshenko <i.doroshenko@dev-branch.com>
Co-authored-by: Ivan Doroshenko <57439293+db-Matroskeen@users.noreply.github.com>
  • Loading branch information
4 people committed Mar 15, 2021
1 parent 436223d commit 98fe601
Show file tree
Hide file tree
Showing 333 changed files with 5,994 additions and 803 deletions.
9 changes: 6 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@
"drupal/allowed_formats": "^1.2",
"drupal/avatars": "^1.1",
"drupal/better_exposed_filters": "^4.0",
"drupal/bootstrap4_modal": "^2.0",
"drupal/bootstrap_barrio": "^5.0",
"drupal/ckeditor_media_embed": "^1.9",
"drupal/ckeditor_mentions": "2.x-dev#272a28e7",
Expand All @@ -207,13 +208,14 @@
"drupal/dropzonejs": "^2.1",
"drupal/email_registration": "^1.0",
"drupal/entity_browser": "^2.5",
"drupal/eu_cookie_compliance": "^1.9",
"drupal/eu_cookie_compliance": "1.14.0",
"drupal/faqfield": "^1.1",
"drupal/field_permissions": "^1.0",
"drupal/flag": "^4.0",
"drupal/group": "1.3",
"drupal/honeypot": "^2.0",
"drupal/layout_builder_styles": "^1.0@beta",
"drupal/image_widget_crop": "^2.3",
"drupal/message": "1.1",
"drupal/message_notify": "^1.1",
"drupal/metatag": "^1.13",
Expand All @@ -224,15 +226,15 @@
"drupal/redirect": "^1.6",
"drupal/route_condition": "^1.1",
"drupal/rrssb": "^2.2",
"drupal/rules": "3.x-dev",
"drupal/rules": "3.x-dev#7d1833f",
"drupal/social_auth_facebook": "^2.0",
"drupal/social_auth_github": "^2.0",
"drupal/social_auth_google": "^2.0",
"drupal/social_auth_linkedin": "^2.0",
"drupal/token": "^1.6",
"drupal/twig_field_value": "^2.0",
"drupal/twig_tweak": "^2.5",
"drupal/ultimate_cron": "^2.0@alpha",
"drupal/ultimate_cron": "2.0-alpha5",
"drupal/update_helper": "^2.0",
"drupal/user_registrationpassword": "1.x-dev",
"drupal/userpoints": "^1.0@alpha",
Expand Down Expand Up @@ -260,6 +262,7 @@
"patches": {
"drupal/core": {
"Combined Fields Filter does not work with body summary": "https://www.drupal.org/files/issues/2020-08-28/3049502-27.patch",
"Multiple usages of FieldPluginBase::getEntity do not check for NULL, leading to WSOD": "https://www.drupal.org/files/issues/2020-09-03/3007424-108.patch",
"Add visibility control conditions to blocks within Layout Builder": "https://www.drupal.org/files/issues/2020-06-23/2916876-92.patch",
"Fix comment access handling": "https://www.drupal.org/files/issues/2020-07-18/2879087-65.patch",
"Dynamically provide action plugins for every moderation state change": "https://www.drupal.org/files/issues/2020-01-25/2797583-149.patch",
Expand Down
1 change: 1 addition & 0 deletions config/install/block.block.mobile_footer_block.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ visibility:
bundles:
article: article
challenge: challenge
discussion: discussion
idea: idea
negate: false
context_mapping:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ visibility:
node_type:
id: node_type
bundles:
idea: idea
discussion: discussion
article: article
challenge: challenge
idea: idea
negate: false
context_mapping:
node: '@node.node_route_context:node'
24 changes: 14 additions & 10 deletions config/install/core.entity_form_display.node.article.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,18 @@ langcode: en
status: true
dependencies:
config:
- entity_browser.browser.openideal_images_browser
- entity_browser.browser.openideal_file_browser
- field.field.node.article.body
- field.field.node.article.field_attached_docs
- field.field.node.article.field_images
- field.field.node.article.field_meta_tags
- field.field.node.article.field_tags
- image.style.front_page_teaser_large
- node.type.article
module:
- content_moderation
- entity_browser
- image_widget_crop
- metatag
- path
- text
Expand Down Expand Up @@ -52,16 +55,17 @@ content:
field_images:
weight: 6
settings:
entity_browser: openideal_images_browser
field_widget_remove: true
field_widget_replace: true
selection_mode: selection_append
preview_image_style: thumbnail
field_widget_edit: true
open: false
view_mode: default
show_default_crop: true
preview_image_style: front_page_teaser_large
crop_preview_image_style: original
progress_indicator: throbber
crop_list:
- image
crop_types_required: { }
show_crop_area: false
warn_multiple_usages: false
third_party_settings: { }
type: entity_browser_file
type: image_widget_crop
region: content
field_meta_tags:
weight: 12
Expand Down
23 changes: 12 additions & 11 deletions config/install/core.entity_form_display.user.user.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ langcode: en
status: true
dependencies:
config:
- entity_browser.browser.openideal_image_browser
- field.field.user.user.avatars_avatar_generator
- field.field.user.user.avatars_user_picture
- field.field.user.user.field_age_group
Expand All @@ -11,8 +10,9 @@ dependencies:
- field.field.user.user.field_last_name
- field.field.user.user.field_points
- field.field.user.user.user_picture
- image.style.user_account_image
module:
- entity_browser
- image_widget_crop
- user
id: user.user.default
targetEntityType: user
Expand All @@ -25,18 +25,19 @@ content:
settings: { }
third_party_settings: { }
avatars_user_picture:
type: openideal_user_entity_browser_single_file
type: image_widget_crop
weight: 5
region: content
settings:
entity_browser: openideal_image_browser
field_widget_remove: '1'
selection_mode: selection_append
preview_image_style: compact_user_icon
field_widget_edit: true
field_widget_replace: 0
open: 0
view_mode: default
show_default_crop: true
warn_multiple_usages: true
preview_image_style: user_account_image
crop_preview_image_style: original
progress_indicator: throbber
crop_list:
- profile
crop_types_required: { }
show_crop_area: false
third_party_settings: { }
field_age_group:
weight: 2
Expand Down
2 changes: 0 additions & 2 deletions config/install/core.entity_view_display.user.user.compact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ dependencies:
- openideal_statistics
- openideal_user
- user
theme:
- openideal_theme
third_party_settings:
layout_builder:
allow_custom: false
Expand Down
12 changes: 6 additions & 6 deletions config/install/eu_cookie_compliance.settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ exclude_admin_theme: false
langcode: en
popup_agreed:
value: '<h2>Thank you for accepting cookies</h2><p>You can now hide this message or find out more about cookies.</p>'
format: restricted_html
format: plain_text
popup_agree_button_message: 'I accept cookies'
popup_agreed_enabled: false
popup_bg_hex: 0779bf
Expand All @@ -25,10 +25,10 @@ popup_hide_agreed: false
popup_hide_button_message: Hide
popup_info:
value: '<h2>We use cookies on this site to enhance your user experience</h2><p>By clicking the Accept button, you agree to us doing so.</p>'
format: restricted_html
format: plain_text
mobile_popup_info:
value: ''
format: basic_html
value: '<h2>We use cookies on this site to enhance your user experience</h2><p>By tapping the Accept button, you agree to us doing so.</p>'
format: plain_text
popup_info_template: new
mobile_breakpoint: 768
popup_link: '<front>'
Expand All @@ -50,8 +50,8 @@ disabled_javascripts: ''
whitelisted_cookies: ''
consent_storage_method: do_not_store
withdraw_message:
value: '<h2>This site uses cookies to offer you a better browsing experience. </h2><p>You have given your consent for us to set cookies.</p>'
format: restricted_html
value: '<h2>We use cookies on this site to enhance your user experience</h2><p>You have given your consent for us to set cookies.</p>'
format: plain_text
withdraw_action_button_label: 'Withdraw consent'
withdraw_tab_button_label: 'Privacy settings'
withdraw_enabled: false
Expand Down
14 changes: 0 additions & 14 deletions config/install/group.role.idea-expert.yml

This file was deleted.

14 changes: 12 additions & 2 deletions config/install/image.style.compact_user_icon.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
langcode: en
status: true
dependencies: { }
dependencies:
config:
- crop.type.profile
module:
- crop
name: compact_user_icon
label: 'Compact user icon (90x90)'
effects:
ce9840e8-543a-4383-812c-6edfb1c00b5b:
uuid: ce9840e8-543a-4383-812c-6edfb1c00b5b
id: image_scale_and_crop
weight: 1
weight: -9
data:
width: 90
height: 90
anchor: center-center
6fa7f79a-6f43-41cd-adaf-46942dd4dcb7:
uuid: 6fa7f79a-6f43-41cd-adaf-46942dd4dcb7
id: crop_crop
weight: -10
data:
crop_type: profile
14 changes: 12 additions & 2 deletions config/install/image.style.creator_ico.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
langcode: en
status: true
dependencies: { }
dependencies:
config:
- crop.type.profile
module:
- crop
name: creator_ico
label: 'Creator icon (46x46)'
effects:
b83d69cf-6f96-45ed-8a51-b6c6ff0e162a:
uuid: b83d69cf-6f96-45ed-8a51-b6c6ff0e162a
id: image_scale_and_crop
weight: 1
weight: -9
data:
width: 46
height: 46
anchor: center-center
85766918-2eb5-42cc-8a2a-59e7145996ac:
uuid: 85766918-2eb5-42cc-8a2a-59e7145996ac
id: crop_crop
weight: -10
data:
crop_type: profile
14 changes: 12 additions & 2 deletions config/install/image.style.follower_icon.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
langcode: en
status: true
dependencies: { }
dependencies:
config:
- crop.type.profile
module:
- crop
name: follower_icon
label: 'Follower icon (36x36)'
effects:
64393dd7-031f-46d5-8b8e-703026c01ba2:
uuid: 64393dd7-031f-46d5-8b8e-703026c01ba2
id: image_scale_and_crop
weight: 1
weight: -9
data:
width: 36
height: 36
anchor: center-center
761ba95e-5ad1-493c-a7fd-7bc5ffc2dbf1:
uuid: 761ba95e-5ad1-493c-a7fd-7bc5ffc2dbf1
id: crop_crop
weight: -10
data:
crop_type: profile
14 changes: 12 additions & 2 deletions config/install/image.style.front_page_teaser.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
langcode: en
status: true
dependencies: { }
dependencies:
config:
- crop.type.image
module:
- crop
name: front_page_teaser
label: 'Front page teaser (781x250)'
effects:
c584ed11-9458-46dc-bfe7-8f4c276d6df0:
uuid: c584ed11-9458-46dc-bfe7-8f4c276d6df0
id: image_scale_and_crop
weight: 1
weight: -9
data:
width: 781
height: 250
anchor: center-center
d90ac3e4-3990-4a10-a2b1-16f53604527f:
uuid: d90ac3e4-3990-4a10-a2b1-16f53604527f
id: crop_crop
weight: -10
data:
crop_type: image
14 changes: 12 additions & 2 deletions config/install/image.style.front_page_teaser_large.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
langcode: en
status: true
dependencies: { }
dependencies:
config:
- crop.type.image
module:
- crop
name: front_page_teaser_large
label: 'Front page teaser large (619x240)'
effects:
6f84ca64-ce22-4cb2-a1b0-f8a4bdbd4208:
uuid: 6f84ca64-ce22-4cb2-a1b0-f8a4bdbd4208
id: image_scale_and_crop
weight: 1
weight: -9
data:
width: 900
height: 240
anchor: center-center
45674ad3-5a44-4159-959c-ecb399ec400f:
uuid: 45674ad3-5a44-4159-959c-ecb399ec400f
id: crop_crop
weight: -10
data:
crop_type: image
14 changes: 0 additions & 14 deletions config/install/image.style.large.yml

This file was deleted.

14 changes: 0 additions & 14 deletions config/install/image.style.medium.yml

This file was deleted.

Loading

0 comments on commit 98fe601

Please sign in to comment.