mirror of
https://github.com/pd4d10/git-touch.git
synced 2026-03-09 07:12:11 -05:00
[PR #179] [MERGED] feat(github): releases, gists(graphql) #276
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pd4d10/git-touch/pull/179
Author: @shreyas1599
Created: 1/30/2021
Status: ✅ Merged
Merged: 1/31/2021
Merged by: @pd4d10
Base:
main← Head:github-graphql-1📝 Commits (2)
431646bfeat: releases, gists: graphql migratef81c909fix: use conditional to handle zero length📊 Changes
17 files changed (+44386 additions, -37381 deletions)
View changed files
📝
lib/graphql/github.ast.gql.dart(+396 -1)📝
lib/graphql/github.data.gql.dart(+543 -0)📝
lib/graphql/github.data.gql.g.dart(+41398 -37255)📝
lib/graphql/github.graphql(+73 -0)📝
lib/graphql/github.req.gql.dart(+123 -0)📝
lib/graphql/github.req.gql.g.dart(+1080 -86)📝
lib/graphql/github.var.gql.dart(+47 -0)📝
lib/graphql/github.var.gql.g.dart(+430 -0)📝
lib/graphql/serializers.gql.dart(+54 -0)📝
lib/graphql/serializers.gql.g.dart(+32 -0)📝
lib/router.dart(+7 -0)📝
lib/screens/gh_gists.dart(+17 -17)📝
lib/screens/gh_gists_files.dart(+15 -12)➕
lib/screens/gh_releases.dart(+48 -0)📝
lib/screens/gh_repo.dart(+7 -5)📝
lib/widgets/gists_item.dart(+2 -5)➕
lib/widgets/release_item.dart(+114 -0)📄 Description
Gists (graphql)
Releases (download url is the first downloadable asset)
Graphql response does not return source code assets:

in the below image only the apk asset is returned.
Possible Improvement: If a release has multiple non-source code assets then use SimpleDialog, but there is no equivalent cupertino widget. Not sure if we should create a separate screen just for this?Screenshot

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.