1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-07-19 01:29:05 +00:00
Commit Graph

171 Commits

Author SHA1 Message Date
llj
172ab0d2ad
For mobile (#6523)
* ['notice' popover, 'all notice' dialog] fixup for mobile

* ['Files' page] fixed library icon size for mobile

* ['settings' page] fixup for 'Email notification'

* ['my libs'] fixed 'star/unstar', 'share', 'delete'

* ['deleted repos' dialog] modified column width of the table for mobile

* ['share' dialog] modified 'link details' panel for mobile

* [side panel resizer] removed it for mobile

* [group/department, shared with all] fixed the operation menu for mobile

* ['dir view'] don't offer 'repo history' page for mobile

* ['help'] fixup for page with large images, for mobile

- fixup for http://127.0.0.1:8000/help/drive_client_2.0_for_windows_10/
  (in mobile, the content of it overflowed to the right, and was cut off)

* ['file view'] removed 'history' page for mobile

* ['markdown file view'] removed 'history' page for small screen, mobile

* ['dir view'] added a gray layer to close the 'file/folder tree' panel in mobile

* ['dir view'] fixup for the 'path' bar in mobile

* ['dir view', 'shared dir view'] don't display the 'tag list' in root for mobile
2024-08-12 12:14:03 +08:00
Aries
9478d4637d
add url for view, keep in the same view after refresh (#6510)
* parent e2bb71e8c9
author Aries <urchinzhou@gmail.com> 1723011852 +0800
committer Aries <urchinzhou@gmail.com> 1723110297 +0800

add url for view, keep in the same view after refresh

* delete useless viewName
2024-08-09 10:32:28 +08:00
杨国璇
b043cb8491
feat: side properties (#6485)
* feat: side properties

* feat: show metadata

* feat: delete record expand

* feat: optimzie code

* fix: bug

---------

Co-authored-by: 杨国璇 <ygx@Hello-word.local>
2024-08-06 17:30:11 +08:00
Aries
cfed2760a1
fix move to another repo failed (#6496) 2024-08-06 12:02:47 +08:00
Aries
3747b8acfc
Update recently used view (#6487)
* improve recently used item list ui

* update view in recently used from repo list to folder list
2024-08-05 16:08:05 +08:00
Aries
8623e01e99
Improve move and copy dialog ui components (#6467)
* implement catalog view in move dialog

* update move dialog ui components

* improve move dialog ui

* remove debug info

* improve copy dialog ui

* improve search view ui in move and copy dialog, refactor part of file-chooser.js and file-chooser.css

* handle cases where repo_name is too long, truncate text with an ellipsis, remove search container border

* handle cases where repo_name too long in search result item

* update move and dialog ui details

* add radius to repo list item
2024-08-05 10:48:16 +08:00
Aries
559dfff42b
Grid view support drag drop item to path (#6429)
* feature - drag and drop file to target path in grid view

fix typo

* update target path item background color when drag enter

* fix bug - select-all checkbox is actived after the last item is moved to another path

* fix bug - drag drop action conflict with multi-select by keyboard

* remove console log

* fix type error
2024-07-27 12:04:33 +08:00
Aries
3a06447faf
Grid view support multi-select by drag (#6420)
* grid view support multiple selection by drag

* fix conflict with multiple selection by keyboard

* improve selection experience and code format

* fix bug - select failed when file name include '...'
2024-07-26 17:15:18 +08:00
Aries
fa46b89b0d
12.0 list view support multiple selection (#6421)
* Feature - multiple selection with ctrl/shift

* update grid view context menu list in multiple selection mode

* list view support multiple selection

* improve list view selection experience

* before remove activeDirent state

* improve list view selection experience

* fix warnings
2024-07-26 17:07:26 +08:00
杨国璇
8a5bcf1c14
feat: metadata editor(number、single select、collaborator) (#6385)
* feat: metadata editor(number、single select)

* feat: optimize code

* feat: optimize code

* feat: add checkbox editor

* feat: optimzie code

* feat: delete code

* feat: optimzie code

* feat: optimzie eslint

---------

Co-authored-by: 杨国璇 <ygx@Hello-word.local>
2024-07-25 16:42:18 +08:00
Aries
be84e505d0
12.0 grid view support multiple selection (#6403)
* Feature - multiple selection with ctrl/shift

* update grid view context menu list in multiple selection mode

* fix code format

* optimize codes
2024-07-23 23:08:53 +08:00
Aries
64aba5bb4e
display thumbnail after upload file (#6382) 2024-07-22 11:41:30 +08:00
Ranjiwei
3b0cd4fcbe
repo-metadata-views (#6344)
* repo-metadata-views

* Update metadata_manage.py

* feat: add view

* feat: refresh view tool bar

* update

---------

Co-authored-by: 杨国璇 <ygx@192.168.124.14>
2024-07-22 09:45:08 +08:00
Michael An
67210c7363
fix code format (#6365) 2024-07-18 11:58:42 +08:00
Michael An
6d4e06b571
Fix search folder bug (#6346)
* 01 remove useless toolbar

* 02 change search result is dir
2024-07-13 21:03:31 +08:00
Michael An
10dfe2e47c
fix search when change repoID (#6338)
* fix search when change repoID

* change function name
2024-07-11 20:37:57 +08:00
Michael An
c41407f783
12.0 change app structure (#6335)
* 01 change app structure

* 02 change setting page

* 03 optimize header style

* 04 change app mobile side panel logo
2024-07-11 17:45:30 +08:00
Michael An
00713041c6
fix md convert to sdoc (#6331) 2024-07-11 12:09:57 +08:00
杨国璇
1ae64295c9
fix: resize (#6319)
Co-authored-by: 杨国璇 <ygx@Hello-word.local>
2024-07-09 17:00:12 +08:00
Michael An
8b016dabb2
12.0 fix selected dirents number bug (#6296) 2024-07-04 16:54:39 +08:00
杨国璇
19f15c944f
feat: sf metadata display (#6249)
* feat: sf metadata display

* feat: update code

* feat: update code

* feat: lock react version

* feat: bug

* feat: optimize code

* feat: update transalte

* feat: update transalte

* feat: rebase code

* Feat: update code

* Feat: update code

---------

Co-authored-by: 杨国璇 <ygx@192.168.1.5>
Co-authored-by: 杨国璇 <ygx@Hello-word.local>
Co-authored-by: 杨国璇 <ygx@192.168.1.13>
2024-06-29 17:58:27 +08:00
Michael An
d35d96417e
12.0 fix unselect dirs (#6204) 2024-06-15 08:52:02 +08:00
Michael An
2c442f0932
Fix searched file is markdown (#6172)
* fix searched file is markdown

* delete uesless codes
2024-06-06 16:57:20 +08:00
awu0403
ca83ef90dc
add pdf thumbnail (#6157)
Co-authored-by: 孙永强 <11704063+s-yongqiang@user.noreply.gitee.com>
2024-06-04 16:06:57 +08:00
llj
69011567a3
[dir view] redesigned the toolbar for the current folder (#6117)
* [dir view] redesigned the toolbar for the current folder

* [dir view] toolbar for the current folder: code cleanup

* [dir view] toolbar for the current folder: updated the 'upload' icon; modified UI details
2024-05-27 16:47:19 +08:00
llj
eac54b1255
[dir view] redesigned the top toolbar for the selected dirent(s) (#6111)
* [dir view] redesigned the top toolbar for the selected dirent(s)

* code cleanup
2024-05-24 19:20:36 +08:00
llj
af1ad767ca
[dir view] redesign: moved 'list/grid' view mode icons down to the 'cur path'bar, grouped 'properties', 'tags', 'history', 'trash' icons into a 'more' dropdown menu (#6102) 2024-05-21 21:06:50 +08:00
llj
96b01defce
[dir view] store the open/closed state of the tree panel into localStorage (#6095) 2024-05-17 15:10:09 +08:00
llj
a78f8e97a2
[dir view] added an icon button to toggle between displaying/hiding the dirent tree panel (#6093) 2024-05-16 20:14:26 +08:00
llj
96f43f6afc
[dir view] redesigned it: removed the 'column' mode icon; always display (#6054)
the left side 'tree' panel; let the 'list' & 'grid' column mode icon
only control the right side main content
2024-05-07 16:45:51 +08:00
llj
4375115548
[draft] removed related code & files (#5993)
* [draft] removed related code & files

* [draft] removed related code & files
2024-03-25 17:22:01 +08:00
Michael An
ef60661f50
Change AI search icon (#5956)
* fix code warnings

* change AI search icon
2024-02-19 16:12:09 +08:00
lian
00c2124dff
copy/move file to enc lib (#5487) 2024-02-07 11:08:41 +08:00
llj
23785bb28b
[dir view] Tags: don't send the 'get tags' request when open the 'tags' popover/dialog (handled 6 cases); removed the repeated 'get tags' request after creating a new tag; improved the 'no tags' tip (#5936) 2024-02-02 20:52:58 +08:00
llj
5beb5165fe
[dir view] markdown/sdoc conversion: only display 1 toast for one time(don't display 2 toasts at the same time) (#5906) 2024-01-19 15:45:11 +08:00
llj
255f9b89d4
[dir view] fixed the bug 'folder does not exist'(remove the effect of '?notifications=all', which is added to the URL when the 'view all notifications' dialog is open.) (#5861) 2023-12-26 14:48:59 +08:00
llj
8712b7d1a6
[dir view, toast] redesigned the 'converting' tip for md & sdoc file … (#5822)
* [dir view, toast] redesigned the 'converting' tip for md & sdoc file items; added a new type of toast

* [toast] updated the loading icon of the 'notify-in-progress' toast
2023-12-11 18:19:23 +08:00
Michael An
429eecdd06
fix warnings and rename unsafe lifecycle function (#5814) 2023-12-06 17:24:05 +08:00
lian
a9c3a6638c
Folder shared out (#5601)
* show if folder has been shared out

* [dir view] use special folder icon to identify folders which are shared out

* [dir view] improvement: in a library, make only one request to get the data of folders shared out

---------

Co-authored-by: llj <lingjun.li1@gmail.com>
2023-11-15 17:01:50 +08:00
Michael An
4e5c6fa98a
Fix search input UI (#5769)
* fix code warnings

* change search UI
2023-11-15 15:39:47 +08:00
lian
57d0aad7b7
update rename file error msg (#5753)
show detailed msg when failed to rename file because file is locked
2023-11-11 17:17:41 +08:00
Michael An
eab8130ed8
Fix searched dir then copy dir bug (#5727)
* fix warnings

* fix search result path error
2023-11-01 15:10:43 +08:00
llj
2e97b4e341
[dir view] removed related info & function for 'readme.md' in the top info bar (#5720) 2023-10-31 10:13:48 +08:00
llj
a407d43695 [i18n] fixup 2023-10-08 14:24:22 +08:00
Alex Happy
1976ebd0c6
Sync apply folder ex props (#5666)
* init sync apply folder ex-props

* clear worker-map

* opt apply and remove useless code

* use new sync-apply-folder-ex-props api

* opt try exception
2023-10-07 14:55:16 +08:00
JoinTyang
e50d3b185b
optimize convert file (#5652)
* optimize convert file

* optimize code

* optimize code

* optimize code

* optimize code

* optimize code

* optimize code

---------

Co-authored-by: 杨顺强 <978987373@qq.com>
2023-09-25 15:56:00 +02:00
llj
f42421903a
[dir view] fixed 'selectedDirentList' state after moving dirents (#5654) 2023-09-20 08:07:51 +08:00
Michael An
52f9ae02b1 fix code bug 2023-09-18 10:20:47 +08:00
JoinTyang
e7d32fd4d6
convert markdown and sdoc (#5636) 2023-09-14 14:36:58 +08:00
Michael An
14ce391007
Fix eslint warnings (#5635)
* 01 fix eslint warnings

* fix code warnings

* fix code warnings

* fix code warnings

* fix code warnings

* fix code warnings
2023-09-13 08:40:50 +08:00