Added Issues, PullRequests, Issue screens. PullRequest screen not done.
In Issues - creating an issue, commenting on an issue done
changed number prop to subtitle in issue_item.dart
Added a new prop prefix to comment_item.dart. CommentItem uses UserName which has the github prefix. Added a prefix prop so it works with sites other than github
In ge_pulls.dart, commentCount is set to 0 because the response from gitee doesn't have a comment count property. See this example response.
Screenshots:
🔄 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/144
**Author:** [@shreyas1599](https://github.com/shreyas1599)
**Created:** 1/5/2021
**Status:** ✅ Merged
**Merged:** 1/6/2021
**Merged by:** [@pd4d10](https://github.com/pd4d10)
**Base:** `main` ← **Head:** `gitee-update`
---
### 📝 Commits (6)
- [`df9a80c`](https://github.com/pd4d10/git-touch/commit/df9a80c65bd85fff1b99c5da91c261621f92857b) feat: gitee pulls, issue screens
- [`83b211c`](https://github.com/pd4d10/git-touch/commit/83b211ce89ff5d7b64224e674dcb77f2b327adfe) add action button - issue screen
- [`f59e4ee`](https://github.com/pd4d10/git-touch/commit/f59e4ee53ee599865f355ac0b3c02bb0ef25fb1c) remove unnecessary comment
- [`74c2451`](https://github.com/pd4d10/git-touch/commit/74c245128c8a7963cf7f5972c95e673668a47d34) feat: gitee create issue in repo
- [`b396aa5`](https://github.com/pd4d10/git-touch/commit/b396aa5d13af1b2e6a19a381edb4d3c84376b513) feat: commenting in issue screen
- [`5bcea8b`](https://github.com/pd4d10/git-touch/commit/5bcea8b6bd7b2b784319c11fdd24d210a5f37111) fix: prepend '#' to subtitle props
### 📊 Changes
**22 files changed** (+551 additions, -20 deletions)
<details>
<summary>View changed files</summary>
📝 `lib/models/auth.dart` (+19 -3)
📝 `lib/models/gitee.dart` (+46 -0)
📝 `lib/models/gitee.g.dart` (+79 -0)
📝 `lib/router.dart` (+40 -0)
📝 `lib/screens/bb_issues.dart` (+1 -1)
📝 `lib/screens/bb_pulls.dart` (+1 -1)
➕ `lib/screens/ge_issue.dart` (+116 -0)
➕ `lib/screens/ge_issue_comment.dart` (+65 -0)
➕ `lib/screens/ge_issue_form.dart` (+77 -0)
➕ `lib/screens/ge_issues.dart` (+46 -0)
➕ `lib/screens/ge_pulls.dart` (+40 -0)
📝 `lib/screens/ge_repo.dart` (+2 -2)
📝 `lib/screens/gh_issues.dart` (+1 -1)
📝 `lib/screens/gh_pulls.dart` (+1 -1)
📝 `lib/screens/gh_search.dart` (+1 -1)
📝 `lib/screens/gl_issue.dart` (+2 -0)
📝 `lib/screens/gl_issues.dart` (+1 -1)
📝 `lib/screens/gl_merge_requests.dart` (+1 -1)
📝 `lib/screens/gt_issues.dart` (+1 -1)
📝 `lib/widgets/comment_item.dart` (+5 -2)
_...and 2 more files_
</details>
### 📄 Description
- Added `Issues`, `PullRequests`, `Issue` screens. `PullRequest` screen not done.
- In Issues - `creating an issue`, `commenting on an issue` done
- changed `number` prop to `subtitle` in `issue_item.dart`
- Added a new prop prefix to `comment_item.dart`. [`CommentItem`](https://github.com/git-touch/git-touch/blob/8aa660437fa3ed098ecd1fb1462a80e87a36d1fc/lib/widgets/comment_item.dart#L173) uses [`UserName`](https://github.com/git-touch/git-touch/blob/8aa660437fa3ed098ecd1fb1462a80e87a36d1fc/lib/widgets/user_name.dart#L15) which has the `github` prefix. Added a prefix prop so it works with sites other than `github`
- In `ge_pulls.dart`, commentCount is set to 0 because the response from gitee doesn't have a comment count property. See this example [response](https://gitee.com/api/v5/repos/shreyas1599/test/pulls).
- Screenshots:




---
<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/144
Author: @shreyas1599
Created: 1/5/2021
Status: ✅ Merged
Merged: 1/6/2021
Merged by: @pd4d10
Base:
main← Head:gitee-update📝 Commits (6)
df9a80cfeat: gitee pulls, issue screens83b211cadd action button - issue screenf59e4eeremove unnecessary comment74c2451feat: gitee create issue in repob396aa5feat: commenting in issue screen5bcea8bfix: prepend '#' to subtitle props📊 Changes
22 files changed (+551 additions, -20 deletions)
View changed files
📝
lib/models/auth.dart(+19 -3)📝
lib/models/gitee.dart(+46 -0)📝
lib/models/gitee.g.dart(+79 -0)📝
lib/router.dart(+40 -0)📝
lib/screens/bb_issues.dart(+1 -1)📝
lib/screens/bb_pulls.dart(+1 -1)➕
lib/screens/ge_issue.dart(+116 -0)➕
lib/screens/ge_issue_comment.dart(+65 -0)➕
lib/screens/ge_issue_form.dart(+77 -0)➕
lib/screens/ge_issues.dart(+46 -0)➕
lib/screens/ge_pulls.dart(+40 -0)📝
lib/screens/ge_repo.dart(+2 -2)📝
lib/screens/gh_issues.dart(+1 -1)📝
lib/screens/gh_pulls.dart(+1 -1)📝
lib/screens/gh_search.dart(+1 -1)📝
lib/screens/gl_issue.dart(+2 -0)📝
lib/screens/gl_issues.dart(+1 -1)📝
lib/screens/gl_merge_requests.dart(+1 -1)📝
lib/screens/gt_issues.dart(+1 -1)📝
lib/widgets/comment_item.dart(+5 -2)...and 2 more files
📄 Description
Issues,PullRequests,Issuescreens.PullRequestscreen not done.creating an issue,commenting on an issuedonenumberprop tosubtitleinissue_item.dartcomment_item.dart.CommentItemusesUserNamewhich has thegithubprefix. Added a prefix prop so it works with sites other thangithubge_pulls.dart, commentCount is set to 0 because the response from gitee doesn't have a comment count property. See this example response.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.