Closed sfreeman422 closed 5 years ago
👌
Do we want the command to start with "/muzzlePullRequest" or "/statsPullRequest"? The latter would allow us to maintain the ability to tab quickly while attempting a muzzle.
Data Length The second idea that we'll need to address is the time span on our pulls. We could have a default setting of 7 days. A second layer of development could be to build out a day input. Example /statsKDR - defaults to a previous 7 day pull /statsKDR 10 - pulls the last 10 days of data
Probably Good Idea There should also be a way to unfurl all the stats for that particular /statsPullRequest. Maybe some sort of master stats pull with all the data mildly formatted and dumped?
Maybe Unnecessary There could be room for abuse so we should probably cap /statsPulls to 2 per hour. Could be spammed but alternatively we could muzzle the /stats-puller to suppress them
/muzzlePullRequest
or /statsPullRequest
. I was thinking something like /stats
or to be more specific /muzzlestats
.all
parameter that gives you all time data. Assuming a pattern of /muzzlestats reportType reportSubtype timePeriod
Lets start with the below parameters, each parameter is required for a successful /muzzlestats
call:reportType:
reportSubtype:
Time period:
I think we can run with this a little bit and start thinking up some solutions.
Re: "probably good idea" are you saying to just dump the entire contents of the DB? Almost like a kill feed showing all of the muzzle that happened, and who muzzled who?
We absolutely should limit this. The 2 per hour base is a good starting point.
A version of this exists now with /muzzlestats
that pulls a generic all-time report. Do we still care about time-based stats or should we just leave this as is?
I think it would be cool if we got a muzzle heat-map going but it could be tabled for now.
Time based stats are added. If we build out a heatmap were gunna need an entire front end so I'm not gunna address that on this ticket.
Describe the solution you'd like Users should be able to generate reports on-demand via the
/muzzlestats
slash command. Options for the command should be discussed in #muzzlefeedback and added here.