Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

Branch Amenities: Closed Amenities #2015

Merged
merged 10 commits into from
May 20, 2020

Conversation

vitalii-stepaniuk
Copy link
Contributor

@vitalii-stepaniuk vitalii-stepaniuk commented May 18, 2020

This PR adds Closed Amenities field to Branch content type, displays amenities in two columns (Open and Closed amenities, if closed amenities exist), and adds a paragraph Branch Amenities that shows amenities with green check (open) and red cross (closed) icons.

Steps for review

  • Run updates.
  • Edit any branch and add closed amenities inside Branch Amenities fieldset.
  • Add Branch Amenities paragraph to the node.

@gundevel
Copy link
Collaborator

Can one of the admins verify this patch? Use "o+k to test" or ''t+est this please" for manual build execution.

$amenities_ids[] = $id['target_id'];
}
$amenities = \Drupal::service('entity_type.manager')
->getStorage('taxonomy_term')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TaxonomyTerm::loadMultiple

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@anpolimus anpolimus added IXM Assigned for resolution PR: Needs Review Needs someone review ( code ) labels May 18, 2020
@AndreyMaximov
Copy link
Contributor

ok to test

@gundevel
Copy link
Collaborator

Build comment file:

Check Open Y Installation Wizard at http://install.openy.cibox.tools/build2206/install.php


Test PASSed.
Refer to this link for build results (access rights to CI server needed):
http://openy.cibox.tools:8080/job/PR_BUILDER_COMPOSER/2206/

@gundevel
Copy link
Collaborator

Acessibility Sniffer: front page checking WCAG2AA http://openy.cibox.tools/build2206/frontWCAG2AAhtmlcs.txt
Acessibility Sniffer: join page checking WCAG2AA http://openy.cibox.tools/build2206/joinWCAG2AAhtmlcs.txt
Acessibility Sniffer: locations page checking WCAG2AA http://openy.cibox.tools/build2206/locationsWCAG2AAhtmlcs.txt
Acessibility Sniffer: schedules page checking WCAG2AA http://openy.cibox.tools/build2206/schedulesWCAG2AAhtmlcs.txt
Acessibility Sniffer: blog page checking WCAG2AA http://openy.cibox.tools/build2206/blogWCAG2AAhtmlcs.txt

@gundevel
Copy link
Collaborator

Open Y Complete profile installed at http://openy.cibox.tools/build2206/

Copy link
Contributor

@podarok podarok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small changes, please

status: true
dependencies: { }
_core:
default_config_hash: c4A5enOspH2lSRkObw2PzbZcD-ldXLpBO91Nk0F6Qas
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it looks wrong. Hash should not be included in configs

- block_content
- paragraphs
_core:
default_config_hash: n4KePQPN8a6yMnGHTR-lYrOMBMOUQXhNQ89Q80fLjjg
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it looks wrong. Hash should not be included in configs

@@ -26,11 +27,21 @@ dependencies:
- openy_field_custom_hours
- telephone
- user
_core:
default_config_hash: mRQJNhp4t6OSJSFQmOqvzFti_RolSTMMSKpRgcezXNE
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it looks wrong. Hash should not be included in configs

entity_type: node
bundle: branch
label: 'Closed Amenities'
description: ''
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we have a business description everywhere?

cardinality: -1
translatable: true
indexes: { }
persist_with_no_fields: false
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

always true, please

box-shadow: 0 3px 30px 2px rgba(0, 0, 0, 0.05);
border-radius: 8px;
margin-bottom: 50px;
color: #4f4f4f;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we use global _variables where all colors stored?

font-family: $font-awesome;
font-weight: 900;
content: "\f00d";
color: #dc3545;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here, global colors, please

@vitalii-stepaniuk
Copy link
Contributor Author

@podarok The issues you've listed above are fixed now. Could you please review the PR again?
Thanks!

@gundevel
Copy link
Collaborator

Build comment file:

Check Open Y Installation Wizard at http://install.openy.cibox.tools/build2207/install.php


Test PASSed.
Refer to this link for build results (access rights to CI server needed):
http://openy.cibox.tools:8080/job/PR_BUILDER_COMPOSER/2207/

