Open r002 opened 3 years ago
issue templates
: Why can't projects
and milestone
have default values set?webhooks
: The issue.comments
discrepancy in issue_comment: created
payload problem.REST API
: Why can I not programmatically set projects
via the update issue
endpoint?Feature improvement idea: Add more coding quickstarts
. For instance, I think Google's Firebase does a great job with this. Could follow their example? Currently you have code examples for unix curl and Ruby. How about adding examples for Windows PowerShell curl/wget
(Windows developers are developers too!), Go
, Python
, and everyone else?
Developers hail from all languages and backgrounds; the easier GitHub makes it for developers to integrate with the GH universe, the more attractive the GH ecosystem will be! Ie. The whole funnel metaphor
-- first lure developers in with X
. And then later (since they've already got that GH account!), offer Y
... and then Z
... Eg. This is the entire Google Firebase strategy; it's effective! 😄 Edit: Basically update/refresh platform samples
.
Webhook Dashboard
real-time-- show webhook deliveries
on the page as they happen in real-time.
action
and issue number
at the top-level, immediately visible on the GUI in the list.
Recent Deliveries
list can update in real-time as the webhook deliveries
happen!I don't think I'm seeing all of the updates that you are making. Am I missing something?
Hi @anitabe404! 🙋♂️
Here's a quick video that shows the features that I've added to our Study Group dashboard
recently. These changes are live today in the QA build-- you can even test it out with a new card that you create today! (As long as you don't use Firefox! 😅 But I'll be fixing that bug later tonight!) In particular-- in the video, note the regions of the GUI that I circle in red-- namely, a GH issue's Milestone
field:
For some reason, the current GH default issue template
configurator doesn't allow people to set a default value for Milestone
. So I had to write some custom code to make this happen. It's been a fun exercise! 😄 The entire point of this is to make our dashboard
real-time. This way when people add cards or comments, if you have our dashboard
open at the time, you can just immediately see the new changes reflected in our GUI!
Right now it's just basic fields like a card's title
and tags
. But eventually, I'm going to include comment count
and also an overall feed
of selected events (eg. Comment reactions
) that spans all study group members. If you have any suggestions for what might be useful or what you'd like to see, lmk! I'll try to add your ideas to our project! 😀
Today's Tasks:
Motivation/Problem Statement 💭❓:
So far, I've needed to manually milestone all cards opened with
label=daily accomplishment
to bemilestone=Daily Accomplishment
. This is obviously annoying and needs to rectified with automation! GitHub webhooks: The remedy for all ails! 😁 (Reminder: Thedashboard
only reflects "Daily Accomplishment" milestoned cards in real-time.)Today's Goal/Solution 🥅:
I added logic to my
GCP Go server
to automatically milestone any newly opened issues that are labeled "daily accomplishment". The milestone is set to "Daily Accomplishment". In the GitHub universe, issues may have multiple labels but may only have one milestone.Result 🍓🍌🍉:
It works! I've deployed the
Go server
to GCP. My original plan was to simply change thedefault issue template
to automatically havemilestone=Daily Accomplishment
upon opening the issue. But it turns out the issue template doesn't supportmilestone
defaults! (Orproject
defaults either.) For that reason, I had to write thisauto-milestoning
logic on theGo server
.Anyway, now when you create an issue with the default issue template, if you keep the
dashboard
open in an adjacent window, you'll see your new card appear on thedashboard
in real-time! 😄Observations & Next Steps 🔭👣:
Today I learned that the GitHub REST API doesn't allow you to programmatically set
Projects
or assign issues to columns! 😮 No worries though. Moving forward, the Project Board will no longer be updated. (I am curious though whyProjects
can't be programmatically set via the REST API. I'll reach out to GitHub to inquire.)References 🔗:
Link any useful resources you may have found throughout the day.
Extra/Fun🎈🎉🥳: