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

Slack command to create a new doc #870

Open
tommoor opened this issue Jan 18, 2019 · 4 comments
Open

Slack command to create a new doc #870

tommoor opened this issue Jan 18, 2019 · 4 comments

Comments

@tommoor
Copy link
Member

@tommoor tommoor commented Jan 18, 2019

e.g. /outline new This is the title

Outline should respond in the channel with an attachment for the newly created document

@co16353sidak
Copy link

@co16353sidak co16353sidak commented Feb 17, 2019

Hey @tommoor, would like to work in this as my first contribution here, please give me the go ahead and some guidance.

@tommoor
Copy link
Member Author

@tommoor tommoor commented Feb 17, 2019

Hi Sidak, I believe this one is relatively straight forward, we'd simply need to add to this handler for the keyword combination:

https://github.com/outline/outline/blob/master/server/api/hooks.js#L49

I'd probably refactor it to split into two method based on whether the first word is "new" or not.


Note: There is a spec file too which can be used to work on the functionality without having to connect to Slack in the dev environment. A series of associated specs would be expected for any API PR to be merged.

@tapaswenipathak
Copy link

@tapaswenipathak tapaswenipathak commented Aug 3, 2019

Hi folks: Can I work on the ticket or is the ticket internal?

@tommoor
Copy link
Member Author

@tommoor tommoor commented Aug 3, 2019

Open and outstanding

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

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.