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

fix(core): properly update execution permalink on location change #7152

Merged
merged 2 commits into from
Jun 27, 2019
Merged

fix(core): properly update execution permalink on location change #7152

merged 2 commits into from
Jun 27, 2019

Conversation

anotherchrisberry
Copy link
Contributor

@anotherchrisberry anotherchrisberry commented Jun 26, 2019

It looks like the $stateChangeSuccess event fires before the browser's location has been updated, so we're always behind a cycle when rendering the permalinks for executions.

Moved into a separate component because <Execution> is already pretty pretty big.

EDIT: I added a second commit to cut down on the re-render calls. What we are doing currently is kind of nuts and unnecessary and results in ~8 calls to render for each displayed execution every time a user clicks on a stage to toggle details or switch to a different execution.

@anotherchrisberry anotherchrisberry merged commit 058007e into spinnaker:master Jun 27, 2019
anotherchrisberry added a commit that referenced this pull request Jun 27, 2019
* chore(core): Bump version to 0.0.378

058007e fix(core): properly update execution permalink on location change (#7152)
9bd9624 fix(projects): Fixed project dashboard to application link (#7154)
d6ad8c2 feat(appengine): Enable new artifacts for config artifacts in deploy SG (#7153)
a9a927b feat(appengine): Enable new artifacts workflow in deploy SG (#7147)

* chore(amazon): Bump version to 0.0.195

8ee7e11 fix(amazon): Fix SpEL support for load balancers (#7151)
@anotherchrisberry anotherchrisberry deleted the ex-perma branch January 8, 2020 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants