Skip to content

Variable substitution tester #26695

Merged
micajuine-ho merged 4 commits intoampproject:masterfrom
micajuine-ho:variable_substitution_tester
Feb 14, 2020
Merged

Variable substitution tester #26695
micajuine-ho merged 4 commits intoampproject:masterfrom
micajuine-ho:variable_substitution_tester

Conversation

@micajuine-ho
Copy link
Copy Markdown
Contributor

@micajuine-ho micajuine-ho commented Feb 10, 2020

Create a local dev page that can be used to test the expansion, encoding, and replacement behavior for analytics requests.

Also created a list of tricky expansion behavior that can be easily checked against for future development.

Maybe we should turn the example list into unit tests as well?

ezgif com-video-to-gif (5)

@micajuine-ho micajuine-ho force-pushed the variable_substitution_tester branch from e27ea26 to 70d5bf8 Compare February 10, 2020 19:29
@micajuine-ho
Copy link
Copy Markdown
Contributor Author

/cc @danielrozenberg for build-system files

Copy link
Copy Markdown
Contributor

@rsimha rsimha left a comment

Choose a reason for hiding this comment

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

build-system/ changes LGTM with one comment.

@micajuine-ho micajuine-ho force-pushed the variable_substitution_tester branch from 6884930 to ce391a1 Compare February 13, 2020 22:43
@micajuine-ho micajuine-ho reopened this Feb 14, 2020
@micajuine-ho micajuine-ho merged commit c081d05 into ampproject:master Feb 14, 2020
@micajuine-ho
Copy link
Copy Markdown
Contributor Author

Thanks for the help! @danielrozenberg @rsimha

robinvanopstal added a commit to jungvonmatt/amphtml that referenced this pull request Feb 17, 2020
* master: (181 commits)
  🏗 Ensure valid flag usage for `gulp` tasks (ampproject#26814)
  build-system: Fix autocomplete error response (ampproject#26824)
  application/json is ab allowed type for <script> (ampproject#26815)
  🚮 Removing amp-consent-v2 experiment logic (ampproject#26162)
  Fix more arrow functions that are passed in as "constructors" (ampproject#26795)
  Variable substitution tester  (ampproject#26695)
  Turn on restrict fullscreen canary (ampproject#26766)
  Mock variableService getMacros  (ampproject#26300)
  Sync from Google (ampproject#26805)
  Sync from Google (ampproject#26803)
  Move video_state macro (ampproject#26212)
  🚀 Move ads variables to amp-analytics (ampproject#25113)
  Sync from Google (ampproject#26800)
  Sync from Google (ampproject#26798)
  Sync from Google (ampproject#26792)
  Another set of example.com change (ampproject#26753)
  Add PWA multidoc loader to examples (ampproject#26680)
  🐛Check for window null before creating tracking pixel (ampproject#26749)
  trying to update Sauce timeouts (ampproject#26737)
  🐛Fixes swipe to dismiss badly ordered swipes on `amp-lightbox-gallery` (ampproject#26788)
  ...

# Conflicts:
#	extensions/amp-accordion/amp-accordion.md
#	extensions/amp-bind/amp-bind.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants