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

Extract ShortcutInfo module #270

Merged
merged 2 commits into from
Aug 2, 2020
Merged

Conversation

NotWoods
Copy link
Contributor

@NotWoods NotWoods commented Aug 1, 2020

Pulls ShortcutInfo into its own module and delegates some logic there, simplifying TwaManifest.

Copy link
Member

@andreban andreban left a comment

Choose a reason for hiding this comment

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

Added some notes.

Generally, sounds good to me - ShortcutIcon is nevertheless tightly coupled to WebManifest. I agree splitting the classes into different files makes code easier to read, but wondering if they should be in a separate folder to reflect their relationship..

packages/core/src/lib/ShortcutInfo.ts Outdated Show resolved Hide resolved
packages/core/src/lib/TwaManifest.ts Outdated Show resolved Hide resolved
packages/core/src/spec/lib/ShortcutInfoSpec.ts Outdated Show resolved Hide resolved
packages/core/src/spec/lib/ShortcutInfoSpec.ts Outdated Show resolved Hide resolved
Copy link
Member

@andreban andreban left a comment

Choose a reason for hiding this comment

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

LGTM, Thank you!

@andreban andreban merged commit c78157b into GoogleChromeLabs:master Aug 2, 2020
@NotWoods NotWoods deleted the shortcut-inf branch August 3, 2020 01:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants