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

[FEATURE] can we customize the prompt information? #65

Open
qileilove opened this issue Oct 31, 2022 · 1 comment
Open

[FEATURE] can we customize the prompt information? #65

qileilove opened this issue Oct 31, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@qileilove
Copy link

qileilove commented Oct 31, 2022

Is your feature request related to a problem? Please describe.
This tool works well for me, but there are some scenarios where we would like to customize the prompt information. For example, we would like the on-call person to receive a reminder to check the ci.
Describe the solution you'd like

We can set up some custom reminder statements,like
‘Hey @nacy, we need you to help check our pipeline’

@qileilove qileilove added the enhancement New feature or request label Oct 31, 2022
@pilosus
Copy link
Owner

pilosus commented Nov 1, 2022

Hi @qileilove

currently we can add a description to a rotation with:

@dienstplan create <rotation name> <list of user mentions> <duties description>

Then each invocation of

@dienstplan who <rotation name>

results in:

Hey <user>, you are an on-call person for <rotation name> rotation.
<duties description>

E.g. in your case it could be something like this:

@dienstplan create ci-rota @nancy @qileilove @pilosus
Please help to check our pipeline

and then:

you: 
@dienstplan who ci-rota

bot: 
Hey @nancy, you are an on-call person for ci-rota rotation.
Please help to check our pipeline

When you say you want to customise the prompt, do you mean:

  1. it's not enough for you to have <duties description> field and you also want to change the wording you are an on-call person for <rotation name> rotation?

  2. Or you want to be able to edit <duties description> for a rotation after it was created?
    E.g.

@dienstplan update <rotation name> <[updated] list of user mentions> <[updated] duties description>
  1. Or you rather want to assign an individual <duties description> for each user from the <list of user mentions>?

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

No branches or pull requests

2 participants