TODO: for now fetchGogs uses the template of bitbucket. Will refactor when I refactor that
Lot of attributes were missing in the API response. API seems to be in very early stages. I added comments to indicate this wherever appropriate
In some places I used this name: p.fullName.split('/')[1]. I'm not sure whether I should perform the processing while building the widget or create a getter in gogs.dart and move this there?
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/170
**Author:** [@shreyas1599](https://github.com/shreyas1599)
**Created:** 1/22/2021
**Status:** ✅ Merged
**Merged:** 1/23/2021
**Merged by:** [@pd4d10](https://github.com/pd4d10)
**Base:** `main` ← **Head:** `gogs-setup`
---
### 📝 Commits (1)
- [`5702ca4`](https://github.com/pd4d10/git-touch/commit/5702ca4f809f4ebc513e46f7d72f7cef5c350b27) feat(gogs): setup
### 📊 Changes
**18 files changed** (+1165 additions, -1 deletions)
<details>
<summary>View changed files</summary>
📝 `lib/home.dart` (+17 -0)
📝 `lib/main.dart` (+4 -1)
📝 `lib/models/auth.dart` (+105 -0)
➕ `lib/models/gogs.dart` (+133 -0)
➕ `lib/models/gogs.g.dart` (+228 -0)
📝 `lib/router.dart` (+68 -0)
➕ `lib/screens/go_commits.dart` (+43 -0)
➕ `lib/screens/go_issues.dart` (+62 -0)
➕ `lib/screens/go_object.dart` (+66 -0)
➕ `lib/screens/go_orgs.dart` (+43 -0)
➕ `lib/screens/go_repo.dart` (+152 -0)
➕ `lib/screens/go_repos.dart` (+44 -0)
➕ `lib/screens/go_search.dart` (+9 -0)
➕ `lib/screens/go_user.dart` (+105 -0)
➕ `lib/screens/go_users.dart` (+43 -0)
📝 `lib/screens/login.dart` (+20 -0)
📝 `lib/widgets/repository_item.dart` (+16 -0)
📝 `lib/widgets/user_item.dart` (+7 -0)
</details>
### 📄 Description
#117
- User
- Repo, Repos
- Commits
- Object
- Issues
- Search Screen (placeholder text)
- TODO: for now `fetchGogs` uses the template of bitbucket. Will refactor when I refactor that
- Lot of attributes were missing in the API response. API seems to be in very early stages. I added comments to indicate this wherever appropriate
- In some places I used this `name: p.fullName.split('/')[1]`. I'm not sure whether I should perform the processing while building the widget or create a getter in `gogs.dart` and move this there?
- 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/170
Author: @shreyas1599
Created: 1/22/2021
Status: ✅ Merged
Merged: 1/23/2021
Merged by: @pd4d10
Base:
main← Head:gogs-setup📝 Commits (1)
5702ca4feat(gogs): setup📊 Changes
18 files changed (+1165 additions, -1 deletions)
View changed files
📝
lib/home.dart(+17 -0)📝
lib/main.dart(+4 -1)📝
lib/models/auth.dart(+105 -0)➕
lib/models/gogs.dart(+133 -0)➕
lib/models/gogs.g.dart(+228 -0)📝
lib/router.dart(+68 -0)➕
lib/screens/go_commits.dart(+43 -0)➕
lib/screens/go_issues.dart(+62 -0)➕
lib/screens/go_object.dart(+66 -0)➕
lib/screens/go_orgs.dart(+43 -0)➕
lib/screens/go_repo.dart(+152 -0)➕
lib/screens/go_repos.dart(+44 -0)➕
lib/screens/go_search.dart(+9 -0)➕
lib/screens/go_user.dart(+105 -0)➕
lib/screens/go_users.dart(+43 -0)📝
lib/screens/login.dart(+20 -0)📝
lib/widgets/repository_item.dart(+16 -0)📝
lib/widgets/user_item.dart(+7 -0)📄 Description
#117
fetchGogsuses the template of bitbucket. Will refactor when I refactor thatname: p.fullName.split('/')[1]. I'm not sure whether I should perform the processing while building the widget or create a getter ingogs.dartand move this there?🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.