Add all of the Favicon meta tags from the D7 branch to the 8.x-1.x branch. May need to split out the meta tags into submodules after all.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna created an issue. See original summary.

DamienMcKenna’s picture

Component: Dublin Core » Other tags
DamienMcKenna’s picture

DamienMcKenna’s picture

DamienMcKenna’s picture

DamienMcKenna’s picture

DamienMcKenna’s picture

DamienMcKenna’s picture

DamienMcKenna’s picture

Not putting this into beta10.

DamienMcKenna’s picture

Status: Active » Needs review
FileSize
3.62 KB

WIP, adds a placeholder module, doesn't add the tags yet.

Status: Needs review » Needs work

The last submitted patch, 10: metatag-n2563633-10.patch, failed testing.

DamienMcKenna’s picture

Status: Needs work » Needs review
Parent issue: » #2829190: Plan for Metatag 8.x-1.0-beta12
FileSize
3.63 KB
1.24 KB

This should fix the current changes.

  • DamienMcKenna committed 506686a on 8.x-1.x
    Issue #2563633 by DamienMcKenna: Added a placeholder to store the...
DamienMcKenna’s picture

Status: Needs review » Needs work

Committed. Now to port the actual meta tags themselves.

ziomizar’s picture

Status: Needs work » Needs review
FileSize
23.04 KB

I've created all the favicons plugins from 7.x.

All the favicons print the right tag on frontend except for mask-icon that need works to handle the color and the url.

DamienMcKenna’s picture

Status: Needs review » Needs work

@ziomizar: Thanks for doing that!

One other thing that needs to be done is to add the meta tags to Drupal\metatag_favicons\Tests\MetatagFaviconsTagsTest::$tags so that the tests will check them.

ziomizar’s picture

Hi @DamienMcKenna,

Thanks, running test as you suggested i saw that also schema is missing i'm fixing that as well.
I guess that test needs to extend also testTagsInputOutput() method in MetatagTagsTestBase because on line 222 there is an assert that return error if more than one tag with the same name is found.

DamienMcKenna’s picture

The testTagsInputOutput() method should work out of the box, there should only be one of each meta tag present. If something else up being problematic, comment out that meta tag in the tests and leave a @todo item so I can look into it. Thanks!

ziomizar’s picture

- add schema for all favicons.
- add $tags for all favincs tests and fixed few issues with naming.

The last submitted patch, 19: 2563633-19--test-only.patch, failed testing.

Status: Needs review » Needs work

The last submitted patch, 19: 2563633-19.patch, failed testing.

ziomizar’s picture

Status: Needs work » Needs review
FileSize
33.24 KB
6.47 KB

Implements {meta_tag_name}_test_output_xpath()

Status: Needs review » Needs work

The last submitted patch, 22: 2563633-20.patch, failed testing.

ziomizar’s picture

Status: Needs work » Needs review
FileSize
34.33 KB
20.89 KB

Fixed metatag ids and tests.
Remove default shortcut icon tag if it is defined from metatag module.

ziomizar’s picture

@DamienMcKenna have you some suggestions in how to proceed to implements the mask-icon?

We need an extra field "color" in the same tag configurable from backend.

ruloweb’s picture

Category: Task » Feature request
FileSize
34.3 KB
8.44 KB

Hi all, this patch only remove a few blank spaces at the end of a few lines.

Thanks for the feature-request, it worked ok for me.

DamienMcKenna’s picture

Some minor refactoring, I don't like the verbose class files. (no interdiff because it's mostly renaming class files)

Status: Needs review » Needs work

The last submitted patch, 27: metatag-n2563633-27.patch, failed testing.

DamienMcKenna’s picture

Status: Needs work » Needs review
FileSize
454 bytes
33.62 KB

Doh, too much search/replace.

DamienMcKenna’s picture

DamienMcKenna’s picture

Status: Needs review » Fixed

Committed. Thanks everyone!

ziomizar’s picture

Hi Damien,

Thanks! I found just 2 typo in the code.

I'm not sure if was better open a new issue just for that.

ziomizar’s picture

Status: Fixed » Needs review
ziomizar’s picture

Also the "use" statement is wrong in all the Icons that are using LinkSizesBase

DamienMcKenna’s picture

Status: Needs review » Fixed

Thanks for spotting those! Committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

pingwin4eg’s picture

That is great work, of course! But some meta missing additional attributes. Like color in mask-icon or type in icon.

DamienMcKenna’s picture

There's an existing issue for the mask-icon color, feel free to open one for the icon type.