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

Allow interaction with Nautobot in threads #67

Closed
nniehoff opened this issue Jul 23, 2021 · 4 comments · Fixed by #201
Closed

Allow interaction with Nautobot in threads #67

nniehoff opened this issue Jul 23, 2021 · 4 comments · Fixed by #201
Assignees
Labels
hacktoberfest status: accepted This issue has been accepted by the maintainers team for implementation status: help wanted This issue is tentatively accepted pending a volunteer committed to its implementation type: enhancement type: major feature
Milestone

Comments

@nniehoff
Copy link
Contributor

Environment

  • Nautobot version: 1.1.0
  • nautobot-plugin-chatops version: 1.3.1

Proposed Functionality

Slack provides threads for conversations, it would be cool to interact with nautobot in a slack thread

Use Case

When troubleshooting an issue, Alert manager fires an alert in a slack channel. The team then uses the thread from the channel to communicate about this issue and provide additional links, logs, etc for the issue. It would be nice to have some context from Nautobot in this thread. For now it would be cool if the team could interact with Nautobot in this thread, however I could also see some automation if an alert for a specific interface fires automatically respond in the thread with device/interface information from Nautobot.

@jvanderaa jvanderaa added type: enhancement type: major feature status: help wanted This issue is tentatively accepted pending a volunteer committed to its implementation labels Aug 3, 2021
@smk4664 smk4664 added the status: accepted This issue has been accepted by the maintainers team for implementation label Oct 27, 2022
@smk4664
Copy link
Contributor

smk4664 commented Oct 27, 2022

This is going to be scoped for version 2.0.

@smk4664 smk4664 added this to the 2.0 milestone Oct 27, 2022
@sdoiron0330
Copy link
Contributor

hey @smk4664, can you assign this to me please? thanks!

@sdoiron0330
Copy link
Contributor

So, the Slack documentation makes it pretty clear: slash commands are not available in threads.

We are, however, able to respond to an event by starting or replying within a thread. I had a couple of ideas for how this could potentially look (very rough screenshots).

Option 1) By mentioning the bot's name, we could parse the text after the mention to turn into a set of commands and display the results as normal. We should also be able to have the existing interactive blocks if a full command isn't sent (forgetting a device name when using get-device as an example).

image

Option 2) We could add a "Nautobot" button within the message shortcuts that present a modal/other interactive blocks for the user to then navigate, similar to some of the preexisting subcommands.

image

image

Both of these options add a new way of interacting with the bot and feel like a far step from the simple and clean slash command, so I wanted to pause and ask for opinions on if either of these options were a good direction to go in.

@smk4664
Copy link
Contributor

smk4664 commented Mar 17, 2023

Are both an option? As long as we keep the processing and responses the same, I like the added functionality this would provide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest status: accepted This issue has been accepted by the maintainers team for implementation status: help wanted This issue is tentatively accepted pending a volunteer committed to its implementation type: enhancement type: major feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants