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: open a new bot will navigate to the old bot #3871

Merged
merged 1 commit into from
Aug 20, 2020

Conversation

lei9444
Copy link
Contributor

@lei9444 lei9444 commented Aug 20, 2020

Description

The reason is the design page will use the location state to navigate to the begin dialog action. The location will be updated by the @reach\router, then we use the location to update the location in our state management. So the first open will use the old location to navigate and get the old project id.

In this PR, check the project to avoid the page navigate to the old bot.

I think in R11 we need to make the router and state one way data flow. #3022

Task Item

closes #3865

Screenshots

@coveralls
Copy link

coveralls commented Aug 20, 2020

Coverage Status

Coverage decreased (-0.003%) to 56.682% when pulling 5ba2177 on lei9444:nav into bbb65c8 on microsoft:main.

@boydc2014 boydc2014 added R10-RC Approved to merge approved, waiting to be merged labels Aug 20, 2020
@boydc2014 boydc2014 closed this Aug 20, 2020
@boydc2014 boydc2014 reopened this Aug 20, 2020
@boydc2014 boydc2014 merged commit 4933f4f into microsoft:main Aug 20, 2020
@lei9444 lei9444 deleted the nav branch February 1, 2021 02:07
lei9444 added a commit to lei9444/BotFramework-Composer-1 that referenced this pull request Jun 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved to merge approved, waiting to be merged R10-RC
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issues in samples
4 participants