Skip to content
This repository was archived by the owner on May 13, 2019. It is now read-only.

Slash Commands#6

Merged
alanfriedman merged 12 commits intomasterfrom
commands
Sep 25, 2017
Merged

Slash Commands#6
alanfriedman merged 12 commits intomasterfrom
commands

Conversation

@seripap
Copy link
Copy Markdown
Collaborator

@seripap seripap commented Sep 16, 2017

Not ready yet


class Nav extends Component {
newRoom() {
window.open(`/${shortId.generate()}`)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Why this instead of just navigating to root?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Does same thing, just does it at runtime here vs run time when the user opens '/'

paramaters: ['{username}'],
usage: '/nick {username}',
scope: 'global',
action: (params, dispatch) => { // eslint-disable-line
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Is this code being used?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Not yet, just left it in for example

Copy link
Copy Markdown
Collaborator

@alanfriedman alanfriedman left a comment

Choose a reason for hiding this comment

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

Couple comments

@alanfriedman alanfriedman merged commit 1719d67 into master Sep 25, 2017
@alanfriedman alanfriedman deleted the commands branch September 25, 2017 17:42
@seripap seripap mentioned this pull request Sep 25, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants