-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🌐 Internationalization for CTA Text for Amp Story Shopping Component (#…
…37008) * added in new set cta text - needs localization PR and unit tests. * added some null checks * Added working cta migration button solution * added compactification for textcontent code * updated to sue new localization service * removed unued promise * archive this commit, jsut for rolback if needed * Added initial call (page change dens't get tirggered initially) * added store service and localization service dependency for shopping attachment * removed index selectors * added shopping data definition callback * added tests for cta button * cealnup up unit tests * removed lone newline * cleaned up unit tests * migrate page attachment code to page attachment file * added calltoinizilize, fixed refresh problem * code optimization * updated shopping label to use shop now * added in htmlrefs * added in page attachment optimziations * added in shop now string with JSX optimizations * removed store service * removed resgisterservicebuidler * removed unused dependencies * removed build callback * added a few nit fixes
- Loading branch information
Showing
9 changed files
with
37 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
extensions/amp-story-shopping/0.1/test/test-amp-story-shopping-attachment.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters