Skip to content

Commit fb9180e

Browse files
authored
Merge pull request #150 from jasperapp/refactor-fragment
Refactor fragment
2 parents a8f491d + 49585f7 commit fb9180e

File tree

120 files changed

+7498
-7945
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+7498
-7945
lines changed

misc/sample.json

+220
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,220 @@
1+
{
2+
"total_count": 1,
3+
"incomplete_results": false,
4+
"items": [
5+
{
6+
"url": "https://api.github.com/repos/h13i32maru/toybox/issues/5",
7+
"repository_url": "https://api.github.com/repos/h13i32maru/toybox",
8+
"labels_url": "https://api.github.com/repos/h13i32maru/toybox/issues/5/labels{/name}",
9+
"comments_url": "https://api.github.com/repos/h13i32maru/toybox/issues/5/comments",
10+
"events_url": "https://api.github.com/repos/h13i32maru/toybox/issues/5/events",
11+
"html_url": "https://github.com/h13i32maru/toybox/pull/5",
12+
"id": 187984244,
13+
"node_id": "MDExOlB1bGxSZXF1ZXN0OTI3NzIxMDc=",
14+
"number": 5,
15+
"title": "H13i32maru patch 1",
16+
"user": {
17+
"login": "h13i32maru",
18+
"id": 985170,
19+
"node_id": "MDQ6VXNlcjk4NTE3MA==",
20+
"avatar_url": "https://avatars1.githubusercontent.com/u/985170?v=4",
21+
"gravatar_id": "",
22+
"url": "https://api.github.com/users/h13i32maru",
23+
"html_url": "https://github.com/h13i32maru",
24+
"followers_url": "https://api.github.com/users/h13i32maru/followers",
25+
"following_url": "https://api.github.com/users/h13i32maru/following{/other_user}",
26+
"gists_url": "https://api.github.com/users/h13i32maru/gists{/gist_id}",
27+
"starred_url": "https://api.github.com/users/h13i32maru/starred{/owner}{/repo}",
28+
"subscriptions_url": "https://api.github.com/users/h13i32maru/subscriptions",
29+
"organizations_url": "https://api.github.com/users/h13i32maru/orgs",
30+
"repos_url": "https://api.github.com/users/h13i32maru/repos",
31+
"events_url": "https://api.github.com/users/h13i32maru/events{/privacy}",
32+
"received_events_url": "https://api.github.com/users/h13i32maru/received_events",
33+
"type": "User",
34+
"site_admin": false
35+
},
36+
"labels": [
37+
{
38+
"id": 474494327,
39+
"node_id": "MDU6TGFiZWw0NzQ0OTQzMjc=",
40+
"url": "https://api.github.com/repos/h13i32maru/toybox/labels/BUG",
41+
"name": "BUG",
42+
"color": "ff22ff",
43+
"default": false,
44+
"description": null
45+
},
46+
{
47+
"id": 50615625,
48+
"node_id": "MDU6TGFiZWw1MDYxNTYyNQ==",
49+
"url": "https://api.github.com/repos/h13i32maru/toybox/labels/enhancement",
50+
"name": "enhancement",
51+
"color": "84b6eb",
52+
"default": true,
53+
"description": null
54+
},
55+
{
56+
"id": 50615623,
57+
"node_id": "MDU6TGFiZWw1MDYxNTYyMw==",
58+
"url": "https://api.github.com/repos/h13i32maru/toybox/labels/feature",
59+
"name": "feature",
60+
"color": "fc2929",
61+
"default": false,
62+
"description": null
63+
},
64+
{
65+
"id": 50615624,
66+
"node_id": "MDU6TGFiZWw1MDYxNTYyNA==",
67+
"url": "https://api.github.com/repos/h13i32maru/toybox/labels/internal",
68+
"name": "internal",
69+
"color": "cccccc",
70+
"default": false,
71+
"description": null
72+
},
73+
{
74+
"id": 50615626,
75+
"node_id": "MDU6TGFiZWw1MDYxNTYyNg==",
76+
"url": "https://api.github.com/repos/h13i32maru/toybox/labels/invalid",
77+
"name": "invalid",
78+
"color": "e6e6e6",
79+
"default": true,
80+
"description": null
81+
},
82+
{
83+
"id": 50615627,
84+
"node_id": "MDU6TGFiZWw1MDYxNTYyNw==",
85+
"url": "https://api.github.com/repos/h13i32maru/toybox/labels/question",
86+
"name": "question",
87+
"color": "cc317c",
88+
"default": true,
89+
"description": null
90+
},
91+
{
92+
"id": 50615628,
93+
"node_id": "MDU6TGFiZWw1MDYxNTYyOA==",
94+
"url": "https://api.github.com/repos/h13i32maru/toybox/labels/wontfix",
95+
"name": "wontfix",
96+
"color": "ffffff",
97+
"default": true,
98+
"description": null
99+
}
100+
],
101+
"state": "open",
102+
"locked": false,
103+
"assignee": {
104+
"login": "h13i32maru",
105+
"id": 985170,
106+
"node_id": "MDQ6VXNlcjk4NTE3MA==",
107+
"avatar_url": "https://avatars1.githubusercontent.com/u/985170?v=4",
108+
"gravatar_id": "",
109+
"url": "https://api.github.com/users/h13i32maru",
110+
"html_url": "https://github.com/h13i32maru",
111+
"followers_url": "https://api.github.com/users/h13i32maru/followers",
112+
"following_url": "https://api.github.com/users/h13i32maru/following{/other_user}",
113+
"gists_url": "https://api.github.com/users/h13i32maru/gists{/gist_id}",
114+
"starred_url": "https://api.github.com/users/h13i32maru/starred{/owner}{/repo}",
115+
"subscriptions_url": "https://api.github.com/users/h13i32maru/subscriptions",
116+
"organizations_url": "https://api.github.com/users/h13i32maru/orgs",
117+
"repos_url": "https://api.github.com/users/h13i32maru/repos",
118+
"events_url": "https://api.github.com/users/h13i32maru/events{/privacy}",
119+
"received_events_url": "https://api.github.com/users/h13i32maru/received_events",
120+
"type": "User",
121+
"site_admin": false
122+
},
123+
"assignees": [
124+
{
125+
"login": "h13i32maru",
126+
"id": 985170,
127+
"node_id": "MDQ6VXNlcjk4NTE3MA==",
128+
"avatar_url": "https://avatars1.githubusercontent.com/u/985170?v=4",
129+
"gravatar_id": "",
130+
"url": "https://api.github.com/users/h13i32maru",
131+
"html_url": "https://github.com/h13i32maru",
132+
"followers_url": "https://api.github.com/users/h13i32maru/followers",
133+
"following_url": "https://api.github.com/users/h13i32maru/following{/other_user}",
134+
"gists_url": "https://api.github.com/users/h13i32maru/gists{/gist_id}",
135+
"starred_url": "https://api.github.com/users/h13i32maru/starred{/owner}{/repo}",
136+
"subscriptions_url": "https://api.github.com/users/h13i32maru/subscriptions",
137+
"organizations_url": "https://api.github.com/users/h13i32maru/orgs",
138+
"repos_url": "https://api.github.com/users/h13i32maru/repos",
139+
"events_url": "https://api.github.com/users/h13i32maru/events{/privacy}",
140+
"received_events_url": "https://api.github.com/users/h13i32maru/received_events",
141+
"type": "User",
142+
"site_admin": false
143+
},
144+
{
145+
"login": "h13i32maru-test",
146+
"id": 24983927,
147+
"node_id": "MDQ6VXNlcjI0OTgzOTI3",
148+
"avatar_url": "https://avatars0.githubusercontent.com/u/24983927?v=4",
149+
"gravatar_id": "",
150+
"url": "https://api.github.com/users/h13i32maru-test",
151+
"html_url": "https://github.com/h13i32maru-test",
152+
"followers_url": "https://api.github.com/users/h13i32maru-test/followers",
153+
"following_url": "https://api.github.com/users/h13i32maru-test/following{/other_user}",
154+
"gists_url": "https://api.github.com/users/h13i32maru-test/gists{/gist_id}",
155+
"starred_url": "https://api.github.com/users/h13i32maru-test/starred{/owner}{/repo}",
156+
"subscriptions_url": "https://api.github.com/users/h13i32maru-test/subscriptions",
157+
"organizations_url": "https://api.github.com/users/h13i32maru-test/orgs",
158+
"repos_url": "https://api.github.com/users/h13i32maru-test/repos",
159+
"events_url": "https://api.github.com/users/h13i32maru-test/events{/privacy}",
160+
"received_events_url": "https://api.github.com/users/h13i32maru-test/received_events",
161+
"type": "User",
162+
"site_admin": false
163+
}
164+
],
165+
"milestone": {
166+
"url": "https://api.github.com/repos/h13i32maru/toybox/milestones/2",
167+
"html_url": "https://github.com/h13i32maru/toybox/milestone/2",
168+
"labels_url": "https://api.github.com/repos/h13i32maru/toybox/milestones/2/labels",
169+
"id": 2130743,
170+
"node_id": "MDk6TWlsZXN0b25lMjEzMDc0Mw==",
171+
"number": 2,
172+
"title": "v0.1.0",
173+
"description": "",
174+
"creator": {
175+
"login": "h13i32maru",
176+
"id": 985170,
177+
"node_id": "MDQ6VXNlcjk4NTE3MA==",
178+
"avatar_url": "https://avatars1.githubusercontent.com/u/985170?v=4",
179+
"gravatar_id": "",
180+
"url": "https://api.github.com/users/h13i32maru",
181+
"html_url": "https://github.com/h13i32maru",
182+
"followers_url": "https://api.github.com/users/h13i32maru/followers",
183+
"following_url": "https://api.github.com/users/h13i32maru/following{/other_user}",
184+
"gists_url": "https://api.github.com/users/h13i32maru/gists{/gist_id}",
185+
"starred_url": "https://api.github.com/users/h13i32maru/starred{/owner}{/repo}",
186+
"subscriptions_url": "https://api.github.com/users/h13i32maru/subscriptions",
187+
"organizations_url": "https://api.github.com/users/h13i32maru/orgs",
188+
"repos_url": "https://api.github.com/users/h13i32maru/repos",
189+
"events_url": "https://api.github.com/users/h13i32maru/events{/privacy}",
190+
"received_events_url": "https://api.github.com/users/h13i32maru/received_events",
191+
"type": "User",
192+
"site_admin": false
193+
},
194+
"open_issues": 2,
195+
"closed_issues": 2,
196+
"state": "open",
197+
"created_at": "2016-11-12T05:24:55Z",
198+
"updated_at": "2020-08-09T23:10:14Z",
199+
"due_on": null,
200+
"closed_at": null
201+
},
202+
"comments": 9,
203+
"created_at": "2016-11-08T12:52:40Z",
204+
"updated_at": "2020-08-10T03:30:49Z",
205+
"closed_at": null,
206+
"author_association": "OWNER",
207+
"active_lock_reason": null,
208+
"draft": false,
209+
"pull_request": {
210+
"url": "https://api.github.com/repos/h13i32maru/toybox/pulls/5",
211+
"html_url": "https://github.com/h13i32maru/toybox/pull/5",
212+
"diff_url": "https://github.com/h13i32maru/toybox/pull/5.diff",
213+
"patch_url": "https://github.com/h13i32maru/toybox/pull/5.patch"
214+
},
215+
"body": "aaaaaa",
216+
"performed_via_github_app": null,
217+
"score": 1.0
218+
}
219+
]
220+
}

0 commit comments

Comments
 (0)