Commit graph

317 commits

Author SHA1 Message Date
boojack
fe5ba6850b
chore: update insert content in editor (#336) 2022-10-23 12:28:30 +00:00
Mahoo Huang
5690dab6bb
feat: add some hotkeys (#320)
* feat: add some hotkeys

* fix: hotkeys lose the text behind selected

* chore: adjust insertText params passing
2022-10-23 11:33:45 +00:00
boojack
e6f376ae66
fix: user setting name (#331) 2022-10-21 15:06:15 +00:00
boojack
1c2998c4d8
feat: pagination for memo list (#330) 2022-10-21 14:51:41 +00:00
Zeng1998
fc5d5cf231
fix: patch memo with resource list (#328)
fix: 修改memo时添加图片不显示
2022-10-21 22:16:05 +08:00
boojack
2a4fc7dcc3
chore: update memo display time (#327)
* chore: update memo display time

* chore: update
2022-10-21 20:26:00 +08:00
boojack
b68d6e2693
feat: update memo sort option setting (#326)
feat: add memo display ts
2022-10-21 11:57:57 +00:00
Zeng1998
bf5b7e747d
feat: customize memo list sorting rules (#312)
* chore: update .gitignore

* feat: 添加Memo列表按更新时间排序

* fix go-static-checks

* update

* update

* update Memo.tsx/MemoList.tsx

* handle conflict

Co-authored-by: boojack <stevenlgtm@gmail.com>
2022-10-19 21:00:34 +08:00
f97
24154c95f2
feat: editor tab support (#309)
* feat: editor tab support

* Update web/src/components/MemoEditor.tsx

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

* chore: if return style

Co-authored-by: boojack <stevenlgtm@gmail.com>
Co-authored-by: hyoban <hi@hyoban.cc>
2022-10-19 18:19:50 +08:00
boojack
35a8817442
fix: memo list auto scroll to top (#313)
fix: editor initial content
2022-10-18 22:56:43 +08:00
boojack
086b10717f
feat: upload files by dropping (#292) 2022-10-14 22:59:30 +08:00
Hyoban
65a61ed270
fix: can not click sidebar (#289) 2022-10-14 21:43:43 +08:00
Hyoban
5e7db4631e
feat: handle esc keyboard event for editor (#288) 2022-10-14 10:14:35 +08:00
boojack
0d6114e25e
feat: update sidebar mask styles (#287) 2022-10-14 07:26:43 +08:00
h2o2o
ce5a6fa3ac
chore: update sidebar styles in mobile view (#285)
* 添加移动端点击自动关闭侧边栏

* 添加移动端点击自动关闭侧边栏

* 添加移动端点击自动关闭侧边栏

* move closeSidebar function to utils

* move closeSidebar function to utils

* 侧边栏优化

* 移动端侧边栏优化

* 移动端侧边栏优化

* 移动端侧边栏优化
2022-10-13 22:56:42 +08:00
Steven
ffe145d436 chore: revert sidebar updates 2022-10-13 08:05:59 +08:00
h2o2o
315ab94c94
添加移动端点击自动关闭侧边栏 (#271) 2022-10-11 08:12:35 +08:00
f97
1aa9963e07
fix: i18n for filter (#275) 2022-10-10 17:46:52 +08:00
Steven
88ade2c0b7 chore: update i18n for filter 2022-10-09 08:54:05 +08:00
winwin2011
4ada7dce77
chore: update i18n for shortcut filter (#270)
* chore: resources i18n

* chore: shortcut-list i18n

* chore: resources i18n

* chore: resources i18n

* chore: resources i18n
2022-10-08 22:27:23 +08:00
f97
2ea612e2fe
feat: add copy button to memo (#267)
* feat: copy-content

* Update web/src/less/memo-detail.less

Co-authored-by: boojack <stevenlgtm@gmail.com>
2022-10-05 16:39:04 +08:00
boojack
ca2557eb7e
fix: tag filter (#266) 2022-10-04 21:02:07 +08:00
steven
b959acc69d fix: update marked test cases 2022-10-04 14:35:07 +08:00
steven
4a2fe3aaae chore: update user banner style 2022-10-03 18:48:44 +08:00
steven
778282ae29 chore: update resource dialog 2022-10-03 09:39:59 +08:00
steven
05e46ee4a8 fix: emoji picker style 2022-10-03 09:11:07 +08:00
boojack
51fb8ddb07
feat: simple markdown parser (#252)
* feat: simple markdown parser

* chore: rename test file name

* feat: add plain text link parser

* chore: update style
2022-10-02 22:49:30 +08:00
steven
8e63b8f289 chore: update interval flag type 2022-10-01 23:01:32 +08:00
steven
5894104524 chore: update inline image 2022-10-01 20:00:45 +08:00
steven
ae8f292306 feat: create memo with resourceIdList 2022-10-01 10:57:14 +08:00
steven
c7cf35c7de feat: update memo resource component 2022-10-01 10:02:16 +08:00
steven
b2c22977c1 feat: update memo editor with uploading resources 2022-10-01 00:10:31 +08:00
boojack
52c8ac2ad3
chore: update emoji picker toggle logic (#244) 2022-09-26 22:33:41 +08:00
Steven
0c80654cc2 chore: update dropdown action button style 2022-09-26 22:06:06 +08:00
Steven
77a3513a6b chore: update memo detail page 2022-09-24 09:31:20 +08:00
Steven
63468dbaf3 chore: update memo detail access handler 2022-09-21 19:31:02 +08:00
Steven
6c1cc1d283 chore: use conditional rendering instead of OnlyWhen 2022-09-20 23:30:25 +08:00
Steven
15cfc9e1f5 chore: add memo detail page 2022-09-20 22:55:24 +08:00
Steven
004713d4cd chore: update dropdown component 2022-09-20 21:11:33 +08:00
f97
7a6eb53e0f
feat: float mobile editor (#234)
* feat: float mobile editor

* fix: fix pr comment

* lint: fix golangci-lint
2022-09-20 20:42:14 +08:00
boojack
02c26d5bb4
chore: update i18n for memo visibility (#233) 2022-09-20 08:34:49 +08:00
Steven
c60c58ed69 chore: fix memo content click handler 2022-09-19 23:01:14 +08:00
Steven
366afdd1e4 feat: use i18next 2022-09-19 22:27:50 +08:00
Steven
307483e499 feat: use react-router 2022-09-19 21:53:27 +08:00
f97
050a2d39fa
chore: fix i18n vietnamese typos and update MemoCardDialog (#228) 2022-09-18 09:17:46 +08:00
Steven
13aa61bbc0 chore: update i18n for change password dialog 2022-09-17 13:33:40 +08:00
boojack
f4d0e8c948
chore: hide the searchbar of emoji picker (#222)
chore: hide emoji picker searchbar
2022-09-17 09:23:53 +08:00
f97
e7db587a9e
feat: add emoji picker in editor (#221)
* feat: add vietnamese

* feat: add emoji picker in editor

* fix failing checks

* move emoji button before upload button

* move script to body index.html

* Update web/index.html

Co-authored-by: boojack <stevenlgtm@gmail.com>
2022-09-17 00:42:52 +08:00
Steven
fd7b8c3293 chore: add copy non-private memo link 2022-09-16 22:49:11 +08:00
Steven
8d694f7732 chore: remove language beta badge 2022-09-16 21:47:00 +08:00
f97
bdfa9f7a56
chore: update i18n for UserBanner (#219)
* feat: add vietnamese

* chore: update i18n

* Update web/src/locales/zh.json

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

Co-authored-by: boojack <stevenlgtm@gmail.com>
2022-09-16 21:48:18 +08:00
Steven
1591fdf61c chore: update i18n structures 2022-09-16 21:25:39 +08:00
f97
811f3340e9
feat: add vietnamese (#218) 2022-09-16 21:09:59 +08:00
ChasLui
7e8d1128f8
chore: update i18n (#215) 2022-09-15 06:53:51 +08:00
Steven
54db6eda04 chore: update common locales 2022-09-14 19:35:45 +08:00
boojack
c5b26e3310
chore: fix copy to clipboard (#214) 2022-09-14 19:24:13 +08:00
ChasLui
7079faf2b9
chore: update i18n (#212)
* feat: 增加部分 i18n

* feat: 增加部分 i18n

* feat: 增加部分 i18n
2022-09-14 19:14:45 +08:00
Steven
6e4577f721 feat: add MemoContent component 2022-09-10 21:22:26 +08:00
winwin2011
7b0987610c
feat: i18n for dialogs (#203)
* feat: i18n in dialog

* fix: use common translation
2022-09-10 09:30:10 +08:00
boojack
50fa560d4a
chore: update username validate config (#209) 2022-09-09 22:30:24 +08:00
boojack
d1a4348048
chore: support double-click to edit memo (#207) 2022-09-09 19:42:04 +08:00
Steven
22971c3a93 chore: support upload more file type 2022-09-09 08:10:39 +08:00
Steven
5fa9aa3c22 chore: add memo resources component 2022-09-09 07:53:02 +08:00
Steven
fbce43870f chore: update resource base url 2022-09-09 07:40:21 +08:00
boojack
b0b2776d03
chore: update button entries (#206) 2022-09-09 00:24:41 +08:00
boojack
e9ac6affef
feat: add explore page (#205) 2022-09-09 00:06:05 +08:00
winwin2011
5eea1339c9
fix: upload resouces double time (#204) 2022-09-08 00:13:21 +08:00
winwin2011
987bb80770
fix: heatmap popover blink (#195) 2022-09-04 22:34:24 +08:00
Steven
b884327a53 chore: update eslint rules 2022-09-04 06:48:19 +08:00
Steven
f7aca99d52 fix: upload image in iOS safari 2022-09-03 00:10:50 +08:00
Steven
d3b26f7126 chore: update about dialog 2022-09-02 20:12:13 +08:00
boojack
422e190c96
chore: support uploads multi files (#191) 2022-09-02 20:05:40 +08:00
Steven
3e13fa1ce6 chore: update marked helper 2022-09-02 09:07:32 +08:00
boojack
8d161b4526
fix: create shortcut input (#186)
* fix: create shortcut input

* chore: add yarn build
2022-08-31 20:21:56 +08:00
Steven
2a11aed881 chore: update dialog event listener 2022-08-30 07:41:28 +08:00
steven
5bdf7654fc chore: update detail styles 2022-08-27 08:57:29 +08:00
Steven
57f51d1c58 feat: allow updating memo createdTs 2022-08-25 22:02:32 +08:00
Steven
9f3f730723 chore: update selector style 2022-08-25 21:05:31 +08:00
boojack
e9d303326f
feat: set editor font style (#174)
feat: editor font style
2022-08-25 20:44:32 +08:00
Steven
2aed7c70aa chore: update cancel editing button 2022-08-23 21:33:53 +08:00
Lim Ding Wen
b1062f5387
fix: Fix Typo (Editting -> Editing) (#161) 2022-08-23 07:50:57 +08:00
Steven
734d5f3aed chore: update create tag tip style 2022-08-20 11:48:56 +08:00
Steven
2935057ca7 chore: update i18n 2022-08-20 11:36:33 +08:00
Steven
f06a3d171b chore: update error message handler 2022-08-20 07:34:39 +08:00
Steven
a98e64cf0a chore: update i18n dialog 2022-08-19 22:12:24 +08:00
Steven
dd04bc9e1d chore: add beta badge 2022-08-19 22:08:47 +08:00
Steven
2f33eceada chore: set default memo visibility 2022-08-19 21:59:50 +08:00
Steven
a7a01df79a chore: update i18n 2022-08-19 21:30:31 +08:00
Steven
b596d04939 chore: update i18n for auth page 2022-08-14 18:43:46 +08:00
boojack
90b881502d
feat: add user_setting model (#145)
* feat: add `user_setting` model

* chore: add global store

* chore: update settings in web

* chore: update `i18n` example
2022-08-13 14:35:33 +08:00
XQ
972a49d6aa
chore: code clean (#140) 2022-08-09 21:36:48 +08:00
XQ
cea16fac88
chore: remove useAppContext in dialog props 2022-08-08 23:33:53 +08:00
boojack
646a41e931 chore: add i18n based with useContext 2022-08-07 22:48:22 +08:00
boojack
c991a48df6 chore: add upload resource button 2022-08-07 01:56:10 +08:00
boojack
fd44255668 chore: use dropdown in member section 2022-08-07 01:35:20 +08:00
boojack
84564891be feat: add view resource dialog 2022-08-07 01:30:48 +08:00
boojack
8c8bb9e59f chore: update search bar styles 2022-07-31 09:10:30 +08:00
boojack
c703f281d9 chore: update feather icon 2022-07-30 00:29:20 +08:00
boojack
df7b4d54c6
chore: show inline image in daily review dialog (#135) 2022-07-29 20:11:14 +08:00
boojack
9994b1fabc chore: update member setting styles 2022-07-29 19:52:16 +08:00
boojack
2d093d5be0 chore: update daily review dialog style 2022-07-28 23:38:09 +08:00
boojack
2b8078a19b chore: add CommonDialog 2022-07-28 20:19:14 +08:00
boojack
fa93d0fd6e chore: update visibility selector style 2022-07-27 20:02:00 +08:00
boojack
d371cfd78d chore: update member list action buttons 2022-07-26 22:36:24 +08:00
boojack
07d9649b22 chore: add visibility selector 2022-07-26 21:24:52 +08:00
boojack
58e68f8f80 chore: update signin button in visitor mode 2022-07-25 21:50:25 +08:00
boojack
38383a426f
chore: update error message (#129) 2022-07-24 00:29:19 +08:00
boojack
5da4c98f05 chore: update icon button styles 2022-07-19 21:46:38 +08:00
boojack
6c5bea9caf chore: update html2image 2022-07-17 10:42:35 +08:00
boojack
93ba2f4fab chore: fix icon style 2022-07-17 10:29:12 +08:00
boojack
9417797b99 chore: use fontawesome instead of material icons 2022-07-17 09:58:56 +08:00
boojack
3de00cf4a8 chore: add dayjs to parse datetime 2022-07-16 11:50:40 +08:00
boojack
1d55545e30 chore: update github badge style 2022-07-16 09:52:57 +08:00
boojack
0dc377550f chore: fix hover heatmap 2022-07-15 22:29:47 +08:00
boojack
8a91b0ad9d chore: add github badge 2022-07-15 22:17:11 +08:00
boojack
2e126c71f0 chore: update button elements 2022-07-10 12:02:36 +08:00
boojack
5fd3cfdb61 chore: update user store 2022-07-10 08:36:10 +08:00
boojack
b85af714f5 feat: fullscreen editor 2022-07-09 23:16:20 +08:00
boojack
6a8c559e8c chore: update visitor view buttons 2022-07-09 12:00:26 +08:00
boojack
7418d2965d fix: visitor view in frontend 2022-07-09 08:32:46 +08:00
boojack
1afc183458 feat: update memo visibility in frontend 2022-07-08 23:38:24 +08:00
boojack
aed137472c fix: open id checking order 2022-07-08 22:17:17 +08:00
boojack
bdc9632b5b
chore: rename user role (#108)
* chore: rename user role to `host`

* chore: related frontend changes

* chore: fix migration file

* chore: use tricky sql
2022-07-08 22:16:18 +08:00
boojack
6f32643d7c
refactor: visitor view (#107)
* refactor: update api

* refactor: visitor view

* chore: update seed data
2022-07-07 23:11:20 +08:00
boojack
346d219cd5
chore: reorder imports manually (#106)
* chore: reorder imports manually

* chore: remove unused less
2022-07-07 22:02:40 +08:00
Hyoban
6b5d5e757e
feat: personal memos page (#105)
* feat: no need to log in to view memos

* chore: add a normal user to seed

* feat: page for other members

* fix: replace window.location

* fix: can not get username on home

* fix: check userID

* fix: can visit other user's page after login

* fix: do not redirect on wrong path

* fix: path error when clicked heatmap

* refactor: revise for review

* chore: remove unused import

* refactor: revise for review

* feat: update each user's route to /u/:userId.

* chore: eslint for import sort

* refactor: revise for review
2022-07-07 20:22:36 +08:00
boojack
2136a954f5 chore: make editor sticky 2022-07-05 22:48:21 +08:00
boojack
0e8d3e6907 chore: fix memos amount 2022-07-05 22:09:11 +08:00
boojack
17a61bb65f choe: update shortcut actived style 2022-07-04 21:45:54 +08:00
boojack
29f73f0d25 chore: update tag list selector 2022-07-04 21:27:07 +08:00
boojack
65ade1fc87 chore: update todo block 2022-07-03 11:24:57 +08:00
boojack
5dd6d505cc chore: use undefined instead of UNKNOWN_ID 2022-07-02 15:05:42 +08:00
boojack
06fc29aecd chore: rename delete to archive 2022-07-02 14:14:18 +08:00
boojack
536627007d
feat: schema migration handler (#100)
* chore: update about site dialog

* feat: schema migration

* chore: lint with golangci
2022-07-02 10:47:16 +08:00
boojack
a7425ac558
feat: toggle todo status by clicking (#99) 2022-07-02 00:56:25 +08:00
boojack
1b60180b79 chore: update setting dialog style 2022-07-01 19:32:42 +08:00
boojack
57ce96d23e chore: fix expand style 2022-06-30 21:30:07 +08:00
boojack
64f67f4bda
chore: update content parser (#97) 2022-06-30 21:19:50 +08:00
boojack
8cb9675965
chore: download image by one click (#94)
chore: download image by clicking
2022-06-28 21:56:06 +08:00
boojack
08210d55c3 chore: rename to DailyReviewDialog 2022-06-25 11:50:35 +08:00
boojack
62f0122cd5 chore: restore icon 2022-06-25 09:58:15 +08:00
boojack
8cb3994022 chore: update sharing image preview 2022-06-25 09:58:00 +08:00
boojack
cad4db128b fix: mouse hover in heatmap 2022-06-25 09:57:31 +08:00
boojack
929f621be4 chore: add image uploading status 2022-06-24 20:01:02 +08:00
boojack
2c8ff2794d chore: add ping button 2022-06-24 19:29:33 +08:00
boojack
3be5ea34a4 chore: update popup button styles 2022-06-22 19:52:06 +08:00
Steven
1999260f9d
chore: expand/fold memo content button (#84)
* chore: toggle show all content button

* chore: update expand text

* chore: rename
2022-06-22 08:36:09 +08:00
Steven
f80f0f2422
chore: use markdown image syntax (#83) 2022-06-21 22:14:52 +08:00
Steven
40680a5e0f
chore: update memo action buttons style (#80)
chore: update memo action btn style
2022-06-21 08:35:46 +08:00
Steven
f849a94dc5
chore: show daily memos view in sidebar (#79) 2022-06-21 08:16:42 +08:00