Skip to content

Disable all menu items while in welcome flow - #1714

Merged
niik merged 11 commits into
masterfrom
welcome-menus
May 29, 2017
Merged

niik merged 11 commits into
masterfrom
welcome-menus

Conversation

@iAmWillShepherd

Copy link
Copy Markdown
Contributor

Fixes #1529

@iAmWillShepherd iAmWillShepherd added the ready-for-review Pull Requests that are ready to be reviewed by the maintainers label May 23, 2017
@niik niik self-assigned this May 23, 2017
Comment thread app/src/lib/menu-update.ts Outdated
'show-branches-list',
'new-repository',
'add-local-repository',
'clone-repository',

This comment was marked as spam.

This comment was marked as spam.

@iAmWillShepherd

Copy link
Copy Markdown
Contributor Author

🥇

Comment thread app/src/lib/menu-update.ts Outdated

menuStateBuilder.disable('new-repository')
menuStateBuilder.disable('add-local-repository')
menuStateBuilder.disable('clone-repository')

This comment was marked as spam.

@iAmWillShepherd

Copy link
Copy Markdown
Contributor Author

👍

}
} else {
for (const id of welcomeScopedIds) {
menuStateBuilder.enable(id)

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

menuStateBuilder.disable('pull')
}

const welcomeScopedIds: ReadonlyArray<MenuIDs> = [

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@iAmWillShepherd

Copy link
Copy Markdown
Contributor Author

💯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-review Pull Requests that are ready to be reviewed by the maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants