- π§π·Brazil sophiavs
Hey, i made the first patch for this new feature. There's still some ways to improve, but for a first patch I believe this is good :)
- Status changed to Needs review
over 1 year ago 4:47pm 4 May 2023 - last update
over 1 year ago Patch Failed to Apply - πΊπΈUnited States DamienMcKenna NH, USA
Thank you for putting that together. Let's see what the testbot says, just to be safe.
- last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago 372 pass - π§π·Brazil sophiavs
Sorry, the last patch was missing some part of the diff.
The first patch (2988154-4-v122.patch) is a patch to apply in metatag:^1.22, and the second one (2988154-4.patch) to 8.x-1.x-dev. - last update
over 1 year ago Patch Failed to Apply - π§π·Brazil sophiavs
Hey, i made some changes to make the modal work right in the version 1.22.
- last update
over 1 year ago 372 pass - π§π·Brazil sophiavs
I moved the hook to be inside the metatag_page_manager module and created this new patch.
It will work for both 1.22 and 8.x-1.x-dev branches. - last update
over 1 year ago 372 pass - π§π·Brazil vpoltronieri
I just added a small validation to make the metatags edit button visible only if the user has the "administer meta tags" permission.
- πΊπΈUnited States DamienMcKenna NH, USA
Is the permission change useful? Do people want to require the permission be given to users who are editing Page Manager pages in order to also edit the meta tags?
- π§π·Brazil vpoltronieri
The permission is already necessary if the user wants to edit the metatags because it is the permission for the "entity.metatag_defaults.edit_form" (route used for editing the metatags in this patch).
I'm just hiding the button in case the user doesn't have permission for the route the button would direct him to. :) - Status changed to Needs work
over 1 year ago 1:36pm 11 July 2023 - πΊπΈUnited States DamienMcKenna NH, USA
I tested the patch and it needs work.
What I was envisioning would be that the Metatag configuration would show up as a link alongside "General", "Contexts", etc in the left sidebar, and would not be a link in the interior area.
Furthermore, when I clicked the link it resulted in an error in the JSON response:
{"message":"The \u0022metatag_defaults\u0022 parameter was not converted for the path \u0022\/admin\/config\/search\/metatag\/{metatag_defaults}\u0022 (route name: \u0022entity.metatag_defaults.edit_form\u0022)"}
- π§π·Brazil vpoltronieri
Hey Damien, the first part is going to take a little longer to implement, so now I'm going to focus on the error you encountered. I was unable to replicate this error in my local environment. Could you provide more information on how to reproduce it?
- πΊπΈUnited States DamienMcKenna NH, USA
I was testing with the latest git checkouts for CTools 8.x-3.x and Page Manager 8.x-4.x, I edited the existing node view page, I added a new variant, filled in the initial dialog to give it a name, as soon as I submitted that form it gave a WSOD error because $form['wizard_tree']['#wizard'] was empty. I wrapped that in a quick if(!empty()) (forgot to upload a new patch), then was able to create the variant and get to the point I could see the link. The error logged in #11 was visible in the browser's console when I clicked the "edit" button.
- π§π·Brazil vpoltronieri
Hey, I'm done fixing the bug you found (and a few others I found during testing), this patch release contains these fixes.
The next step is to move the meta tags option to the correct location, as directed by you, Damien. Soon our team will work on it.
- last update
over 1 year ago 372 pass - Status changed to Needs review
over 1 year ago 5:43am 26 July 2023 - last update
over 1 year ago 113 pass - ivnish Kazakhstan
DamienMcKenna can you test it again? I don't see any problem
- last update
over 1 year ago 372 pass - π§π·Brazil rafmagsou
Update logic came from patch #15, to prevent error regarding missing "wizard_tree" field
more details in the interdiff - Status changed to Needs work
5 months ago 7:46am 26 June 2024 - Merge request !115Issue #2988154: Allow meta tags to be configured from within Page Manager UI β (Open) created by ivnish
- last update
5 months ago 120 pass - Assigned to ivnish
- Status changed to Needs review
5 months ago 6:50am 27 June 2024 - Status changed to RTBC
5 months ago 8:13am 7 July 2024 - Issue was unassigned.
- πΊπΈUnited States DamienMcKenna NH, USA
damienmckenna β changed the visibility of the branch 2.0.x to hidden.
- Status changed to Needs review
3 months ago 1:33pm 19 August 2024 - Status changed to Needs work
3 months ago 1:42pm 19 August 2024 - πΊπΈUnited States DamienMcKenna NH, USA
This still needs some work.
I created a variant on the default "node_view" page definition and the "edit" or "add" link didn't show. I changed the code to skip the $wizzard_tree-instanceof-PageWizardBase check and the link showed, but then clicking the "add" button didn't let me define the meta tags, it showed the add-metatag-defaults form with no options on the entity bundle selector.
This means the UX needs to make it more clear what types of pages are allowed, what types are not, and the UX should adjust accordingly. While it would be complicated to link to the meta tag forms based upon the selection criteria definitions for each variant, I think links could be added for the metatag defaults definitions for the entity types, and help text needs to be included explaining what the link opens.
- π«π·France andypost
Would be great to create merge request to run pipelines for regressions