Commit graph

93 commits

Author SHA1 Message Date
EnixCoda
822b595a2f
refactor: add platform hooks 2021-06-07 22:11:58 +08:00
EnixCoda
246f794442
feat: fold source code button 2021-06-07 18:02:32 +08:00
EnixCoda
d5df98f684
fix: handle \s in path 2021-06-07 18:01:46 +08:00
EnixCoda
d19b84c9ee
fix: use textContent instead of innerText for better perf 2021-06-07 17:52:55 +08:00
EnixCoda
8184b8699e
chore: align comment amount 2021-06-04 23:31:56 +08:00
EnixCoda
c25e719bad
Merge branch 'develop' into v3 2021-05-31 18:42:32 +08:00
EnixCoda
8d9c3b9fb1
fix: set default copy snippet button to false on github.com 2021-05-25 23:19:01 +08:00
EnixCoda
43fd645c7c
refactor: minor enhancements on file comments 2021-05-18 23:07:07 +08:00
Enix
7e7d25f756
Merge pull request #136 from flowforfrank/develop
Add support for showing comments associated with files
2021-05-18 22:08:17 +08:00
EnixCoda
72f825db2e
refactor: control the flow using react 2021-05-10 01:27:48 +08:00
EnixCoda
5c25d9d0d8
chore: code clean 2021-05-03 21:44:55 +08:00
EnixCoda
31f803a03f
refactor: always fetch default branch 2021-05-03 21:43:48 +08:00
EnixCoda
5ddd6c6948
fix: handle scope change 2021-05-02 22:04:19 +08:00
flowforfrank
50283e0cea Add support for showing comments associated with files 2021-04-23 08:30:54 +02:00
dishuostec
e40eca2922 Use "window.location.protocol" instead of hardcoded "https". 2021-04-14 10:17:30 +08:00
EnixCoda
6a21e7ce46
feat: resolve pull id into scope 2021-04-13 22:38:43 +08:00
EnixCoda
48d2053851
fix: prevent duplicated copy file buttons 2021-04-13 22:28:48 +08:00
EnixCoda
4b96e01845
fix: catch unexpected PJAX with scope 2021-04-13 22:28:48 +08:00
EnixCoda
e6a0e0a139
chore: add types 2021-02-01 18:06:14 +08:00
EnixCoda
e066675817
chore: types for $ 2021-02-01 18:03:15 +08:00
EnixCoda
eb6343a1ff
refactor: opt-out get default branch request for faster loading 2021-02-01 17:50:01 +08:00
EnixCoda
63e4f89665
fix: match incomplete sha 2021-02-01 16:42:47 +08:00
EnixCoda
f3f86a79ea
refactor: simplify init logics 2021-02-01 14:07:06 +08:00
EnixCoda
b67905ec8c
chore: more accurate type 2021-01-31 23:56:36 +08:00
EnixCoda
2fe39a90c3
refactor: simplify code 2021-01-31 23:08:28 +08:00
EnixCoda
83f357008e
fix: find copy file button group element 2021-01-29 02:01:20 +08:00
EnixCoda
8c53037d8f
fix: sentry issue #CK
typo
2021-01-25 17:41:54 +08:00
EnixCoda
e5cc08a45e
fix: sentry issue #CK 2021-01-24 21:24:54 +08:00
EnixCoda
db260b9d74
fix: detect enterprise 2021-01-10 20:26:56 +08:00
Bobson Lin
33d270a671 Add pjax config for gitea and adjust getUrlForRedirect function. 2021-01-03 23:22:38 +08:00
Bobson
80b8b32371 Adjust some code 2021-01-03 14:30:50 +08:00
Bobson Lin
65df1463c6 Implment Gitea platform functions 2021-01-02 12:40:35 +08:00
EnixCoda
2c09a4308e
refactor: use pjax:end for better compatibility 2020-11-28 00:46:43 +08:00
EnixCoda
db0de416dc
fix: emit pjax end 2020-11-28 00:46:42 +08:00
EnixCoda
e0f7025379
fix: handle missing folder data 2020-11-14 00:12:07 +08:00
EnixCoda
f22f270523
fix: resolve sha from partially loaded DOM can be unreliable 2020-11-13 16:55:56 +08:00
EnixCoda
e6cba2c7e6
refactor: on PJAX end 2020-11-13 15:58:32 +08:00
EnixCoda
ab322e95d7
fix: resolve PR title 2020-11-13 14:51:35 +08:00
EnixCoda
57b481c7e3
fix: resolve PR files' SHA more careful 2020-11-13 13:56:02 +08:00
EnixCoda
0c0ee18795
fix: handle path with unsafe trunks 2020-11-11 17:44:26 +08:00
EnixCoda
c057fb389f
chore: remove leading space when copy file 2020-11-11 17:44:26 +08:00
EnixCoda
fbc67c68f4
fix: attach copy buttons when navigate through GitHub PJAX 2020-11-11 17:44:26 +08:00
EnixCoda
d818e5ccc2
fix: copy code and snippet 2020-11-11 17:44:26 +08:00
EnixCoda
3115f78878
fix: handle PR 2020-10-27 02:30:39 +08:00
EnixCoda
2e6c7606c8
feat: async mode 2020-10-25 02:56:19 +08:00
EnixCoda
e2aee2cdd6
feat: expand all folders when in pr 2020-08-31 21:16:23 +08:00
EnixCoda
17f785e5c4
fix: resolve new GitHub DOM 2020-07-17 16:14:46 +08:00
EnixCoda
32ce2235a9
fix: fetch all pull files 2020-07-11 15:37:39 +08:00
EnixCoda
968a030941
fix: hard redirect when id not available 2020-07-11 14:24:55 +08:00
EnixCoda
edf96f2c9a
fix: fetch complete diff data 2020-06-27 16:58:07 +08:00