@gundevel
Copy link
Collaborator

Acessibility Sniffer: front page checking WCAG2AA http://openy.cibox.tools/build2207/frontWCAG2AAhtmlcs.txt
Acessibility Sniffer: join page checking WCAG2AA http://openy.cibox.tools/build2207/joinWCAG2AAhtmlcs.txt
Acessibility Sniffer: locations page checking WCAG2AA http://openy.cibox.tools/build2207/locationsWCAG2AAhtmlcs.txt
Acessibility Sniffer: schedules page checking WCAG2AA http://openy.cibox.tools/build2207/schedulesWCAG2AAhtmlcs.txt
Acessibility Sniffer: blog page checking WCAG2AA http://openy.cibox.tools/build2207/blogWCAG2AAhtmlcs.txt

@podarok podarok added PR: Needs Work Unfinished task. Issues still there and removed PR: Needs Review Needs someone review ( code ) labels May 19, 2020
@gundevel
Copy link
Collaborator

Open Y Complete profile installed at http://openy.cibox.tools/build2207/

podarok
podarok previously approved these changes May 19, 2020
@podarok
Copy link
Contributor

podarok commented May 19, 2020

@vitalii-stepaniuk fix conflicts and this one ready to be merged

@gundevel
Copy link
Collaborator

Build comment file:

Check Open Y Installation Wizard at http://install.openy.cibox.tools/build2212/install.php


Test PASSed.
Refer to this link for build results (access rights to CI server needed):
http://openy.cibox.tools:8080/job/PR_BUILDER_COMPOSER/2212/

@gundevel
Copy link
Collaborator

Acessibility Sniffer: front page checking WCAG2AA http://openy.cibox.tools/build2212/frontWCAG2AAhtmlcs.txt
Acessibility Sniffer: join page checking WCAG2AA http://openy.cibox.tools/build2212/joinWCAG2AAhtmlcs.txt
Acessibility Sniffer: locations page checking WCAG2AA http://openy.cibox.tools/build2212/locationsWCAG2AAhtmlcs.txt
Acessibility Sniffer: schedules page checking WCAG2AA http://openy.cibox.tools/build2212/schedulesWCAG2AAhtmlcs.txt
Acessibility Sniffer: blog page checking WCAG2AA http://openy.cibox.tools/build2212/blogWCAG2AAhtmlcs.txt

@gundevel
Copy link
Collaborator

Open Y Complete profile installed at http://openy.cibox.tools/build2212/

@podarok podarok added PR: Code Reviewed Code reviewed. Ready for QA PR: Needs Testing Manual testing is needed Type: Enhancement Change request. New functionality. and removed PR: Needs Work Unfinished task. Issues still there labels May 20, 2020
@gundevel
Copy link
Collaborator

Build comment file:

Check Open Y Installation Wizard at http://install.openy.cibox.tools/build2213/install.php


Test PASSed.
Refer to this link for build results (access rights to CI server needed):
http://openy.cibox.tools:8080/job/PR_BUILDER_COMPOSER/2213/

@gundevel
Copy link
Collaborator

Acessibility Sniffer: front page checking WCAG2AA http://openy.cibox.tools/build2213/frontWCAG2AAhtmlcs.txt
Acessibility Sniffer: join page checking WCAG2AA http://openy.cibox.tools/build2213/joinWCAG2AAhtmlcs.txt
Acessibility Sniffer: locations page checking WCAG2AA http://openy.cibox.tools/build2213/locationsWCAG2AAhtmlcs.txt
Acessibility Sniffer: schedules page checking WCAG2AA http://openy.cibox.tools/build2213/schedulesWCAG2AAhtmlcs.txt
Acessibility Sniffer: blog page checking WCAG2AA http://openy.cibox.tools/build2213/blogWCAG2AAhtmlcs.txt

@gundevel
Copy link
Collaborator

Open Y Complete profile installed at http://openy.cibox.tools/build2213/

@podarok podarok merged commit e040b5d into ymcatwincities:8.x-2.x May 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
IXM Assigned for resolution PR: Code Reviewed Code reviewed. Ready for QA PR: Needs Testing Manual testing is needed Type: Enhancement Change request. New functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants