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.
## 📋 Pull Request Information
**Original PR:** https://github.com/pd4d10/git-touch/pull/179
**Author:** [@shreyas1599](https://github.com/shreyas1599)
**Created:** 1/30/2021
**Status:** ✅ Merged
**Merged:** 1/31/2021
**Merged by:** [@pd4d10](https://github.com/pd4d10)
**Base:** `main` ← **Head:** `github-graphql-1`
---
### 📝 Commits (2)
- [`431646b`](https://github.com/pd4d10/git-touch/commit/431646b34f8c70436831dae0d8a4dc20a484dede) feat: releases, gists: graphql migrate
- [`f81c909`](https://github.com/pd4d10/git-touch/commit/f81c9093d923a1f098204630d9fdc057262a0485) fix: use conditional to handle zero length
### 📊 Changes
**17 files changed** (+44386 additions, -37381 deletions)
<details>
<summary>View changed files</summary>
📝 `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)
</details>
### 📄 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.
<img width="542" alt="image" src="https://user-images.githubusercontent.com/28999492/106353967-5e72a700-6314-11eb-9dcf-05ded2da5501.png">
- ~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

---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 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.