-
Notifications
You must be signed in to change notification settings - Fork 4.1k
🚀 [Story performance] Move open page attachment UI to extension #37278
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
Merged
mszylkowski
merged 39 commits into
ampproject:main
from
mszylkowski:tryRemoveAttachmentUI
Jan 12, 2022
Merged
Changes from 35 commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
2689d02
Started moving page attachment
mszylkowski 32e6bd5
Create bundle
mszylkowski 778f895
Fixed tests
mszylkowski fd82574
Fixed import
mszylkowski 6c023bb
Not use service getters to avoid bundling
mszylkowski 1b372e9
Fix services
mszylkowski fbe589c
Fix shopping unit test
mszylkowski b2323ff
Removed dependency on localizationservice
mszylkowski 6458e97
Fixed localization
mszylkowski 68303bc
Fixed tests
mszylkowski d40ea05
Merge branch 'main' of github.com:ampproject/amphtml into removeAttac…
mszylkowski bc5942e
Sync service fetchers
mszylkowski fe949a0
Made services sync
mszylkowski 65fafaa
Fixed tests for sync services
mszylkowski 1cabd29
Remove unused import in test
mszylkowski a766496
AnalyticsService to sync
mszylkowski 204c4ee
Import devAssert
mszylkowski d4cc178
Remove param to buildInline
mszylkowski 35e1aab
Undo describes.js
mszylkowski f9cb0d7
Fix tests
mszylkowski bcbac30
Remove unused import
mszylkowski b8f903e
Debundle store with forms
mszylkowski 7b39379
Merge branch 'main' of github.com:ampproject/amphtml into removeAttac…
mszylkowski e429bf4
Moved open-page-attachment
mszylkowski 897e178
Merge branch 'main' of github.com:ampproject/amphtml into tryRemoveAt…
mszylkowski 57b6b23
Hooked up active attribute
mszylkowski 02b5ecb
Fixed page attachment parent element
mszylkowski 29a58a7
Fix opening attachment
mszylkowski a745d50
Fixing tests
mszylkowski 720b89e
Removed unused tests
mszylkowski 07075f8
Fixed amp-story test
mszylkowski 0272bc5
Dep-check
mszylkowski 8b6599c
Zindex fix
mszylkowski 48e514d
Moved scrim styles to page-attachment
mszylkowski 3a0bd28
Fixed zindex
mszylkowski 6b89a91
Merge branch 'main' of github.com:ampproject/amphtml into tryRemoveAt…
mszylkowski 548a923
Merge branch 'main' of github.com:ampproject/amphtml into tryRemoveAt…
mszylkowski 8d00119
Removed unused import
mszylkowski 1c3dc84
Fixed duplicate imports in test
mszylkowski File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
File renamed without changes.
This file contains hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not use the
localizehelper?Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
localizehelper is used insideamp-storybecause part of it is "instantiate a new LocalizationService if not instantiated already" (since the amp-story bundle has that service, it's free to do that in there). On extensions we don't want to add the service in the bundle, just fetch it from the document, so we can't use thatlocalizehelper or we would be bundling it into all the extensions that need it.