memos/web/src/components
CorrectRoadH 0a66c5c269
feat: new resource dashboard (#1346)
* feat: refator the file dashboard

* feat: support select resouce file

* feat: suppor delete select files

* feat: support share menu, implement rename and delete

* chore: change the color of hover

* chore: refator file dashboard to page

* feat: add i18n for button

* feat: beautify the button

* fix: the error position of button

* feat: only select when click circle instead of whole card

* feat: beautify file dashboard

* chore: factor the filecard code

* feat: using dropdown component intead of component

* feat: add i18n for delete selected resource button

* feat: delete the unused style of title

* chore: refactor file cover

* feat: support more type file cover

* feat: use memo to reduce unused computing in filecover

* feat: when no file be selected, click the delete will error

* feat: store the select resource id instead of source to save memory

* chore: delete unused code

* feat: refactor the file card

* chore: delete unused style file

* chore: change file to resource

* chore: delete unused import

* chore: fix the typo

* fix: the error of handle check click

* fix: the error of handle of uncheck

* chore: change the name of selectList to selectedList

* chore: change the name of selectList to selectedList

* chore: change the name of selectList to selectedList

* chore: delete unused import

* feat: support Responsive Design

* feat: min display two card in a line

* feat: adjust the num of a line in responsive design

* feat: adjust the num of a line to 6 when using md

* feat: add the color of hover source card when dark

* chore: refactor resource cover css to reduce code

* chore: delete unnessnary change

* chore: change the type of callback function

* chore: delete unused css code

* feat: add zh-hant i18n

* feat: change the position of buttons

* feat: add title for the icon button

* feat: add opacity for icon

* feat: refactor searchbar

* feat:move Debounce to search

* feat: new resource search bar

* feat: reduce the size of cover

* support file search

* Update web/src/pages/ResourcesDashboard.tsx

Co-authored-by: boojack <stevenlgtm@gmail.com>

* Update web/src/components/ResourceCard.tsx

Co-authored-by: boojack <stevenlgtm@gmail.com>

* chore: reduce css code

* feat: support lowcase and uppercase search

* chore: reserve the searchbar

* feat: refator resource Search bar

* chore: change the param name

* feat: resource bar support dark mode

* feat: beautify the UI of dashboard

* chore: extract positionClassName from actionsClassName

* feat: reduce the length of search bar

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2023-03-15 20:06:30 +08:00
..
base chore: rename common to base component (#1279) 2023-03-05 23:08:02 +08:00
Dialog feat: implement openai integration (#1245) 2023-03-04 18:22:10 +08:00
Editor chore: simplify editor (#1087) 2023-02-13 23:27:45 +08:00
Settings chore: fix typo (#1355) 2023-03-15 07:39:09 +08:00
AboutSiteDialog.tsx chore: upgrade version to 0.11.2 (#1336) 2023-03-11 13:20:24 +08:00
AppearanceSelect.tsx chore: fix typo (#1355) 2023-03-15 07:39:09 +08:00
ArchivedMemo.tsx feat: use react-hot-toast (#1321) 2023-03-09 08:54:14 +08:00
ArchivedMemoDialog.tsx feat: use react-hot-toast (#1321) 2023-03-09 08:54:14 +08:00
AskAIDialog.tsx feat: use react-hot-toast (#1321) 2023-03-09 08:54:14 +08:00
BetaBadge.tsx chore: add beta badge to storage (#1099) 2023-02-16 21:21:39 +08:00
ChangeMemberPasswordDialog.tsx feat: use react-hot-toast (#1321) 2023-03-09 08:54:14 +08:00
ChangeMemoCreatedTsDialog.tsx feat: use react-hot-toast (#1321) 2023-03-09 08:54:14 +08:00
ChangePasswordDialog.tsx feat: use react-hot-toast (#1321) 2023-03-09 08:54:14 +08:00
ChangeResourceFilenameDialog.tsx feat: use react-hot-toast (#1321) 2023-03-09 08:54:14 +08:00
CreateIdentityProviderDialog.tsx feat: use react-hot-toast (#1321) 2023-03-09 08:54:14 +08:00
CreateResourceDialog.tsx feat: use react-hot-toast (#1321) 2023-03-09 08:54:14 +08:00
CreateShortcutDialog.tsx feat: use react-hot-toast (#1321) 2023-03-09 08:54:14 +08:00
CreateStorageServiceDialog.tsx feat: use react-hot-toast (#1321) 2023-03-09 08:54:14 +08:00
CreateTagDialog.tsx refactor: useTranslation in CreateTagDialog (#1356) 2023-03-15 20:05:35 +08:00
DailyMemo.tsx feat: fold memo when content overflow (#1327) 2023-03-09 23:32:35 +08:00
EmbedMemoDialog.tsx feat: use react-hot-toast (#1321) 2023-03-09 08:54:14 +08:00
GitHubBadge.tsx chore: update links reference (#1243) 2023-03-04 15:06:01 +08:00
Header.tsx feat: new resource dashboard (#1346) 2023-03-15 20:06:30 +08:00
HomeSidebar.tsx refactor: filter store (#1331) 2023-03-11 09:13:54 +08:00
Icon.ts chore: clean package.json (#993) 2023-01-26 00:35:50 +08:00
Image.tsx feat: view all images of a memo (#393) 2022-11-02 12:00:28 +00:00
LocaleSelect.tsx feat: add Turkish Translation file (#1202) 2023-03-02 10:05:15 +08:00
Memo.tsx refactor: filter store (#1331) 2023-03-11 09:13:54 +08:00
MemoContent.tsx chore: fix cover bg color (#1337) 2023-03-11 15:23:05 +08:00
MemoEditor.tsx chore: remove editor shortcuts (#1334) 2023-03-11 12:31:45 +08:00
MemoFilter.tsx refactor: filter store (#1331) 2023-03-11 09:13:54 +08:00
MemoList.tsx refactor: filter store (#1331) 2023-03-11 09:13:54 +08:00
MemoResource.tsx chore: simplify memo editor component (#1079) 2023-02-12 16:34:42 +08:00
MemoResources.tsx chore: rename common to base component (#1279) 2023-03-05 23:08:02 +08:00
MobileHeader.tsx fix: expand btn display in front of menu (#1342) 2023-03-14 08:39:07 +08:00
PreviewImageDialog.tsx feat: support swipe to switch img on touchscreen (#970) 2023-01-19 20:57:03 +08:00
ResourceCard.tsx feat: new resource dashboard (#1346) 2023-03-15 20:06:30 +08:00
ResourceCover.tsx feat: new resource dashboard (#1346) 2023-03-15 20:06:30 +08:00
ResourceIcon.tsx chore: update editor style (#456) 2022-11-12 21:22:51 +08:00
ResourceSearchBar.tsx feat: new resource dashboard (#1346) 2023-03-15 20:06:30 +08:00
ResourcesSelectorDialog.tsx feat: use react-hot-toast (#1321) 2023-03-09 08:54:14 +08:00
SearchBar.tsx refactor: filter store (#1331) 2023-03-11 09:13:54 +08:00
SettingDialog.tsx chore: add my account entry in user dropdown (#1187) 2023-02-27 21:30:54 +08:00
ShareMemoDialog.tsx feat: fold memo when content overflow (#1327) 2023-03-09 23:32:35 +08:00
ShortcutList.tsx refactor: filter store (#1331) 2023-03-11 09:13:54 +08:00
TagList.tsx refactor: filter store (#1331) 2023-03-11 09:13:54 +08:00
UpdateAccountDialog.tsx feat: use react-hot-toast (#1321) 2023-03-09 08:54:14 +08:00
UpdateCustomizedProfileDialog.tsx feat: use react-hot-toast (#1321) 2023-03-09 08:54:14 +08:00
UpdateVersionBanner.tsx chore: update location store handler (#1273) 2023-03-05 19:50:50 +08:00
UsageHeatMap.tsx refactor: filter store (#1331) 2023-03-11 09:13:54 +08:00
UserAvatar.tsx chore: update avatar max size (#1109) 2023-02-18 10:48:31 +08:00
UserBanner.tsx feat: update page router (#1330) 2023-03-11 08:43:45 +08:00