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

feat(slack): Expose create case slash command #5295

Conversation

bashbreakpoint
Copy link
Contributor

In the slack conversation plugin, there are slash commands to be used on cases after they are created, but there is no slash command for creating a case.
As I looked into this issue, I found that the full setup for allowing the command is present, but the final wire-up of the command was not.
I added that final wire-up.
I looked for tests for any functionality like this and found none. I can create it, but I have no model to go on.
I have looked at the Contributing docs on the dispatch web page, but I'm not very sure of the standards here and am fully open to changes and feedback.

In the slack conversation plugin, there are slash commands to be used on
cases after they are created, but there is no slash command for creating
a case. As I looked into this issue, I found that the full setup for
allowing the command is present, but the final wire-up of the command
was not. I added that final wire-up. I looked for tests for any
functionality like this and found none. I can create it, but I have no
model to go on.
I am copying work from https://github.com/Netflix/dispatch/pull/5240/files
to try and emulate better what I should do. I am pretty stuck on
generating an alembic file correctly for this type definition. I'll keep
trying to figure it out from the docs, but it's not transparent to me.
@bashbreakpoint bashbreakpoint force-pushed the feat/slack-create-case-slash-command branch from eb15be7 to e584247 Compare October 8, 2024 22:43
@bashbreakpoint
Copy link
Contributor Author

If anyone is looking at this, I'm having trouble creating the alembic file I would need for this type migration. I am following the steps I find in #5240, merged last week. I've never worked with alembic and the contributing docs don't mention how to do this outside the scope of creating a new type. Extending a new type isn't transparent to me, and I'd love to do this the right way.

@metroid-samus metroid-samus added feature enhancement New feature or request and removed feature labels Oct 9, 2024
@metroid-samus metroid-samus merged commit 3e0130d into Netflix:master Oct 10, 2024
8 checks passed
@bashbreakpoint bashbreakpoint deleted the feat/slack-create-case-slash-command branch October 11, 2024 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants