Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Conversation

devversion
Copy link
Member

Currently we always rename the icons id's on cache initialization, but that causes problems, when using the cached icon multiple times in the app.
A super elegant solution, is to transform the ids, when the icon is requested from the cache.

Referencing #7467

@david-gang Ping.

@devversion devversion added the needs: review This PR is waiting on review from the team label Mar 8, 2016
@EladBezalel
Copy link
Member

@topherfangio please take a look as well

@david-gang
Copy link
Contributor

Hi @devversion ,

The fix looks cool 👍
I think that the test case should have some positive expectation rather than not.toBe but maybe it is an issue of taste :-)

@topherfangio
Copy link
Contributor

@EladBezalel LGTM 👍

@EladBezalel EladBezalel added pr: merge ready This PR is ready for a caretaker to review and removed needs: review This PR is waiting on review from the team labels Mar 14, 2016
@devversion devversion added the needs: rebase This PR needs to be rebased on the latest commits from master and conflicts need to be resolved label Mar 17, 2016
Currently we always rename the icons id's on cache initialization, but that causes problems, when using the cached icon multiple times in the app.
A super elegant solution, is to transform the ids, when the icon is requested from the cache.
@devversion devversion force-pushed the fix/icon-duplicate-ids branch from df6f94f to c74dfda Compare March 21, 2016 20:46
@devversion devversion removed the needs: rebase This PR needs to be rebased on the latest commits from master and conflicts need to be resolved label Mar 21, 2016
ThomasBurleson pushed a commit that referenced this pull request Apr 1, 2016
Currently we always rename the icons id's on cache initialization, but that causes problems, when using the cached icon multiple times in the app.
A super elegant solution, is to transform the ids, when the icon is requested from the cache.

Closes #7468
ThomasBurleson pushed a commit that referenced this pull request Apr 1, 2016
Currently we always rename the icons id's on cache initialization, but that causes problems, when using the cached icon multiple times in the app.
A super elegant solution, is to transform the ids, when the icon is requested from the cache.

Closes #7468
gmoothart pushed a commit to gmoothart/material that referenced this pull request Apr 5, 2016
Currently we always rename the icons id's on cache initialization, but that causes problems, when using the cached icon multiple times in the app.
A super elegant solution, is to transform the ids, when the icon is requested from the cache.

Closes angular#7468
@devversion devversion deleted the fix/icon-duplicate-ids branch April 21, 2016 12:09
@angular angular locked as resolved and limited conversation to collaborators Oct 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
pr: merge ready This PR is ready for a caretaker to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants