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

Fixes on Slack Connector Documentation file #2023

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

andrianalazana
Copy link

Description

This pull request addresses documentation issues in the Slack connector. While navigating through the Slack connector process, I identified several errors in the documentation and meticulously corrected them.

Status

READY

Type of change

  • Documentation (fix or adds documentation)

How Has This Been Tested?

I've connected Opsdroid to Slack twice, paying close attention each time. I found errors and misunderstandings in the documentation, so I suggested improvements.

Checklist:

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation (if applicable)
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Copy link
Member

@jacobtomlinson jacobtomlinson left a comment

Choose a reason for hiding this comment

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

Thanks for this @andrianalazana. We recently merged a log of fixes to CI so if you update your PR to the latest commit and resolve the conflicts things should pass here.

Comment on lines 77 to 81
```eval_rst
.. note::
You should follow the instructions for the Event API first when configuring your slack connector, even if you are planning
on using slack in Socket Mode.
```
Copy link
Member

Choose a reason for hiding this comment

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

Why was this removed?

Copy link
Contributor

Choose a reason for hiding this comment

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

Event API does not need to be used first. You can use Socket Mode even without the Event API. Generally, the documentation related to the connection with slack is a little bit unclear, that's why this pr.

Copy link
Member

Choose a reason for hiding this comment

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

Event API does not need to be used first.

We generally recommend everyone set up the event API because it is more fully featured than the Socket API. That's why this message is here.

Copy link
Author

Choose a reason for hiding this comment

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

I understand the situation. However, the current note stating that the Event API is a prerequisite even for Socket Mode may not be entirely accurate. Would it be acceptable if I modified the note to recommend using the Event API for its full features?

Copy link
Member

Choose a reason for hiding this comment

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

Yep that sounds great

Copy link
Author

Choose a reason for hiding this comment

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

ok! I'll come back later with the changes. Thanks

@jacobtomlinson
Copy link
Member

Now that #2038 has been merged could you clean this PR up?

@andrianalazana
Copy link
Author

I've made the changes. Let me know if something else is missing! Thanks

You should follow the instructions for the Event API first when configuring your slack connector, even if you are planning
on using slack in Socket Mode.
```
> **_NOTE:_** While it is not mandatory to configure the Event API before using Slack in Socket Mode, we recommend setting up the Event API for its full feature set.
Copy link
Member

Choose a reason for hiding this comment

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

Can you put this back inside the eval_rst block and use the note directive as it was before?

Copy link
Author

Choose a reason for hiding this comment

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

yeah of course. Done!

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

Successfully merging this pull request may close these issues.

None yet

3 participants