X Tutup
Skip to content

feat(transformers): provide a flag to disable inlining views#2658

Closed
TedSander wants to merge 1 commit intoangular:masterfrom
TedSander:inlineTemplatesFlag
Closed

feat(transformers): provide a flag to disable inlining views#2658
TedSander wants to merge 1 commit intoangular:masterfrom
TedSander:inlineTemplatesFlag

Conversation

@TedSander
Copy link
Copy Markdown
Contributor

Add a flag to allow a user to disable inlining css/html content into the views.

Review on Reviewable

@TedSander
Copy link
Copy Markdown
Contributor Author

@jakemac53 what do you think of this? Isn't urgent. Just a nice to have for environments that don't want to inline html. Example when they want to use http 2.0 server push.

@jakemac53
Copy link
Copy Markdown
Contributor

It should be fine, we can convert all urls to package: urls in the transformer and then we don't need mirrors in the deployed version.

@TedSander
Copy link
Copy Markdown
Contributor Author

Cool. Then should we review it and check it in before too much drift?

@jakemac53
Copy link
Copy Markdown
Contributor

Oh, somehow I missed that you actually had a cl for this :). Reviewing it now...

@TedSander TedSander force-pushed the inlineTemplatesFlag branch from 9f1c7d8 to 6ceaca1 Compare June 25, 2015 07:07
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It would probably be good here to validate that a package: url was passed, unless we add in logic to automatically convert relative/absolute urls to package: urls.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We are going to need the logic to automatically convert relative/absolute urls to package:urls. Also need to support web assets which we aren't doing currently. I'd rather do those in separate pull requests.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Ok, can you file a bug for converting urls? I just want to make sure that doesn't fall through the cracks.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done #2733

@tbosch
Copy link
Copy Markdown
Contributor

tbosch commented Jun 29, 2015

Please rebase ontop of master and merge...

@tbosch tbosch added the action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews label Jun 29, 2015
@TedSander TedSander force-pushed the inlineTemplatesFlag branch 2 times, most recently from e26fb57 to 8b34198 Compare June 30, 2015 00:56
@TedSander
Copy link
Copy Markdown
Contributor Author

Rebased and merged to master


Comments from the review on Reviewable.io

@munificent
Copy link
Copy Markdown
Contributor

Has this actually been merged in yet?

@TedSander
Copy link
Copy Markdown
Contributor Author

No I don't think so... I'll ping tbosch directly tomorrow.

@TedSander TedSander force-pushed the inlineTemplatesFlag branch from 8b34198 to 708fbe3 Compare July 1, 2015 05:53
Add a flag to allow a user to disable inlining css/html content into the views.
@tbosch tbosch self-assigned this Jul 1, 2015
@tbosch tbosch closed this in dcdd730 Jul 1, 2015
@TedSander TedSander deleted the inlineTemplatesFlag branch July 1, 2015 21:42
@TedSander
Copy link
Copy Markdown
Contributor Author

@munificent This is merged

@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews cla: yes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

X Tutup