Githawk: unable to set any milestones for my project / Unable to decode milestones without a description

Created on 26 Jul 2018  路  15Comments  路  Source: GitHawkApp/GitHawk

I鈥檓 unable to set any miles for my project https://guthub.com/nurpax/petmate

The UI always just gives an error. Posted screencap in a comment.

馃悰 bug

Most helpful comment

Done.

All 15 comments

Screencap: https://youtu.be/3Je4zgixw-o

Do the milestone names matter? My project has 0.1 and 0.2.

I added the milestones in github web after I had syncd githawk.

The milestone names should not matter, but thanks for sharing them regardless. It could be that some decoding fails. Do you only have issue with adding milestones? Can you add assignees / comment / interact with the project in other ways via the app?

comments, labels and assignees work well for me, only milestones bugged for me.

@nurpax are you using the beta version? We could inspect the network response if so.

Sent with GitHawk

i鈥檓 using the app store version 1.21.0. i can try beta toi if that helps. that鈥檚 a separate entry in the app store or how do i get it?

Sent with GitHawk

@nurpax you can DM me on Twitter with your email and I can send the beta

Sent with GitHawk

Done.

Got beta running. Same problem w/ milestones. (which I guess was expected)

Awesome, can you three-finger tap (tap once with three fingers) and check the menu > network history? You should be able to find the (failing) network call there.

Sent with GitHawk

They're all HTTP 200 OK (5 requests)

[
  {
    "id" : 3514116,
    "description" : null,
    "open_issues" : 6,
    "state" : "open",
    "created_at" : "2018-07-22T13:29:11Z",
    "labels_url" : "https://api.github.com/repos/nurpax/petmate/milestones/1/labels",
    "url" : "https://api.github.com/repos/nurpax/petmate/milestones/1",
    "node_id" : "MDk6TWlsZXN0b25lMzUxNDExNg==",
    "closed_issues" : 6,
    "title" : "0.1",
    "creator" : {
      "id" : 297823,
      "organizations_url" : "https://api.github.com/users/nurpax/orgs",
      "received_events_url" : "https://api.github.com/users/nurpax/received_events",
      "following_url" : "https://api.github.com/users/nurpax/following{/other_user}",
      "login" : "nurpax",
      "avatar_url" : "https://avatars0.githubusercontent.com/u/297823?v=4",
      "url" : "https://api.github.com/users/nurpax",
      "node_id" : "MDQ6VXNlcjI5NzgyMw==",
      "subscriptions_url" : "https://api.github.com/users/nurpax/subscriptions",
      "repos_url" : "https://api.github.com/users/nurpax/repos",
      "type" : "User",
      "html_url" : "https://github.com/nurpax",
      "events_url" : "https://api.github.com/users/nurpax/events{/privacy}",
      "site_admin" : false,
      "starred_url" : "https://api.github.com/users/nurpax/starred{/owner}{/repo}",
      "gists_url" : "https://api.github.com/users/nurpax/gists{/gist_id}",
      "gravatar_id" : "",
      "followers_url" : "https://api.github.com/users/nurpax/followers"
    },
    "html_url" : "https://github.com/nurpax/petmate/milestone/1",
    "number" : 1,
    "updated_at" : "2018-07-26T22:35:52Z",
    "due_on" : null,
    "closed_at" : null
  },
  {
    "id" : 3514117,
    "description" : null,
    "open_issues" : 4,
    "state" : "open",
    "created_at" : "2018-07-22T13:30:01Z",
    "labels_url" : "https://api.github.com/repos/nurpax/petmate/milestones/2/labels",
    "url" : "https://api.github.com/repos/nurpax/petmate/milestones/2",
    "node_id" : "MDk6TWlsZXN0b25lMzUxNDExNw==",
    "closed_issues" : 0,
    "title" : "0.2",
    "creator" : {
      "id" : 297823,
      "organizations_url" : "https://api.github.com/users/nurpax/orgs",
      "received_events_url" : "https://api.github.com/users/nurpax/received_events",
      "following_url" : "https://api.github.com/users/nurpax/following{/other_user}",
      "login" : "nurpax",
      "avatar_url" : "https://avatars0.githubusercontent.com/u/297823?v=4",
      "url" : "https://api.github.com/users/nurpax",
      "node_id" : "MDQ6VXNlcjI5NzgyMw==",
      "subscriptions_url" : "https://api.github.com/users/nurpax/subscriptions",
      "repos_url" : "https://api.github.com/users/nurpax/repos",
      "type" : "User",
      "html_url" : "https://github.com/nurpax",
      "events_url" : "https://api.github.com/users/nurpax/events{/privacy}",
      "site_admin" : false,
      "starred_url" : "https://api.github.com/users/nurpax/starred{/owner}{/repo}",
      "gists_url" : "https://api.github.com/users/nurpax/gists{/gist_id}",
      "gravatar_id" : "",
      "followers_url" : "https://api.github.com/users/nurpax/followers"
    },
    "html_url" : "https://github.com/nurpax/petmate/milestone/2",
    "number" : 2,
    "updated_at" : "2018-07-26T20:51:18Z",
    "due_on" : null,
    "closed_at" : null
  }
] 

Could it be due to the description field being "null" in milestones? I'll try to set a milestone description and see if that fixes it.

Yeah, I think that was the problem. I added a description in github to all my milestones and it works now.

I think it'd make sense to turn null to maybe an empty string. Editing the milestone description is hidden behind an "Edit milestone" button that I never clicked on before.

Awesome, I think we can fix this in the decoding of milestones! 馃憤

Sent with GitHawk

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Iron-Ham picture Iron-Ham  路  3Comments

BasThomas picture BasThomas  路  3Comments

rizwankce picture rizwankce  路  3Comments

BasThomas picture BasThomas  路  3Comments

BasThomas picture BasThomas  路  3Comments