Commit graph

53 commits

Author SHA1 Message Date
EnixCoda
db0de416dc
fix: emit pjax end 2020-11-28 00:46:42 +08:00
EnixCoda
e6cba2c7e6
refactor: on PJAX end 2020-11-13 15:58:32 +08:00
EnixCoda
59fffaf004
fix: jump to items from search result
This doesn't cause the previous redirect bug :)
2020-10-28 18:14:51 +08:00
EnixCoda
396af20fa4
Revert "feat: better experience with correct focus"
This reverts commit 3203f9426e.
2020-10-28 00:20:08 +08:00
EnixCoda
8c970d7fb4
feat: hint lazy mode 2020-10-28 00:14:32 +08:00
EnixCoda
391c3e457c
fix: prevent unnecessary unmount 2020-10-27 01:58:12 +08:00
EnixCoda
b0bcb7130c
refactor: prevent rendering multiple times on search 2020-10-26 22:27:21 +08:00
EnixCoda
3203f9426e
feat: better experience with correct focus 2020-10-26 20:53:33 +08:00
EnixCoda
2227039bbf
refactor: performance++ 2020-10-26 19:01:49 +08:00
EnixCoda
24ae8a0353
refactor: memoize regexp of search key 2020-10-26 19:01:05 +08:00
EnixCoda
d683777c34
fix: update focus properly 2020-10-26 02:40:34 +08:00
EnixCoda
453ed1d588
refactor: enhance code 2020-10-26 02:12:33 +08:00
EnixCoda
42737a6cd5
refactor: deprecate execAfterRender pattern
Also extracted regex logic into view component
2020-10-25 22:46:59 +08:00
EnixCoda
2e6c7606c8
feat: async mode 2020-10-25 02:56:19 +08:00
EnixCoda
328a04f9bb
refactor: handle hash links natively 2020-06-21 01:56:30 +08:00
EnixCoda
9050313ad1
chore: remove unused method 2020-06-20 19:17:23 +08:00
EnixCoda
6e1bef7a6f
feat: use pjax-api 2020-05-26 20:58:48 +08:00
EnixCoda
859948c443
feat: search performance boost
Prevent recreating child component of virtual list
2020-04-15 22:35:25 +08:00
EnixCoda
0da52bee9e
chore: minor fixes 2020-04-15 21:33:21 +08:00
EnixCoda
46a01711e9
feat: compress search result and boost performance 2020-04-15 15:10:09 +08:00
EnixCoda
7e6feb621c
revert: use old pjax for Firefox compatibility
This reverts commit 8aaf55be59 and 0a4ee27
2020-04-06 19:16:36 +08:00
EnixCoda
05d002e470
refactor: sync platform resolution 2020-04-04 17:03:22 +08:00
EnixCoda
130f42f8a8
fix: prevent generate empty regex 2020-04-03 13:34:46 +08:00
EnixCoda
86e0569250
feat: use pjax-api 2020-04-02 23:44:42 +08:00
EnixCoda
c69b750730
feat: highlight search results 2020-04-02 22:20:47 +08:00
EnixCoda
f379d0ebe6
feat: platform context 2020-03-29 15:49:12 +08:00
EnixCoda
85736300d8
refactor: platforms 2020-03-28 22:00:20 +08:00
EnixCoda
58a63bc77b
refactor: use react-use
simplify imports as tree shaking works
2020-03-15 02:26:26 +08:00
EnixCoda
f430c7bc26
refactor: use primer 2020-03-14 20:42:04 +08:00
EnixCoda
05f670bb90
chore: reorganize utility files 2020-03-08 14:59:11 +08:00
EnixCoda
4c4b28afa6
build: manual tree shaking for react-use 2020-02-08 00:17:44 +08:00
EnixCoda
6f86fd5b2d
feat: focus item on redirect 2019-12-19 21:55:22 +08:00
EnixCoda
dd9cc2d0c0
fix: prevent reset file tree on pjax 2019-11-15 16:28:38 +08:00
EnixCoda
ddb86fa4ef
changes are out of control 2019-11-12 00:40:55 +08:00
EnixCoda
79c1c82b65
refactor: remove warnings 2019-11-10 15:06:53 +08:00
EnixCoda
570ab3915e
refactor: move Props 2019-11-09 13:28:51 +08:00
EnixCoda
8ed78e2a98
refactor: abandon default export 2019-11-09 01:53:59 +08:00
Enix
cda88d3956
feat: search with vanilla regexp 2019-10-10 12:21:25 +08:00
EnixCoda
27fe8bf8ef
feat: enhance node item style
* always show go-to button in search result, even if file name is long
* show go-to button only when hovered
2019-10-09 23:46:10 +08:00
EnixCoda
9251b2a3ac
refactor: sync get state 2019-08-27 22:38:07 +08:00
EnixCoda
d5241e2f1c
feat: scroll to top when search key changes 2019-08-11 21:47:46 +08:00
EnixCoda
5f6feeff00
feat: scroll to node 2019-08-11 21:47:46 +08:00
EnixCoda
0e9125b667
feat: virtual file list 2019-08-11 21:47:45 +08:00
EnixCoda
dff92bde6c
fix: visible nodes are not always available 2019-02-23 21:13:06 +08:00
EnixCoda
b4ae8d2ad0
fix: tree data should be optional for file explorer 2019-02-21 18:41:36 +08:00
EnixCoda
956701cd28
feat: performance boost for file explorer 2019-02-21 16:33:30 +08:00
EnixCoda
a09bba0a36
feat: reveal item from search result 2019-02-21 15:42:19 +08:00
EnixCoda
99bfe41553
refactor: visible nodes generator 2019-02-21 11:44:26 +08:00
EnixCoda
764cddcd2f
fix: you can never be too cautious about types 2019-02-21 11:44:26 +08:00
EnixCoda
7e95987902
fix: note for any and clean types 2019-02-19 00:08:38 +08:00