Commit graph

1060 commits

Author SHA1 Message Date
EnixCoda
f50af5c62d
fix: onChange is more welcomed than onInput 2019-02-19 16:24:47 +08:00
EnixCoda
eee0b01341
fix: better names in connect 2019-02-19 15:58:45 +08:00
EnixCoda
984204f167
fix: should get state instead of props 2019-02-19 15:58:44 +08:00
EnixCoda
5abbd28596
refactor: rename dispatch properties 2019-02-19 00:11:11 +08:00
EnixCoda
7e95987902
fix: note for any and clean types 2019-02-19 00:08:38 +08:00
EnixCoda
706b0c530c
fix: types in GitHubHelper 2019-02-19 00:08:38 +08:00
EnixCoda
7b929a0d77
fix: types of analytics 2019-02-19 00:08:38 +08:00
EnixCoda
da0bf634a5
chore: add Omit 2019-02-19 00:08:38 +08:00
EnixCoda
6de067a72f
refactor: transform FileExplorer 2019-02-19 00:08:38 +08:00
EnixCoda
8b0f331f27
refactor: transform sidebar and more 2019-02-19 00:08:38 +08:00
EnixCoda
29ac1d88b9
refactor: transform connect 2019-02-19 00:08:38 +08:00
EnixCoda
91bbb64a83
refactor: transform side bar 2019-02-11 16:54:13 +08:00
EnixCoda
eb70a4d5de
refactor: transform file explorer 2019-02-11 15:47:37 +08:00
EnixCoda
80c163c0e0
refactor: transform settings bar 2019-02-11 15:13:51 +08:00
EnixCoda
538527bd39
refactor: transform more to TS 2019-02-09 19:42:03 +08:00
EnixCoda
eb5ebce5bf
chore: clean code 2019-02-09 14:29:40 +08:00
EnixCoda
9b18b039ca
refactor: migrate core index 2019-01-09 21:42:57 +08:00
EnixCoda
9a799ed0f4
refactor: migrate few components 2019-01-08 21:32:16 +08:00
EnixCoda
8954327aa9
refactor: migrate utils to TS 2019-01-08 21:08:17 +08:00
EnixCoda
6f6740f658
refactor: migrate few files to TS 2019-01-06 22:04:56 +08:00
EnixCoda
699d718d71
feat: TypeScript basic 2019-01-06 22:03:53 +08:00
EnixCoda
2359711c8a
0.3.28 2018-12-03 14:24:27 +08:00
EnixCoda
e36aa412d0
fix: handle blob and tree URL 2018-12-03 14:23:57 +08:00
EnixCoda
3da6082f7e
0.3.27 2018-12-03 14:20:20 +08:00
EnixCoda
f22eb6ea45
feat: scroll to top when load Initiatively 2018-12-03 14:19:03 +08:00
EnixCoda
49aaa1060b
0.3.26 2018-11-29 16:22:22 +08:00
EnixCoda
0d91379281
fix: handle non-branch blob pages 2018-11-29 16:22:18 +08:00
EnixCoda
bbe26aed67
0.3.25 2018-11-26 11:08:42 +08:00
EnixCoda
818b720239
feat(NodeGenerator): better search UX 2018-11-26 11:08:25 +08:00
EnixCoda
2fe27057fe
0.3.24 2018-11-26 10:38:13 +08:00
EnixCoda
a5431ba2c0
0.3.23 2018-11-17 22:17:29 +08:00
EnixCoda
f16cbc9886
fix: handle a unknown rare case 2018-11-17 22:17:15 +08:00
EnixCoda
da75a2d947
chore: remove out dated comment 2018-11-17 17:25:47 +08:00
EnixCoda
b84bb18d1e
refactor: more elegant init process, handle 409
GitHub API returns 409 if repo is created but empty
2018-11-09 18:13:25 +08:00
EnixCoda
1208886efd
feat: expand the node expanded to 2018-11-09 11:43:54 +08:00
EnixCoda
0f6d13d2c4
0.3.22 2018-11-09 11:18:58 +08:00
EnixCoda
3f03c62f20
fix: revert branch handler 2018-11-09 11:18:31 +08:00
EnixCoda
e67fda0586
0.3.21 2018-11-08 14:53:17 +08:00
EnixCoda
2143b4f328
fix: handle tag
Get branch/tag and path from title
2018-11-08 14:52:10 +08:00
EnixCoda
848de531eb
fix: set key for setting options 2018-11-07 10:42:41 +08:00
EnixCoda
03b5b2bf65
0.3.20 2018-11-06 16:02:55 +08:00
EnixCoda
ac44c8f76f
fix: handle commit file path 2018-11-06 16:02:51 +08:00
EnixCoda
b01c0529ca
0.3.19 2018-11-06 15:08:21 +08:00
EnixCoda
d6f09da77e
refactor(SideBar): more stable 2018-11-06 12:00:53 +08:00
EnixCoda
1b35109bf5
fix: get current path more precisely 2018-11-06 12:00:53 +08:00
EnixCoda
1b734a48f0
refactor: sync parse tree 2018-11-04 21:15:41 +08:00
EnixCoda
cae6477eb4
feat: my $ 2018-11-03 16:33:59 +08:00
EnixCoda
82e7f94156
feat: basic auto sizer 2018-11-03 16:14:15 +08:00
EnixCoda
26b841921f
feat: submit version in analytics 2018-11-03 01:01:29 +08:00
EnixCoda
c1a490c403
0.3.18 2018-11-02 14:05:53 +08:00
EnixCoda
d05dc1b070
feat: better keyboard control flow
Search input and nodes cannot be focused at same time.
Otherwise, moving cursor left/right through search key results in unexpected file nav.
2018-11-02 14:04:46 +08:00
EnixCoda
9682f5daf7
fix: add default config values 2018-11-02 11:18:15 +08:00
EnixCoda
12dee6bb70
fix: open submodule instead of parent 2018-11-02 10:56:42 +08:00
EnixCoda
5898f23a2d
0.3.17 2018-11-01 15:21:39 +08:00
EnixCoda
cbb63db605
fix: handle non-exist git module 2018-11-01 15:21:31 +08:00
EnixCoda
e493a47d02
0.3.16 2018-10-28 17:17:11 +08:00
EnixCoda
91372f4059
docs: minor changes 2018-10-28 17:09:42 +08:00
EnixCoda
a76e02d2d0
chore: sorting 2018-10-28 16:30:38 +08:00
EnixCoda
78e4bb8d24
feat(SettingsBar): merge options 2018-10-28 16:12:14 +08:00
EnixCoda
50c4eaae70
feat(settings): toggle copy buttons 2018-10-28 15:44:22 +08:00
EnixCoda
9384e2d45f
0.3.15 2018-10-27 19:05:42 +08:00
EnixCoda
6916850d85
feat: handle API rate limit 2018-10-27 19:05:31 +08:00
EnixCoda
68b78216c9
0.3.14 2018-10-27 18:12:52 +08:00
EnixCoda
ff5806af68
feat: not upload 404 error 2018-10-27 18:12:20 +08:00
EnixCoda
b663ca052a
feat: focus search input on opening sidebar 2018-10-17 22:46:15 +08:00
EnixCoda
1dce80d78e
feat: allow hide settings by clicking file explorer 2018-10-17 22:23:01 +08:00
EnixCoda
624ab8a806
feat(SettingsBar): make reload easier for user 2018-10-17 00:14:52 +08:00
EnixCoda
37163b6701
0.3.13 2018-10-16 23:59:26 +08:00
EnixCoda
71343e4af3
feat(FileExplorer): handle git submodules 2018-10-16 23:58:58 +08:00
EnixCoda
8029e07e20 style: format code 2018-10-16 15:55:31 +08:00
EnixCoda
013a6706a4 0.3.12 2018-10-08 22:34:07 +08:00
EnixCoda
29ad80f6ac feat: detect in repo page with DOM element 2018-10-08 22:33:19 +08:00
EnixCoda
d60f85dfe8 feat: handle new github header style 2018-10-08 22:31:41 +08:00
EnixCoda
ece8080fc4 feat: handle organizations page 2018-10-08 22:09:29 +08:00
EnixCoda
106513e051 0.3.11 2018-10-07 21:07:53 +08:00
EnixCoda
a3df17967a fix: hide when in github settings page 2018-10-07 21:07:49 +08:00
EnixCoda
f72d96fb34 0.3.10 2018-10-06 20:05:57 +08:00
EnixCoda
de35aa3d35 fix: update title after pjax
Fix #16
2018-10-06 20:04:06 +08:00
EnixCoda
1b36862218 0.3.9 2018-09-23 13:42:15 +08:00
EnixCoda
4c58531b7e docs: rename 2018-09-23 13:42:12 +08:00
EnixCoda
36d5473132 0.3.8 2018-09-23 13:28:24 +08:00
EnixCoda
9cec5e2692 fix: do not mount icon button when not in repo page 2018-09-23 13:27:02 +08:00
EnixCoda
c1daf82f33 fix: recovery decorating page content 2018-09-23 13:19:15 +08:00
EnixCoda
da9c98cb83 0.3.7 2018-09-22 23:45:38 +08:00
EnixCoda
3875d26294 fix: be more tolerant for aggressive retrieved data 2018-09-22 23:45:23 +08:00
EnixCoda
7e57bf3812 fix: hide file explorer when auth error occurs 2018-09-22 22:26:29 +08:00
EnixCoda
063a7edfa3 0.3.6 2018-09-22 17:05:24 +08:00
EnixCoda
3c81f96079 fix: handle more branch name types
Handles projects not use ‘master’ as default branch
Handles projects has branches whose name contains ‘/‘
2018-09-22 17:04:59 +08:00
EnixCoda
de1d1b07f0 0.3.5 2018-09-22 00:42:38 +08:00
EnixCoda
b8037e2755 feat: show branch name at beta bar 2018-09-21 23:45:28 +08:00
EnixCoda
0b3cc7f61a refactor(FileExplorer): split logic of setting up tree data 2018-09-21 23:45:28 +08:00
EnixCoda
f75eeadc4f feat: hide search input when loading file tree 2018-09-21 23:45:28 +08:00
EnixCoda
f4630f0607 fix: prevent error of keys when opening large dir 2018-09-21 23:45:28 +08:00
EnixCoda
6593bf6121 fix: prevent covered by header 2018-09-21 23:45:28 +08:00
Enix
bb5f745b45 fix(search): make search more stable 2018-09-21 22:12:18 +08:00
EnixCoda
f755ad9e71 0.3.4 2018-09-21 00:02:35 +08:00
Enix
27ab86cac8 feat: mount toggle button anyway 2018-09-20 23:49:29 +08:00
Enix
55ce652610 fix: handle projects not set ‘master’ as default branch 2018-09-20 23:49:04 +08:00
Enix
07163774e7 fix: prevent loading at non-project page 2018-09-20 23:49:04 +08:00
EnixCoda
2a5e517fab 0.3.3 2018-09-19 21:49:48 +08:00
EnixCoda
23937ab646 feat: handle more error and block UI 2018-09-19 21:49:41 +08:00
EnixCoda
197d0778d4 feat: raise GitHub helper errors 2018-09-19 21:48:32 +08:00
EnixCoda
e75a06a7ed 0.3.2 2018-09-19 20:27:21 +08:00
EnixCoda
017abd9886 fix(SideBar): branchName was overwrote by undefined 2018-09-19 20:19:37 +08:00
EnixCoda
4b92b9cfd0 feat: aggressive load tree data 2018-09-17 23:28:59 +08:00
EnixCoda
5713489656 0.3.1 2018-09-17 22:03:44 +08:00
EnixCoda
cd5b9836ce build: postversion command 2018-09-17 22:02:59 +08:00
EnixCoda
48e213a158 feat: loading indicator when expanding node 2018-09-15 16:18:29 +08:00
EnixCoda
5b1a7c6b89 perf(nodes-generator): 4x faster node generating
refactored recurse to loop, time for processing 4000 items reduces from 6ms to 1.4ms
2018-09-15 16:01:00 +08:00
EnixCoda
42db8a8eec chore: update manifest version 2018-09-13 22:11:00 +08:00
EnixCoda
5c1e714b18 style: format with prettier 2018-09-13 00:35:39 +08:00
EnixCoda
7041e17b78 feat: add middleware functionality to ‘connect’ 2018-09-13 00:34:10 +08:00
EnixCoda
e727e3bfce feat(analytics): set log endpoint 2018-09-12 23:12:37 +08:00
EnixCoda
ad73e142f4 fix: focus on item when opening page
Moving these code up and down then it works again, weird...
2018-09-11 22:10:06 +08:00
EnixCoda
9be44e4e73 fix: handle updater’s return value 2018-09-11 21:42:25 +08:00
EnixCoda
2ebd8c8fa7 refactor(connect): remove sync and async 2018-09-11 00:01:06 +08:00
EnixCoda
7aacc07429 fix: typos 2018-09-10 20:25:11 +08:00
EnixCoda
995421642d fix: prevent scroll errors 2018-08-07 21:32:13 +08:00
EnixCoda
83815ea051 feat: loading indicator 2018-08-05 22:59:53 +08:00
EnixCoda
71e815bdca feat: async tree plant 2018-08-05 18:26:40 +08:00
EnixCoda
a0efbd47db refactor(FileExplorer): init in componentWillMount 2018-08-05 18:24:53 +08:00
EnixCoda
a0a7545492 refactor: file list focus logic 2018-08-05 17:35:34 +08:00
EnixCoda
8549912adf style: single quote 2018-08-05 17:11:16 +08:00
EnixCoda
801ca07f87 fix: auto focus search input 2018-08-05 17:11:03 +08:00
EnixCoda
f707b393fc feat: catch error 2018-08-05 16:32:31 +08:00
EnixCoda
081be4ff4d refactor(SideBar): init in componentWillMount 2018-08-05 16:28:44 +08:00
EnixCoda
51f2db8bb7 fix(Settings): one title not in correct size 2018-06-30 19:49:23 +08:00
EnixCoda
1c76f7d5c3 fix(SideBar): .hidden was not working 2018-06-30 19:48:28 +08:00
EnixCoda
8bec682eab fix(resize): limit minimal width & handler show up conditions 2018-06-30 19:39:06 +08:00
EnixCoda
bae918302e refactor: create <Resizable /> and root component <Gitako /> 2018-06-30 19:39:06 +08:00
EnixCoda
ec102c9d6a style(SettingsBar): minor changes 2018-06-30 19:39:06 +08:00
EnixCoda
5799097630 refactor: remove 2 deprecated features - position & MCToC 2018-06-30 19:39:06 +08:00
EnixCoda
4687a33cb2 feat: show version & add change log link 2018-06-30 19:39:06 +08:00
EnixCoda
5695771fff refactor: extract cores 2018-06-30 13:38:08 +08:00
EnixCoda
10a239acec 0.2.6 2018-06-29 00:24:03 +08:00
EnixCoda
0ae743e10c perf(PJAX): set proper url for blobs
Gitako used to request tree path for blobs, which causes 301
2018-06-29 00:23:05 +08:00
EnixCoda
c625121735 feat(FileExplorer): enable open blob&tree in new tab 2018-06-29 00:22:22 +08:00
EnixCoda
9811cede1e feat(SettingsBar): config for compress singleton folders 2018-06-26 23:01:50 +08:00
EnixCoda
8cd73671c0 feat(configHelper): create 2018-06-26 21:35:44 +08:00
EnixCoda
be9f258be3 refactor(FileExplorer): stop blocking event 2018-06-26 21:35:44 +08:00
EnixCoda
6c7823097b feat: compress singleton folder 2018-06-26 21:35:44 +08:00
EnixCoda
568221171d refactor: transition for all
Fixes #12
2018-06-22 22:44:44 +08:00
EnixCoda
0bfca704a4 refactor(FileExplorer): split logic 2018-06-22 22:44:44 +08:00
EnixCoda
84d1859991 refactor: remove link 2018-06-22 22:44:44 +08:00
EnixCoda
1de478a83d refactor: keep access token in state 2018-06-22 22:44:44 +08:00
EnixCoda
b8f0ccf781 fix(Node): focus node when clicked 2018-06-22 22:44:44 +08:00
EnixCoda
57f4f2b5ea chore: minor warning fixes 2018-06-22 22:44:44 +08:00
EnixCoda
108d59d7ac feat: icon for commit(submodule) 2018-06-22 22:44:44 +08:00
EnixCoda
24ea03beb0 refactor: move connect&link to entry file 2018-06-22 22:44:44 +08:00
EnixCoda
ac3505f859 refactor(driver): split core and link 2018-06-22 22:44:44 +08:00
EnixCoda
0db7e688a3 refactor: extract logic core 2018-06-22 22:44:44 +08:00
EnixCoda
4b95670b5b refactor(SideBar): remove onPJAXStart 2018-06-22 22:44:44 +08:00
EnixCoda
85f83decef feat(SideBar): remove event listeners when unmount
although Gitako do not unmount before page unload
2018-06-22 22:44:44 +08:00
EnixCoda
817b173370 0.2.5 2018-06-22 22:44:44 +08:00
EnixCoda
998a8aa093 feat(FileExplorer): focus on first content node 2018-06-22 22:44:44 +08:00
EnixCoda
64d9ab9482 feat(FileExplorer): handle submodule 2018-06-22 22:44:44 +08:00
EnixCoda
a94fd4cf71 refactor: use React 2018-06-22 22:44:44 +08:00
EnixCoda
603564456f perf(FileExplorer): skip scrollIntoView when click on tree Node 2018-06-22 22:44:44 +08:00
EnixCoda
46436b0575 refactor(settings): key code & controlled component 2018-06-22 22:44:44 +08:00
EnixCoda
126c1226b7 feat(build): combat with React 2018-06-22 22:44:44 +08:00
Enix
44f98d9f71
fix(settings-bar): prevent placeholder bar shrink 2018-06-13 10:44:43 +08:00
EnixCoda
a16231946a 0.2.4 2018-06-13 00:08:47 +08:00
EnixCoda
b8287a287f refactor(settings-bar): make position of toggle icons static 2018-06-12 23:55:32 +08:00
EnixCoda
560a64d768 feat: resize side bar when window is wide enough 2018-06-12 23:55:32 +08:00
EnixCoda
5ac46e0b2a refactor(cx): pass className 2018-06-12 00:54:34 +08:00
EnixCoda
2cb86d8957 docs(search): regexp -> RegEx 2018-06-10 02:19:16 +08:00
EnixCoda
3525de1dd4 fix(keyHelper): handle control key & format in uppercase 2018-06-10 02:11:49 +08:00
EnixCoda
16de00272c refactor(cx): support unsorted params 2018-06-10 01:53:44 +08:00
EnixCoda
dedc67266b 0.2.3 2018-06-06 00:36:19 +08:00
EnixCoda
3f5845cf8d fix(settings): prevent shortcut error when it's not set 2018-06-06 00:35:58 +08:00
EnixCoda
9511e8bf29 0.2.2 2018-06-06 00:24:27 +08:00
EnixCoda
c455ebe63d refactor(PJAX): not scroll to content after PJAX 2018-06-06 00:24:00 +08:00
EnixCoda
ad2c88b192 feat: <PJAXLink /> 2018-06-06 00:16:13 +08:00
EnixCoda
1014eaff1c refactor(PJAX): change the usage of PJAX 2018-06-06 00:16:03 +08:00
EnixCoda
0411102af3 refactor: perf & pjax 2018-06-06 00:14:16 +08:00
EnixCoda
4c9a7b57ae refactor(PJAX): update metadata on PJAX end 2018-06-03 13:24:43 +08:00
EnixCoda
79f5a5595a refactor(URLHelper): modify parse logic
Close #9
2018-06-03 13:24:43 +08:00
EnixCoda
9f7fc11997 feat(shortcut): add shortcut setting for toggle show 2018-05-28 23:41:46 +08:00
EnixCoda
2c6de05b17 style: code format 2018-05-28 23:40:51 +08:00
EnixCoda
b848093e1e 0.2.1 2018-05-26 19:43:53 +08:00
EnixCoda
9cdd108624 feat(FileExplorer): show item path when pointer hovers
Finishes #8
2018-05-26 19:36:18 +08:00
EnixCoda
f532e072f2 refactor(toggle): color of collapse icon 2018-05-20 12:23:24 +08:00
EnixCoda
74e1d57311 bump version 2018-05-19 15:00:20 +08:00
EnixCoda
9935e68638 feat: PJAX progress 2018-05-19 14:59:36 +08:00
EnixCoda
39c1653d90 fix: blank file explorer when accessing non-exist file 2018-05-19 14:59:36 +08:00
EnixCoda
b003f3acc3 feat(settings): button for access token input 2018-05-19 14:59:36 +08:00
EnixCoda
bf0bdf92e8 feat: toggle show 2018-05-19 14:59:36 +08:00
EnixCoda
fe7a248da1 feat: spotlights on the settings bar! 2018-05-06 21:22:35 +08:00
EnixCoda
b8aaf2d8d7 fix: typo ‘bacasuse’ 2018-05-06 21:01:33 +08:00
EnixCoda
1ee7d19771 feat: toggle show/hide sidebar 2018-05-06 21:01:15 +08:00
EnixCoda
793f4a92c2 chore: extract side bar content 2018-04-28 20:35:14 +08:00
EnixCoda
3bf8d6f767 refactor(DOM helper): move decorateGitHubPageContent 2018-04-19 23:35:27 +08:00
EnixCoda
7efced17e5 refactor(naming): extract name 2018-04-03 19:48:02 +08:00
EnixCoda
f2b7261182 fix(file-explorer): fixes #3 2018-02-08 13:26:57 +08:00
EnixCoda
02bbcff2e5 chore: update version number 2018-02-08 13:21:10 +08:00
EnixCoda
b5865febc4 fix(pjax): prevent pjax:end event handler trigger too many times
fix #4
2018-02-08 13:21:10 +08:00
EnixCoda
6b4591c9de feat(clippy): edit positioning of clippy icon 2018-02-08 13:05:16 +08:00
EnixCoda
f95b31bb25 feat(icon): use SVG octicon
generate SVG files with generate-octicon.js
load as react component thanks to svg-loader
bundle
size decreased from 48kb to 26kb!
2018-02-08 13:05:16 +08:00
EnixCoda
f876c72368 build(zip): recursively zip 2018-01-16 11:01:25 +08:00
EnixCoda
92372b23fe docs(manifest): update description 2018-01-15 10:04:59 +08:00
EnixCoda
f05273f6ac fix(FileExplorer): remove an unnecessary after render task 2018-01-12 18:33:49 +08:00
EnixCoda
ad557477f9 fix(FileExplorer): not scrolling to target when opening a file/folder directly 2018-01-12 18:31:34 +08:00
EnixCoda
a50618e41c milestone(0.1.1) 2018-01-12 17:54:57 +08:00
EnixCoda
a7806b4382 feat(FileExplorer): make search input always visible 2018-01-12 17:53:34 +08:00
EnixCoda
6052c6d269 feat(FileExplorer): expand & scroll to directly opened file 2018-01-07 15:31:34 +08:00
EnixCoda
bd72dfe20f fix(URLHelper): file name case 2018-01-07 14:49:54 +08:00
EnixCoda
46a11fde39 refactor(URLHelper): remove function 'detectShouldShow' 2018-01-07 14:49:54 +08:00
EnixCoda
856762cf84 refactor(GitHubHelper): abstract function 'request' 2018-01-07 14:19:30 +08:00
EnixCoda
c395a9b195 feat(manifest): add icon 2018-01-07 12:45:27 +08:00
EnixCoda
608345dc10 initial commit 2018-01-07 12:45:27 +08:00