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

chore: update the navigation link for setting page #4827

Merged
merged 8 commits into from
Nov 18, 2020

Conversation

lei9444
Copy link
Contributor

@lei9444 lei9444 commented Nov 16, 2020

Description

  1. disable start bot button when there are some errors
  2. fix the diagnostic link error in sidebar
  3. add link for setting page

Task Item

#minor

Screenshots

link

@srinaath srinaath requested a review from zhixzhan November 17, 2020 17:48
@@ -57,7 +57,7 @@ export const topLinks = (
disabled: !botLoaded,
},
{
to: `/bot/${projectId}/diagnostics`,
to: `/bot/${rootProjectId || projectId}/diagnostics`,
Copy link
Contributor

Choose a reason for hiding this comment

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

shouldn't this be prioritizing projectId over the rootProjectId? meaning if projectId is there us it, otherwise fall back on the rootProjectId (projectId || rootProjectId)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi, @hatpick The projectId here I think is skillId or rootProjectId, so if the rootProjectId is null, the projectId is root id.

@lei9444 lei9444 changed the title chore: update the navigation link for setting page chore: update the navigation link for setting page[WIP] Nov 18, 2020
@srinaath
Copy link
Contributor

@lei9444 is this PR still WIP? should it moved back to draft?

@lei9444 lei9444 changed the title chore: update the navigation link for setting page[WIP] chore: update the navigation link for setting page Nov 18, 2020
@lei9444
Copy link
Contributor Author

lei9444 commented Nov 18, 2020

@lei9444 is this PR still WIP? should it moved back to draft?

Hi @srinaath this PR is ready now, I will have another PR to fix the diagnostics issues

@lei9444 lei9444 merged commit 3977ce0 into microsoft:feature/bot-projects Nov 18, 2020
@lei9444 lei9444 deleted the diagnosticlink branch February 1, 2021 02:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Not Targetting Main a pull request created not against main
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants