Commit graph

149 commits

Author SHA1 Message Date
spencerwooo
53470ff61e
extract and cleanup some functions 2022-02-05 21:16:57 +08:00
spencerwooo
b42036afb7
clamp multiple lines for long file names 2022-02-05 20:36:38 +08:00
spencerwooo
443d42b16c
fallback component for broken thumbnails 2022-02-05 19:12:20 +08:00
spencerwooo
06e9e80d4b
fix onclick events get passed to a tags 2022-02-05 19:05:13 +08:00
spencerwooo
4afa6f8c33
handle file and folder downloads 2022-02-05 19:00:25 +08:00
spencerwooo
2c22c17ddd
grid layout with thumbnails 2022-02-05 17:25:46 +08:00
spencerwooo
c96dd18e1d
remove image gallery component 2022-02-05 15:46:11 +08:00
spencerwooo
b1234407b8
smaller padding and vertical height 2022-02-05 15:22:46 +08:00
spencerwooo
c66c61bfee
switch layout dropdown and layout store 2022-02-04 22:20:53 +08:00
spencerwooo
f916cd74c2
add width and height to icons 2022-02-04 19:53:25 +08:00
spencerwooo
c16d0ab2db
new breadcrumb that scrolls to the end automatically 2022-02-04 17:22:40 +08:00
spencerwooo
e4f3ea7b05
formatting tailwind classes with prettier 2022-02-04 16:05:28 +08:00
spencerwooo
7558fb93c5
attach subtitles with the same name as the video file 2022-02-02 22:08:14 +08:00
spencerwooo
91236a123f
drop react player, use dplayer and react-audio-player 2022-02-02 21:36:12 +08:00
spencerwooo
d95f8d540b
return width and height for images 2022-02-02 17:07:33 +08:00
spencerwooo
0343328cf1
remove epubjs type 2022-02-02 16:49:59 +08:00
spencerwooo
89dcc1f614
import types explicitly 2022-02-02 16:41:30 +08:00
spencerwooo
4803850e99
fix erroneous path encodings in search results 2022-02-01 22:19:00 +08:00
spencerwooo
7d39a998e1
use .config.js for configuration files, close #301 2022-01-29 15:40:50 +08:00
spencerwooo
79fd82b71e
fix default preview file name too long on desktop, close #297 2022-01-26 16:14:45 +08:00
Spencer Woo
03353ed6dc
Merge branch 'main' into ts 2022-01-26 15:42:41 +08:00
spencerwooo
8201cb2701
defining all available types (files and folders) 2022-01-26 15:32:20 +08:00
Spencer Woo
ce6d3ef69a
Merge pull request #231 from myl7/tree-error-handle 2022-01-25 09:29:45 +08:00
myl7
6df1447d33
update error inner structure 2022-01-24 23:16:10 +08:00
spencerwooo
10b2b178cf
escape pound signs in path component 2022-01-24 22:31:11 +08:00
myl7
9bde9bdab0
report handleable error in downloading 2022-01-24 22:01:35 +08:00
myl7
007e412630
handle errors when traversing 2022-01-24 22:01:35 +08:00
spencerwooo
3476c652a3
clear input box on search modal close 2022-01-24 20:56:02 +08:00
spencerwooo
b47dd88d1a
useSWR instead of custom useAxiosGet hook for cache reuse 2022-01-24 20:50:43 +08:00
spencerwooo
17263feea9
load item path on result mount 2022-01-24 20:31:17 +08:00
spencerwooo
0b55fe5fc7
rename useAxiosFetch hook for universal fetch usage 2022-01-24 19:16:32 +08:00
spencerwooo
bfbe4eb042
search support for od business 2022-01-24 16:18:55 +08:00
myl7
a53c0ab985
add flags to help to decide file icon 2022-01-24 16:03:35 +08:00
myl7
d3d69849c9
add flags to help to decide preview type 2022-01-24 15:52:45 +08:00
spencerwooo
fad501a562
error message for sharepoint search, and minor style fix 2022-01-23 15:43:36 +08:00
spencerwooo
3d918fbd90
hot keys support for opening search modal 2022-01-22 19:35:23 +08:00
spencerwooo
c3daf370ec
layout stuff for mobile and desktop 2022-01-21 22:12:07 +08:00
spencerwooo
1b658b6a98
search with onedrive graph api 2022-01-21 21:42:21 +08:00
spencerwooo
038b4288cb
search modal with mock data 2022-01-17 00:08:04 +08:00
spencerwooo
fd95e03795
add OdFileObject typings 2022-01-16 20:19:52 +08:00
spencerwooo
abb8ca4b7f
change unknown file preview to readable format 2022-01-16 20:17:42 +08:00
spencerwooo
0bde48af01
remove proxied download button (for now) 2022-01-15 21:37:06 +08:00
spencerwooo
02f03b41bf better error handling 2022-01-10 16:36:45 +08:00
spencerwooo
e82680f2a7 add dot url file preview support, close #221 2022-01-08 15:27:39 +08:00
spencerwooo
b0ebd6ca0c url file icons and file listing padding adjustments 2022-01-08 15:10:36 +08:00
spencerwooo
16272f519a fix minor style issues 2022-01-06 21:18:28 +08:00
spencerwooo
b451f09aeb a flat design with narrower lists 2022-01-06 21:10:16 +08:00
spencerwooo
fef6b1eee5 functioncomponent -> react.fc 2022-01-06 19:25:10 +08:00
spencerwooo
6671986bac extract components and custom useFileContent hook 2022-01-06 16:34:16 +08:00
Spencer Woo
312bcff515 proxied download match direct link, fix #225 and #222 2022-01-02 16:13:21 +00:00