Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal: Conversion Center - Link in Bio - Variation 6 #27322

Merged
merged 14 commits into from
May 22, 2024

Conversation

willhowat
Copy link
Contributor

PR Checklist

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

Summary

This PR can be summarized in the following changelog entry:

Description

An explanation of what is done in this PR

Test instructions

This PR can be tested by following these steps:

Quality assurance

  • I have tested this code to the best of my abilities
  • I have added unittests to verify the code works as intended
  • Docs have been added / updated (for bug fixes / features)

Fixes #

title = Marionette.TemplateCache.prototype.compileTemplate( titleField )(
{
...this.model.parseDynamicSettings(),
itemIndex: this.getOption( 'itemIndex' ),
Copy link
Contributor

Choose a reason for hiding this comment

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

@louiswol94 I added this so that the tag was available in title_field and could be used. Do you think that there is a better way of achieveing this?

Copy link
Contributor

Choose a reason for hiding this comment

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

@nicoladj77 I do not understand, can you please elaborate a bit more? Tnx.

Copy link
Contributor

Choose a reason for hiding this comment

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

@louiswol94 so I am using this here https://github.com/elementor/elementor/pull/27322/files#diff-405e5ccb597bae3aa605f6db5467dffc4a03e6ab37fccff7b27cd2d4e39451beR256

in the mocukp we have to display "Image #1" instead of "Item #1" which is the default title. I checked the repeater code and it uses that itemIndex property which is not exposed for parsing the title_field template. Or at least I didn't see it in parseDynamicSettings() so I exposed it.

Copy link
Contributor

Choose a reason for hiding this comment

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

@louiswol94 rolled back changes

@willhowat willhowat marked this pull request as ready for review May 15, 2024 13:43
@willhowat willhowat requested a review from louiswol94 May 15, 2024 13:43
@nicoladj77 nicoladj77 merged commit 19da240 into elementor:main May 22, 2024
52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants