Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
8635aed1
Commit
8635aed1
authored
Oct 25, 2024
by
Steven
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: update dependencies
parent
aa9649ad
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
926 additions
and
824 deletions
+926
-824
apidocs.swagger.yaml
proto/gen/apidocs.swagger.yaml
+188
-60
package.json
web/package.json
+21
-20
pnpm-lock.yaml
web/pnpm-lock.yaml
+707
-734
EmbeddedMemo.tsx
...c/components/MemoContent/EmbeddedContent/EmbeddedMemo.tsx
+1
-1
MemoRelationListView.tsx
web/src/components/MemoRelationListView.tsx
+2
-2
MemoView.tsx
web/src/components/MemoView.tsx
+3
-3
Navigation.tsx
web/src/components/Navigation.tsx
+1
-1
MemoDetail.tsx
web/src/pages/MemoDetail.tsx
+1
-1
SignIn.tsx
web/src/pages/SignIn.tsx
+1
-1
SignUp.tsx
web/src/pages/SignUp.tsx
+1
-1
No files found.
proto/gen/apidocs.swagger.yaml
View file @
8635aed1
...
@@ -311,12 +311,16 @@ paths:
...
@@ -311,12 +311,16 @@ paths:
type
:
integer
type
:
integer
format
:
int32
format
:
int32
-
name
:
pageToken
-
name
:
pageToken
description
:
"
A
page
token,
received
from
a
previous
`ListMemos`
call.
\r\n
Provide
this
to
retrieve
the
subsequent
page."
description
:
|-
A page token, received from a previous `ListMemos` call.
Provide this to retrieve the subsequent page.
in: query
in: query
required: false
required: false
type: string
type: string
-
name
:
filter
-
name
:
filter
description
:
"
Filter
is
used
to
filter
memos
returned
in
the
list.
\r\n
Format:
\"
creator
==
'users/{uid}'
&&
visibilities
==
['PUBLIC',
'PROTECTED']
\"
"
description
:
|-
Filter is used to filter memos returned in the list.
Format: "creator == 'users/{uid}' && visibilities == ['PUBLIC', 'PROTECTED']"
in: query
in: query
required: false
required: false
type: string
type: string
...
@@ -505,7 +509,9 @@ paths:
...
@@ -505,7 +509,9 @@ paths:
$ref
:
'
#/definitions/googlerpcStatus'
$ref
:
'
#/definitions/googlerpcStatus'
parameters
:
parameters
:
-
name
:
filter
-
name
:
filter
description
:
"
Filter
is
used
to
filter
users
returned
in
the
list.
\r\n
Format:
\"
username
==
'frank'
\"
"
description
:
|-
Filter is used to filter users returned in the list.
Format: "username == 'frank'"
in: query
in: query
required: false
required: false
type: string
type: string
...
@@ -666,7 +672,9 @@ paths:
...
@@ -666,7 +672,9 @@ paths:
$ref
:
'
#/definitions/googlerpcStatus'
$ref
:
'
#/definitions/googlerpcStatus'
parameters
:
parameters
:
-
name
:
name
-
name
:
name
description
:
"
The
resource
name
of
the
workspace
setting.
\r\n
Format:
settings/{setting}"
description
:
|-
The resource name of the workspace setting.
Format: settings/{setting}
in: path
in: path
required: true
required: true
type: string
type: string
...
@@ -688,7 +696,9 @@ paths:
...
@@ -688,7 +696,9 @@ paths:
$ref
:
'
#/definitions/googlerpcStatus'
$ref
:
'
#/definitions/googlerpcStatus'
parameters
:
parameters
:
-
name
:
setting.name
-
name
:
setting.name
description
:
"
name
is
the
name
of
the
setting.
\r\n
Format:
settings/{setting}"
description
:
|-
name is the name of the setting.
Format: settings/{setting}
in: path
in: path
required: true
required: true
type: string
type: string
...
@@ -724,7 +734,9 @@ paths:
...
@@ -724,7 +734,9 @@ paths:
$ref
:
'
#/definitions/googlerpcStatus'
$ref
:
'
#/definitions/googlerpcStatus'
parameters
:
parameters
:
-
name
:
identityProvider.name
-
name
:
identityProvider.name
description
:
"
The
name
of
the
identityProvider.
\r\n
Format:
identityProviders/{id}"
description
:
|-
The name of the identityProvider.
Format: identityProviders/{id}
in: path
in: path
required: true
required: true
type: string
type: string
...
@@ -762,7 +774,9 @@ paths:
...
@@ -762,7 +774,9 @@ paths:
$ref
:
'
#/definitions/googlerpcStatus'
$ref
:
'
#/definitions/googlerpcStatus'
parameters
:
parameters
:
-
name
:
inbox.name
-
name
:
inbox.name
description
:
"
The
name
of
the
inbox.
\r\n
Format:
inboxes/{id}"
description
:
|-
The name of the inbox.
Format: inboxes/{id}
in: path
in: path
required: true
required: true
type: string
type: string
...
@@ -806,7 +820,10 @@ paths:
...
@@ -806,7 +820,10 @@ paths:
$ref
:
'
#/definitions/googlerpcStatus'
$ref
:
'
#/definitions/googlerpcStatus'
parameters
:
parameters
:
-
name
:
memo.name
-
name
:
memo.name
description
:
"
The
name
of
the
memo.
\r\n
Format:
memos/{id}
\r\n
id
is
the
system
generated
id."
description
:
|-
The name of the memo.
Format: memos/{id}
id is the system generated id.
in: path
in: path
required: true
required: true
type: string
type: string
...
@@ -824,7 +841,9 @@ paths:
...
@@ -824,7 +841,9 @@ paths:
$ref
:
'
#/definitions/v1RowStatus'
$ref
:
'
#/definitions/v1RowStatus'
creator
:
creator
:
type
:
string
type
:
string
title
:
"
The
name
of
the
creator.
\r\n
Format:
users/{id}"
title
:
|-
The name of the creator.
Format: users/{id}
createTime
:
createTime
:
type
:
string
type
:
string
format
:
date-time
format
:
date-time
...
@@ -871,7 +890,9 @@ paths:
...
@@ -871,7 +890,9 @@ paths:
readOnly
:
true
readOnly
:
true
parent
:
parent
:
type
:
string
type
:
string
title
:
"
The
name
of
the
parent
memo.
\r\n
Format:
memos/{id}"
title
:
|-
The name of the parent memo.
Format: memos/{id}
readOnly: true
readOnly: true
snippet
:
snippet
:
type
:
string
type
:
string
...
@@ -897,7 +918,9 @@ paths:
...
@@ -897,7 +918,9 @@ paths:
$ref
:
'
#/definitions/googlerpcStatus'
$ref
:
'
#/definitions/googlerpcStatus'
parameters
:
parameters
:
-
name
:
name_1
-
name
:
name_1
description
:
"
The
name
of
the
user.
\r\n
Format:
users/{id}"
description
:
|-
The name of the user.
Format: users/{id}
in: path
in: path
required: true
required: true
type: string
type: string
...
@@ -919,7 +942,9 @@ paths:
...
@@ -919,7 +942,9 @@ paths:
$ref
:
'
#/definitions/googlerpcStatus'
$ref
:
'
#/definitions/googlerpcStatus'
parameters
:
parameters
:
-
name
:
name_1
-
name
:
name_1
description
:
"
The
name
of
the
identityProvider
to
delete.
\r\n
Format:
identityProviders/{id}"
description
:
|-
The name of the identityProvider to delete.
Format: identityProviders/{id}
in: path
in: path
required: true
required: true
type: string
type: string
...
@@ -941,7 +966,9 @@ paths:
...
@@ -941,7 +966,9 @@ paths:
$ref
:
'
#/definitions/googlerpcStatus'
$ref
:
'
#/definitions/googlerpcStatus'
parameters
:
parameters
:
-
name
:
name_2
-
name
:
name_2
description
:
"
The
name
of
the
identityProvider
to
get.
\r\n
Format:
identityProviders/{id}"
description
:
|-
The name of the identityProvider to get.
Format: identityProviders/{id}
in: path
in: path
required: true
required: true
type: string
type: string
...
@@ -963,7 +990,9 @@ paths:
...
@@ -963,7 +990,9 @@ paths:
$ref
:
'
#/definitions/googlerpcStatus'
$ref
:
'
#/definitions/googlerpcStatus'
parameters
:
parameters
:
-
name
:
name_2
-
name
:
name_2
description
:
"
The
name
of
the
inbox
to
delete.
\r\n
Format:
inboxes/{id}"
description
:
|-
The name of the inbox to delete.
Format: inboxes/{id}
in: path
in: path
required: true
required: true
type: string
type: string
...
@@ -985,7 +1014,10 @@ paths:
...
@@ -985,7 +1014,10 @@ paths:
$ref
:
'
#/definitions/googlerpcStatus'
$ref
:
'
#/definitions/googlerpcStatus'
parameters
:
parameters
:
-
name
:
name_3
-
name
:
name_3
description
:
"
The
name
of
the
resource.
\r\n
Format:
resources/{id}
\r\n
id
is
the
system
generated
unique
identifier."
description
:
|-
The name of the resource.
Format: resources/{id}
id is the system generated unique identifier.
in: path
in: path
required: true
required: true
type: string
type: string
...
@@ -1007,7 +1039,10 @@ paths:
...
@@ -1007,7 +1039,10 @@ paths:
$ref
:
'
#/definitions/googlerpcStatus'
$ref
:
'
#/definitions/googlerpcStatus'
parameters
:
parameters
:
-
name
:
name_3
-
name
:
name_3
description
:
"
The
name
of
the
resource.
\r\n
Format:
resources/{id}
\r\n
id
is
the
system
generated
unique
identifier."
description
:
|-
The name of the resource.
Format: resources/{id}
id is the system generated unique identifier.
in: path
in: path
required: true
required: true
type: string
type: string
...
@@ -1029,7 +1064,9 @@ paths:
...
@@ -1029,7 +1064,9 @@ paths:
$ref
:
'
#/definitions/googlerpcStatus'
$ref
:
'
#/definitions/googlerpcStatus'
parameters
:
parameters
:
-
name
:
name_4
-
name
:
name_4
description
:
"
The
name
of
the
memo.
\r\n
Format:
memos/{id}"
description
:
|-
The name of the memo.
Format: memos/{id}
in: path
in: path
required: true
required: true
type: string
type: string
...
@@ -1051,7 +1088,9 @@ paths:
...
@@ -1051,7 +1088,9 @@ paths:
$ref
:
'
#/definitions/googlerpcStatus'
$ref
:
'
#/definitions/googlerpcStatus'
parameters
:
parameters
:
-
name
:
name_4
-
name
:
name_4
description
:
"
The
name
of
the
memo.
\r\n
Format:
memos/{id}"
description
:
|-
The name of the memo.
Format: memos/{id}
in: path
in: path
required: true
required: true
type: string
type: string
...
@@ -1073,7 +1112,9 @@ paths:
...
@@ -1073,7 +1112,9 @@ paths:
$ref
:
'
#/definitions/googlerpcStatus'
$ref
:
'
#/definitions/googlerpcStatus'
parameters
:
parameters
:
-
name
:
name
-
name
:
name
description
:
"
The
name
of
the
activity.
\r\n
Format:
activities/{id}"
description
:
|-
The name of the activity.
Format: activities/{id}
in: path
in: path
required: true
required: true
type: string
type: string
...
@@ -1095,7 +1136,9 @@ paths:
...
@@ -1095,7 +1136,9 @@ paths:
$ref
:
'
#/definitions/googlerpcStatus'
$ref
:
'
#/definitions/googlerpcStatus'
parameters
:
parameters
:
-
name
:
name
-
name
:
name
description
:
"
The
name
of
the
user.
\r\n
Format:
users/{id}"
description
:
|-
The name of the user.
Format: users/{id}
in: path
in: path
required: true
required: true
type: string
type: string
...
@@ -1117,7 +1160,9 @@ paths:
...
@@ -1117,7 +1160,9 @@ paths:
$ref
:
'
#/definitions/googlerpcStatus'
$ref
:
'
#/definitions/googlerpcStatus'
parameters
:
parameters
:
-
name
:
name
-
name
:
name
description
:
"
The
name
of
the
user.
\r\n
Format:
users/{id}"
description
:
|-
The name of the user.
Format: users/{id}
in: path
in: path
required: true
required: true
type: string
type: string
...
@@ -1138,7 +1183,9 @@ paths:
...
@@ -1138,7 +1183,9 @@ paths:
$ref
:
'
#/definitions/googlerpcStatus'
$ref
:
'
#/definitions/googlerpcStatus'
parameters
:
parameters
:
-
name
:
name
-
name
:
name
description
:
"
The
name
of
the
user.
\r\n
Format:
users/{id}"
description
:
|-
The name of the user.
Format: users/{id}
in: path
in: path
required: true
required: true
type: string
type: string
...
@@ -1166,7 +1213,9 @@ paths:
...
@@ -1166,7 +1213,9 @@ paths:
$ref
:
'
#/definitions/googlerpcStatus'
$ref
:
'
#/definitions/googlerpcStatus'
parameters
:
parameters
:
-
name
:
name
-
name
:
name
description
:
"
The
name
of
the
user.
\r\n
Format:
users/{id}"
description
:
|-
The name of the user.
Format: users/{id}
in: path
in: path
required: true
required: true
type: string
type: string
...
@@ -1193,7 +1242,9 @@ paths:
...
@@ -1193,7 +1242,9 @@ paths:
$ref
:
'
#/definitions/googlerpcStatus'
$ref
:
'
#/definitions/googlerpcStatus'
parameters
:
parameters
:
-
name
:
name
-
name
:
name
description
:
"
The
name
of
the
memo.
\r\n
Format:
memos/{id}"
description
:
|-
The name of the memo.
Format: memos/{id}
in: path
in: path
required: true
required: true
type: string
type: string
...
@@ -1214,7 +1265,9 @@ paths:
...
@@ -1214,7 +1265,9 @@ paths:
$ref
:
'
#/definitions/googlerpcStatus'
$ref
:
'
#/definitions/googlerpcStatus'
parameters
:
parameters
:
-
name
:
name
-
name
:
name
description
:
"
The
name
of
the
memo.
\r\n
Format:
memos/{id}"
description
:
|-
The name of the memo.
Format: memos/{id}
in: path
in: path
required: true
required: true
type: string
type: string
...
@@ -1241,7 +1294,9 @@ paths:
...
@@ -1241,7 +1294,9 @@ paths:
$ref
:
'
#/definitions/googlerpcStatus'
$ref
:
'
#/definitions/googlerpcStatus'
parameters
:
parameters
:
-
name
:
name
-
name
:
name
description
:
"
The
name
of
the
memo.
\r\n
Format:
memos/{id}"
description
:
|-
The name of the memo.
Format: memos/{id}
in: path
in: path
required: true
required: true
type: string
type: string
...
@@ -1262,7 +1317,9 @@ paths:
...
@@ -1262,7 +1317,9 @@ paths:
$ref
:
'
#/definitions/googlerpcStatus'
$ref
:
'
#/definitions/googlerpcStatus'
parameters
:
parameters
:
-
name
:
name
-
name
:
name
description
:
"
The
name
of
the
memo.
\r\n
Format:
memos/{id}"
description
:
|-
The name of the memo.
Format: memos/{id}
in: path
in: path
required: true
required: true
type: string
type: string
...
@@ -1289,7 +1346,9 @@ paths:
...
@@ -1289,7 +1346,9 @@ paths:
$ref
:
'
#/definitions/googlerpcStatus'
$ref
:
'
#/definitions/googlerpcStatus'
parameters
:
parameters
:
-
name
:
name
-
name
:
name
description
:
"
The
name
of
the
memo.
\r\n
Format:
memos/{id}"
description
:
|-
The name of the memo.
Format: memos/{id}
in: path
in: path
required: true
required: true
type: string
type: string
...
@@ -1311,7 +1370,9 @@ paths:
...
@@ -1311,7 +1370,9 @@ paths:
$ref
:
'
#/definitions/googlerpcStatus'
$ref
:
'
#/definitions/googlerpcStatus'
parameters
:
parameters
:
-
name
:
name
-
name
:
name
description
:
"
The
name
of
the
memo.
\r\n
Format:
memos/{id}"
description
:
|-
The name of the memo.
Format: memos/{id}
in: path
in: path
required: true
required: true
type: string
type: string
...
@@ -1338,7 +1399,9 @@ paths:
...
@@ -1338,7 +1399,9 @@ paths:
$ref
:
'
#/definitions/googlerpcStatus'
$ref
:
'
#/definitions/googlerpcStatus'
parameters
:
parameters
:
-
name
:
name
-
name
:
name
description
:
"
The
name
of
the
memo.
\r\n
Format:
memos/{id}"
description
:
|-
The name of the memo.
Format: memos/{id}
in: path
in: path
required: true
required: true
type: string
type: string
...
@@ -1360,7 +1423,9 @@ paths:
...
@@ -1360,7 +1423,9 @@ paths:
$ref
:
'
#/definitions/googlerpcStatus'
$ref
:
'
#/definitions/googlerpcStatus'
parameters
:
parameters
:
-
name
:
name
-
name
:
name
description
:
"
The
name
of
the
memo.
\r\n
Format:
memos/{id}"
description
:
|-
The name of the memo.
Format: memos/{id}
in: path
in: path
required: true
required: true
type: string
type: string
...
@@ -1387,7 +1452,9 @@ paths:
...
@@ -1387,7 +1452,9 @@ paths:
$ref
:
'
#/definitions/googlerpcStatus'
$ref
:
'
#/definitions/googlerpcStatus'
parameters
:
parameters
:
-
name
:
name
-
name
:
name
description
:
"
The
name
of
the
user.
\r\n
Format:
users/{id}"
description
:
|-
The name of the user.
Format: users/{id}
in: path
in: path
required: true
required: true
type: string
type: string
...
@@ -1410,7 +1477,9 @@ paths:
...
@@ -1410,7 +1477,9 @@ paths:
$ref
:
'
#/definitions/googlerpcStatus'
$ref
:
'
#/definitions/googlerpcStatus'
parameters
:
parameters
:
-
name
:
parent
-
name
:
parent
description
:
"
The
parent,
who
owns
the
tags.
\r\n
Format:
memos/{id}.
Use
\"
memos/-
\"
to
delete
all
tags."
description
:
|-
The parent, who owns the tags.
Format: memos/{id}. Use "memos/-" to delete all tags.
in: path
in: path
required: true
required: true
type: string
type: string
...
@@ -1441,7 +1510,9 @@ paths:
...
@@ -1441,7 +1510,9 @@ paths:
$ref
:
'
#/definitions/googlerpcStatus'
$ref
:
'
#/definitions/googlerpcStatus'
parameters
:
parameters
:
-
name
:
parent
-
name
:
parent
description
:
"
The
parent,
who
owns
the
tags.
\r\n
Format:
memos/{id}.
Use
\"
memos/-
\"
to
rename
all
tags."
description
:
|-
The parent, who owns the tags.
Format: memos/{id}. Use "memos/-" to rename all tags.
in: path
in: path
required: true
required: true
type: string
type: string
...
@@ -1468,7 +1539,10 @@ paths:
...
@@ -1468,7 +1539,10 @@ paths:
$ref
:
'
#/definitions/googlerpcStatus'
$ref
:
'
#/definitions/googlerpcStatus'
parameters
:
parameters
:
-
name
:
resource.name
-
name
:
resource.name
description
:
"
The
name
of
the
resource.
\r\n
Format:
resources/{id}
\r\n
id
is
the
system
generated
unique
identifier."
description
:
|-
The name of the resource.
Format: resources/{id}
id is the system generated unique identifier.
in: path
in: path
required: true
required: true
type: string
type: string
...
@@ -1500,7 +1574,9 @@ paths:
...
@@ -1500,7 +1574,9 @@ paths:
format
:
int64
format
:
int64
memo
:
memo
:
type
:
string
type
:
string
title
:
"
The
related
memo.
\r\n
Format:
memos/{id}"
title
:
|-
The related memo.
Format: memos/{id}
tags
:
tags
:
-
ResourceService
-
ResourceService
/api/v1/{setting.name}
:
/api/v1/{setting.name}
:
...
@@ -1518,7 +1594,9 @@ paths:
...
@@ -1518,7 +1594,9 @@ paths:
$ref
:
'
#/definitions/googlerpcStatus'
$ref
:
'
#/definitions/googlerpcStatus'
parameters
:
parameters
:
-
name
:
setting.name
-
name
:
setting.name
description
:
"
The
name
of
the
user.
\r\n
Format:
users/{id}"
description
:
|-
The name of the user.
Format: users/{id}
in: path
in: path
required: true
required: true
type: string
type: string
...
@@ -1555,7 +1633,9 @@ paths:
...
@@ -1555,7 +1633,9 @@ paths:
$ref
:
'
#/definitions/googlerpcStatus'
$ref
:
'
#/definitions/googlerpcStatus'
parameters
:
parameters
:
-
name
:
user.name
-
name
:
user.name
description
:
"
The
name
of
the
user.
\r\n
Format:
users/{id}"
description
:
|-
The name of the user.
Format: users/{id}
in: path
in: path
required: true
required: true
type: string
type: string
...
@@ -1609,7 +1689,9 @@ paths:
...
@@ -1609,7 +1689,9 @@ paths:
$ref
:
'
#/definitions/googlerpcStatus'
$ref
:
'
#/definitions/googlerpcStatus'
parameters
:
parameters
:
-
name
:
name
-
name
:
name
description
:
"
The
name
of
the
user.
\r\n
Format:
users/{id}"
description
:
|-
The name of the user.
Format: users/{id}
in: path
in: path
required: true
required: true
type: string
type: string
...
@@ -1642,7 +1724,10 @@ paths:
...
@@ -1642,7 +1724,10 @@ paths:
$ref
:
'
#/definitions/googlerpcStatus'
$ref
:
'
#/definitions/googlerpcStatus'
parameters
:
parameters
:
-
name
:
name
-
name
:
name
description
:
"
The
name
of
the
resource.
\r\n
Format:
resources/{id}
\r\n
id
is
the
system
generated
unique
identifier."
description
:
|-
The name of the resource.
Format: resources/{id}
id is the system generated unique identifier.
in: path
in: path
required: true
required: true
type: string
type: string
...
@@ -1835,7 +1920,9 @@ definitions:
...
@@ -1835,7 +1920,9 @@ definitions:
properties
:
properties
:
name
:
name
:
type
:
string
type
:
string
title
:
"
The
name
of
the
identityProvider.
\r\n
Format:
identityProviders/{id}"
title
:
|-
The name of the identityProvider.
Format: identityProviders/{id}
type
:
type
:
$ref
:
'
#/definitions/apiv1IdentityProviderType'
$ref
:
'
#/definitions/apiv1IdentityProviderType'
title
:
title
:
...
@@ -1871,7 +1958,10 @@ definitions:
...
@@ -1871,7 +1958,10 @@ definitions:
properties
:
properties
:
name
:
name
:
type
:
string
type
:
string
description
:
"
The
name
of
the
memo.
\r\n
Format:
memos/{id}
\r\n
id
is
the
system
generated
id."
description
:
|-
The name of the memo.
Format: memos/{id}
id is the system generated id.
uid
:
uid
:
type
:
string
type
:
string
description
:
The user defined id of the memo.
description
:
The user defined id of the memo.
...
@@ -1879,7 +1969,9 @@ definitions:
...
@@ -1879,7 +1969,9 @@ definitions:
$ref
:
'
#/definitions/v1RowStatus'
$ref
:
'
#/definitions/v1RowStatus'
creator
:
creator
:
type
:
string
type
:
string
title
:
"
The
name
of
the
creator.
\r\n
Format:
users/{id}"
title
:
|-
The name of the creator.
Format: users/{id}
createTime
:
createTime
:
type
:
string
type
:
string
format
:
date-time
format
:
date-time
...
@@ -1926,7 +2018,9 @@ definitions:
...
@@ -1926,7 +2018,9 @@ definitions:
readOnly
:
true
readOnly
:
true
parent
:
parent
:
type
:
string
type
:
string
title
:
"
The
name
of
the
parent
memo.
\r\n
Format:
memos/{id}"
title
:
|-
The name of the parent memo.
Format: memos/{id}
readOnly: true
readOnly: true
snippet
:
snippet
:
type
:
string
type
:
string
...
@@ -1959,7 +2053,9 @@ definitions:
...
@@ -1959,7 +2053,9 @@ definitions:
properties
:
properties
:
name
:
name
:
type
:
string
type
:
string
title
:
"
The
name
of
the
user.
\r\n
Format:
users/{id}"
title
:
|-
The name of the user.
Format: users/{id}
locale
:
locale
:
type
:
string
type
:
string
description
:
The preferred locale of the user.
description
:
The preferred locale of the user.
...
@@ -2003,7 +2099,10 @@ definitions:
...
@@ -2003,7 +2099,10 @@ definitions:
weekStartDayOffset
:
weekStartDayOffset
:
type
:
integer
type
:
integer
format
:
int32
format
:
int32
description
:
"
week_start_day_offset
is
the
week
start
day
offset
from
Sunday.
\r\n
0:
Sunday,
1:
Monday,
2:
Tuesday,
3:
Wednesday,
4:
Thursday,
5:
Friday,
6:
Saturday
\r\n
Default
is
Sunday."
description
:
|-
week_start_day_offset is the week start day offset from Sunday.
0: Sunday, 1: Monday, 2: Tuesday, 3: Wednesday, 4: Thursday, 5: Friday, 6: Saturday
Default is Sunday.
disallowChangeUsername
:
disallowChangeUsername
:
type
:
boolean
type
:
boolean
description
:
disallow_change_username disallows changing username.
description
:
disallow_change_username disallows changing username.
...
@@ -2054,7 +2153,9 @@ definitions:
...
@@ -2054,7 +2153,9 @@ definitions:
properties
:
properties
:
name
:
name
:
type
:
string
type
:
string
title
:
"
name
is
the
name
of
the
setting.
\r\n
Format:
settings/{setting}"
title
:
|-
name is the name of the setting.
Format: settings/{setting}
generalSetting
:
generalSetting
:
$ref
:
'
#/definitions/apiv1WorkspaceGeneralSetting'
$ref
:
'
#/definitions/apiv1WorkspaceGeneralSetting'
storageSetting
:
storageSetting
:
...
@@ -2069,7 +2170,9 @@ definitions:
...
@@ -2069,7 +2170,9 @@ definitions:
description
:
storage_type is the storage type.
description
:
storage_type is the storage type.
filepathTemplate
:
filepathTemplate
:
type
:
string
type
:
string
title
:
"
The
template
of
file
path.
\r\n
e.g.
assets/{timestamp}_{filename}"
title
:
|-
The template of file path.
e.g. assets/{timestamp}_{filename}
uploadSizeLimitMb
:
uploadSizeLimitMb
:
type
:
string
type
:
string
format
:
int64
format
:
int64
...
@@ -2228,7 +2331,9 @@ definitions:
...
@@ -2228,7 +2331,9 @@ definitions:
properties
:
properties
:
name
:
name
:
type
:
string
type
:
string
title
:
"
The
name
of
the
activity.
\r\n
Format:
activities/{id}"
title
:
|-
The name of the activity.
Format: activities/{id}
creatorId
:
creatorId
:
type
:
integer
type
:
integer
format
:
int32
format
:
int32
...
@@ -2371,7 +2476,9 @@ definitions:
...
@@ -2371,7 +2476,9 @@ definitions:
properties
:
properties
:
name
:
name
:
type
:
string
type
:
string
title
:
"
The
name
of
the
inbox.
\r\n
Format:
inboxes/{id}"
title
:
|-
The name of the inbox.
Format: inboxes/{id}
sender
:
sender
:
type
:
string
type
:
string
title
:
'
Format:
users/{id}'
title
:
'
Format:
users/{id}'
...
@@ -2445,7 +2552,9 @@ definitions:
...
@@ -2445,7 +2552,9 @@ definitions:
$ref
:
'
#/definitions/v1Inbox'
$ref
:
'
#/definitions/v1Inbox'
nextPageToken
:
nextPageToken
:
type
:
string
type
:
string
description
:
"
A
token,
which
can
be
sent
as
`page_token`
to
retrieve
the
next
page.
\r\n
If
this
field
is
omitted,
there
are
no
subsequent
pages."
description
:
|-
A token, which can be sent as `page_token` to retrieve the next page.
If this field is omitted, there are no subsequent pages.
v1ListMemoCommentsResponse
:
v1ListMemoCommentsResponse
:
type
:
object
type
:
object
properties
:
properties
:
...
@@ -2488,7 +2597,9 @@ definitions:
...
@@ -2488,7 +2597,9 @@ definitions:
$ref
:
'
#/definitions/apiv1Memo'
$ref
:
'
#/definitions/apiv1Memo'
nextPageToken
:
nextPageToken
:
type
:
string
type
:
string
description
:
"
A
token,
which
can
be
sent
as
`page_token`
to
retrieve
the
next
page.
\r\n
If
this
field
is
omitted,
there
are
no
subsequent
pages."
description
:
|-
A token, which can be sent as `page_token` to retrieve the next page.
If this field is omitted, there are no subsequent pages.
v1ListNode
:
v1ListNode
:
type
:
object
type
:
object
properties
:
properties
:
...
@@ -2564,10 +2675,14 @@ definitions:
...
@@ -2564,10 +2675,14 @@ definitions:
properties
:
properties
:
memo
:
memo
:
$ref
:
'
#/definitions/v1MemoRelationMemo'
$ref
:
'
#/definitions/v1MemoRelationMemo'
title
:
"
The
name
of
memo.
\r\n
Format:
\"
memos/{uid}
\"
"
title
:
|-
The name of memo.
Format: "memos/{uid}"
relatedMemo
:
relatedMemo
:
$ref
:
'
#/definitions/v1MemoRelationMemo'
$ref
:
'
#/definitions/v1MemoRelationMemo'
title
:
"
The
name
of
related
memo.
\r\n
Format:
\"
memos/{uid}
\"
"
title
:
|-
The name of related memo.
Format: "memos/{uid}"
type
:
type
:
$ref
:
'
#/definitions/v1MemoRelationType'
$ref
:
'
#/definitions/v1MemoRelationType'
v1MemoRelationMemo
:
v1MemoRelationMemo
:
...
@@ -2575,7 +2690,9 @@ definitions:
...
@@ -2575,7 +2690,9 @@ definitions:
properties
:
properties
:
name
:
name
:
type
:
string
type
:
string
title
:
"
The
name
of
the
memo.
\r\n
Format:
memos/{id}"
title
:
|-
The name of the memo.
Format: memos/{id}
uid
:
uid
:
type
:
string
type
:
string
snippet
:
snippet
:
...
@@ -2749,7 +2866,9 @@ definitions:
...
@@ -2749,7 +2866,9 @@ definitions:
format
:
int32
format
:
int32
creator
:
creator
:
type
:
string
type
:
string
title
:
"
The
name
of
the
creator.
\r\n
Format:
users/{id}"
title
:
|-
The name of the creator.
Format: users/{id}
contentId
:
contentId
:
type
:
string
type
:
string
reactionType
:
reactionType
:
...
@@ -2766,7 +2885,10 @@ definitions:
...
@@ -2766,7 +2885,10 @@ definitions:
properties
:
properties
:
name
:
name
:
type
:
string
type
:
string
description
:
"
The
name
of
the
resource.
\r\n
Format:
resources/{id}
\r\n
id
is
the
system
generated
unique
identifier."
description
:
|-
The name of the resource.
Format: resources/{id}
id is the system generated unique identifier.
uid
:
uid
:
type
:
string
type
:
string
description
:
The user defined id of the resource.
description
:
The user defined id of the resource.
...
@@ -2788,7 +2910,9 @@ definitions:
...
@@ -2788,7 +2910,9 @@ definitions:
format
:
int64
format
:
int64
memo
:
memo
:
type
:
string
type
:
string
title
:
"
The
related
memo.
\r\n
Format:
memos/{id}"
title
:
|-
The related memo.
Format: memos/{id}
v1RestoreMarkdownNodesRequest
:
v1RestoreMarkdownNodesRequest
:
type
:
object
type
:
object
properties
:
properties
:
...
@@ -2910,7 +3034,9 @@ definitions:
...
@@ -2910,7 +3034,9 @@ definitions:
properties
:
properties
:
name
:
name
:
type
:
string
type
:
string
title
:
"
The
name
of
the
user.
\r\n
Format:
users/{id}"
title
:
|-
The name of the user.
Format: users/{id}
id
:
id
:
type
:
integer
type
:
integer
format
:
int32
format
:
int32
...
@@ -2984,7 +3110,9 @@ definitions:
...
@@ -2984,7 +3110,9 @@ definitions:
properties
:
properties
:
owner
:
owner
:
type
:
string
type
:
string
title
:
"
The
name
of
instance
owner.
\r\n
Format:
\"
users/{id}
\"
"
title
:
|-
The name of instance owner.
Format: "users/{id}"
version
:
version
:
type
:
string
type
:
string
title
:
version is the current version of instance
title
:
version is the current version of instance
...
...
web/package.json
View file @
8635aed1
...
@@ -17,8 +17,9 @@
...
@@ -17,8 +17,9 @@
"@github/relative-time-element"
:
"^4.4.3"
,
"@github/relative-time-element"
:
"^4.4.3"
,
"@matejmazur/react-katex"
:
"^3.1.3"
,
"@matejmazur/react-katex"
:
"^3.1.3"
,
"@mui/joy"
:
"5.0.0-beta.48"
,
"@mui/joy"
:
"5.0.0-beta.48"
,
"@radix-ui/react-popover"
:
"^1.1.1"
,
"@radix-ui/react-popover"
:
"^1.1.2"
,
"@reduxjs/toolkit"
:
"^2.2.7"
,
"@reduxjs/toolkit"
:
"^2.3.0"
,
"@usememos/mui"
:
"0.0.1-alpha.6"
,
"class-variance-authority"
:
"^0.7.0"
,
"class-variance-authority"
:
"^0.7.0"
,
"clsx"
:
"^2.1.1"
,
"clsx"
:
"^2.1.1"
,
"copy-to-clipboard"
:
"^3.3.3"
,
"copy-to-clipboard"
:
"^3.3.3"
,
...
@@ -26,59 +27,59 @@
...
@@ -26,59 +27,59 @@
"dompurify"
:
"^3.1.7"
,
"dompurify"
:
"^3.1.7"
,
"fuse.js"
:
"^7.0.0"
,
"fuse.js"
:
"^7.0.0"
,
"highlight.js"
:
"^11.10.0"
,
"highlight.js"
:
"^11.10.0"
,
"i18next"
:
"^23.1
5.1
"
,
"i18next"
:
"^23.1
6.3
"
,
"katex"
:
"^0.16.11"
,
"katex"
:
"^0.16.11"
,
"leaflet"
:
"^1.9.4"
,
"leaflet"
:
"^1.9.4"
,
"lodash-es"
:
"^4.17.21"
,
"lodash-es"
:
"^4.17.21"
,
"lucide-react"
:
"^0.4
37
.0"
,
"lucide-react"
:
"^0.4
53
.0"
,
"mermaid"
:
"^11.
2.1
"
,
"mermaid"
:
"^11.
3.0
"
,
"react"
:
"^18.3.1"
,
"react"
:
"^18.3.1"
,
"react-datepicker"
:
"^7.5.0"
,
"react-datepicker"
:
"^7.5.0"
,
"react-dom"
:
"^18.3.1"
,
"react-dom"
:
"^18.3.1"
,
"react-force-graph-2d"
:
"^1.25.
6
"
,
"react-force-graph-2d"
:
"^1.25.
7
"
,
"react-hot-toast"
:
"^2.4.1"
,
"react-hot-toast"
:
"^2.4.1"
,
"react-i18next"
:
"^15.
0.2
"
,
"react-i18next"
:
"^15.
1.0
"
,
"react-leaflet"
:
"^4.2.1"
,
"react-leaflet"
:
"^4.2.1"
,
"react-redux"
:
"^9.1.2"
,
"react-redux"
:
"^9.1.2"
,
"react-router-dom"
:
"^6.2
6.2
"
,
"react-router-dom"
:
"^6.2
7.0
"
,
"react-use"
:
"^17.5.1"
,
"react-use"
:
"^17.5.1"
,
"tailwind-merge"
:
"^2.5.
2
"
,
"tailwind-merge"
:
"^2.5.
4
"
,
"tailwindcss"
:
"^3.4.1
2
"
,
"tailwindcss"
:
"^3.4.1
4
"
,
"tailwindcss-animate"
:
"^1.0.7"
,
"tailwindcss-animate"
:
"^1.0.7"
,
"textarea-caret"
:
"^3.1.0"
,
"textarea-caret"
:
"^3.1.0"
,
"uuid"
:
"^10.0.0"
,
"uuid"
:
"^10.0.0"
,
"zustand"
:
"^4.5.5"
"zustand"
:
"^4.5.5"
},
},
"devDependencies"
:
{
"devDependencies"
:
{
"@bufbuild/buf"
:
"^1.4
2
.0"
,
"@bufbuild/buf"
:
"^1.4
5
.0"
,
"@bufbuild/protobuf"
:
"^2.
1
.0"
,
"@bufbuild/protobuf"
:
"^2.
2
.0"
,
"@trivago/prettier-plugin-sort-imports"
:
"^4.3.0"
,
"@trivago/prettier-plugin-sort-imports"
:
"^4.3.0"
,
"@types/d3"
:
"^7.4.3"
,
"@types/d3"
:
"^7.4.3"
,
"@types/dompurify"
:
"^3.0.5"
,
"@types/dompurify"
:
"^3.0.5"
,
"@types/katex"
:
"^0.16.7"
,
"@types/katex"
:
"^0.16.7"
,
"@types/leaflet"
:
"^1.9.1
2
"
,
"@types/leaflet"
:
"^1.9.1
4
"
,
"@types/lodash-es"
:
"^4.17.12"
,
"@types/lodash-es"
:
"^4.17.12"
,
"@types/node"
:
"^22.
7.4
"
,
"@types/node"
:
"^22.
8.0
"
,
"@types/qs"
:
"^6.9.16"
,
"@types/qs"
:
"^6.9.16"
,
"@types/react"
:
"^18.3.
8
"
,
"@types/react"
:
"^18.3.
12
"
,
"@types/react-dom"
:
"^18.3.
0
"
,
"@types/react-dom"
:
"^18.3.
1
"
,
"@types/textarea-caret"
:
"^3.0.3"
,
"@types/textarea-caret"
:
"^3.0.3"
,
"@types/uuid"
:
"^10.0.0"
,
"@types/uuid"
:
"^10.0.0"
,
"@typescript-eslint/eslint-plugin"
:
"^7.18.0"
,
"@typescript-eslint/eslint-plugin"
:
"^7.18.0"
,
"@typescript-eslint/parser"
:
"^7.18.0"
,
"@typescript-eslint/parser"
:
"^7.18.0"
,
"@vitejs/plugin-react"
:
"^4.3.
1
"
,
"@vitejs/plugin-react"
:
"^4.3.
3
"
,
"autoprefixer"
:
"^10.4.20"
,
"autoprefixer"
:
"^10.4.20"
,
"eslint"
:
"^8.57.1"
,
"eslint"
:
"^8.57.1"
,
"eslint-config-prettier"
:
"^9.1.0"
,
"eslint-config-prettier"
:
"^9.1.0"
,
"eslint-plugin-prettier"
:
"^5.2.1"
,
"eslint-plugin-prettier"
:
"^5.2.1"
,
"eslint-plugin-react"
:
"^7.3
6.1
"
,
"eslint-plugin-react"
:
"^7.3
7.2
"
,
"less"
:
"^4.2.0"
,
"less"
:
"^4.2.0"
,
"long"
:
"^5.2.3"
,
"long"
:
"^5.2.3"
,
"nice-grpc-web"
:
"^3.3.5"
,
"nice-grpc-web"
:
"^3.3.5"
,
"postcss"
:
"^8.4.47"
,
"postcss"
:
"^8.4.47"
,
"prettier"
:
"^3.3.3"
,
"prettier"
:
"^3.3.3"
,
"protobufjs"
:
"^7.4.0"
,
"protobufjs"
:
"^7.4.0"
,
"typescript"
:
"^5.6.
2
"
,
"typescript"
:
"^5.6.
3
"
,
"vite"
:
"^5.4.
8
"
"vite"
:
"^5.4.
10
"
}
}
}
}
web/pnpm-lock.yaml
View file @
8635aed1
This source diff could not be displayed because it is too large. You can
view the blob
instead.
web/src/components/MemoContent/EmbeddedContent/EmbeddedMemo.tsx
View file @
8635aed1
...
@@ -75,7 +75,7 @@ const EmbeddedMemo = ({ resourceId: uid, params: paramsStr }: Props) => {
...
@@ -75,7 +75,7 @@ const EmbeddedMemo = ({ resourceId: uid, params: paramsStr }: Props) => {
<
span
className=
"text-xs opacity-60 leading-5 cursor-pointer hover:opacity-80"
onClick=
{
()
=>
copyMemoUid
(
memo
.
uid
)
}
>
<
span
className=
"text-xs opacity-60 leading-5 cursor-pointer hover:opacity-80"
onClick=
{
()
=>
copyMemoUid
(
memo
.
uid
)
}
>
{
memo
.
uid
.
slice
(
0
,
6
)
}
{
memo
.
uid
.
slice
(
0
,
6
)
}
</
span
>
</
span
>
<
Link
className=
"opacity-60 hover:opacity-80"
to=
{
`/m/${memo.uid}`
}
unstable_
viewTransition
>
<
Link
className=
"opacity-60 hover:opacity-80"
to=
{
`/m/${memo.uid}`
}
viewTransition
>
<
ArrowUpRightIcon
className=
"w-5 h-auto"
/>
<
ArrowUpRightIcon
className=
"w-5 h-auto"
/>
</
Link
>
</
Link
>
</
div
>
</
div
>
...
...
web/src/components/MemoRelationListView.tsx
View file @
8635aed1
...
@@ -64,7 +64,7 @@ const MemoRelationListView = (props: Props) => {
...
@@ -64,7 +64,7 @@ const MemoRelationListView = (props: Props) => {
key=
{
memo
.
name
}
key=
{
memo
.
name
}
className=
"w-auto max-w-full flex flex-row justify-start items-center text-sm leading-5 text-gray-600 dark:text-gray-400 dark:border-zinc-700 dark:bg-zinc-900 hover:underline"
className=
"w-auto max-w-full flex flex-row justify-start items-center text-sm leading-5 text-gray-600 dark:text-gray-400 dark:border-zinc-700 dark:bg-zinc-900 hover:underline"
to=
{
`/m/${memo.uid}`
}
to=
{
`/m/${memo.uid}`
}
unstable_
viewTransition
viewTransition
>
>
<
span
className=
"text-xs opacity-60 leading-4 border font-mono px-1 rounded-full mr-1 dark:border-zinc-700"
>
<
span
className=
"text-xs opacity-60 leading-4 border font-mono px-1 rounded-full mr-1 dark:border-zinc-700"
>
{
memo
.
uid
.
slice
(
0
,
6
)
}
{
memo
.
uid
.
slice
(
0
,
6
)
}
...
@@ -83,7 +83,7 @@ const MemoRelationListView = (props: Props) => {
...
@@ -83,7 +83,7 @@ const MemoRelationListView = (props: Props) => {
key=
{
memo
.
name
}
key=
{
memo
.
name
}
className=
"w-auto max-w-full flex flex-row justify-start items-center text-sm leading-5 text-gray-600 dark:text-gray-400 dark:border-zinc-700 dark:bg-zinc-900 hover:underline"
className=
"w-auto max-w-full flex flex-row justify-start items-center text-sm leading-5 text-gray-600 dark:text-gray-400 dark:border-zinc-700 dark:bg-zinc-900 hover:underline"
to=
{
`/m/${memo.uid}`
}
to=
{
`/m/${memo.uid}`
}
unstable_
viewTransition
viewTransition
>
>
<
span
className=
"text-xs opacity-60 leading-4 border font-mono px-1 rounded-full mr-1 dark:border-zinc-700"
>
<
span
className=
"text-xs opacity-60 leading-4 border font-mono px-1 rounded-full mr-1 dark:border-zinc-700"
>
{
memo
.
uid
.
slice
(
0
,
6
)
}
{
memo
.
uid
.
slice
(
0
,
6
)
}
...
...
web/src/components/MemoView.tsx
View file @
8635aed1
...
@@ -139,14 +139,14 @@ const MemoView: React.FC<Props> = (props: Props) => {
...
@@ -139,14 +139,14 @@ const MemoView: React.FC<Props> = (props: Props) => {
<
div
className=
"w-auto max-w-[calc(100%-8rem)] grow flex flex-row justify-start items-center"
>
<
div
className=
"w-auto max-w-[calc(100%-8rem)] grow flex flex-row justify-start items-center"
>
{
props
.
showCreator
&&
creator
?
(
{
props
.
showCreator
&&
creator
?
(
<
div
className=
"w-full flex flex-row justify-start items-center"
>
<
div
className=
"w-full flex flex-row justify-start items-center"
>
<
Link
className=
"w-auto hover:opacity-80"
to=
{
`/u/${encodeURIComponent(creator.username)}`
}
unstable_
viewTransition
>
<
Link
className=
"w-auto hover:opacity-80"
to=
{
`/u/${encodeURIComponent(creator.username)}`
}
viewTransition
>
<
UserAvatar
className=
"mr-2 shrink-0"
avatarUrl=
{
creator
.
avatarUrl
}
/>
<
UserAvatar
className=
"mr-2 shrink-0"
avatarUrl=
{
creator
.
avatarUrl
}
/>
</
Link
>
</
Link
>
<
div
className=
"w-full flex flex-col justify-center items-start"
>
<
div
className=
"w-full flex flex-col justify-center items-start"
>
<
Link
<
Link
className=
"w-full block leading-tight hover:opacity-80 truncate text-gray-600 dark:text-gray-400"
className=
"w-full block leading-tight hover:opacity-80 truncate text-gray-600 dark:text-gray-400"
to=
{
`/u/${encodeURIComponent(creator.username)}`
}
to=
{
`/u/${encodeURIComponent(creator.username)}`
}
unstable_
viewTransition
viewTransition
>
>
{
creator
.
nickname
||
creator
.
username
}
{
creator
.
nickname
||
creator
.
username
}
</
Link
>
</
Link
>
...
@@ -185,7 +185,7 @@ const MemoView: React.FC<Props> = (props: Props) => {
...
@@ -185,7 +185,7 @@ const MemoView: React.FC<Props> = (props: Props) => {
commentAmount
===
0
&&
"invisible group-hover:visible"
,
commentAmount
===
0
&&
"invisible group-hover:visible"
,
)
}
)
}
to=
{
`/m/${memo.uid}#comments`
}
to=
{
`/m/${memo.uid}#comments`
}
unstable_
viewTransition
viewTransition
>
>
<
MessageCircleMoreIcon
className=
"w-4 h-4 mx-auto text-gray-500 dark:text-gray-400"
/>
<
MessageCircleMoreIcon
className=
"w-4 h-4 mx-auto text-gray-500 dark:text-gray-400"
/>
{
commentAmount
>
0
&&
<
span
className=
"text-xs text-gray-500 dark:text-gray-400"
>
{
commentAmount
}
</
span
>
}
{
commentAmount
>
0
&&
<
span
className=
"text-xs text-gray-500 dark:text-gray-400"
>
{
commentAmount
}
</
span
>
}
...
...
web/src/components/Navigation.tsx
View file @
8635aed1
...
@@ -132,7 +132,7 @@ const Navigation = (props: Props) => {
...
@@ -132,7 +132,7 @@ const Navigation = (props: Props) => {
key=
{
navLink
.
id
}
key=
{
navLink
.
id
}
to=
{
navLink
.
path
}
to=
{
navLink
.
path
}
id=
{
navLink
.
id
}
id=
{
navLink
.
id
}
unstable_
viewTransition
viewTransition
>
>
{
props
.
collapsed
?
(
{
props
.
collapsed
?
(
<
Tooltip
title=
{
navLink
.
title
}
placement=
"right"
arrow
>
<
Tooltip
title=
{
navLink
.
title
}
placement=
"right"
arrow
>
...
...
web/src/pages/MemoDetail.tsx
View file @
8635aed1
...
@@ -96,7 +96,7 @@ const MemoDetail = () => {
...
@@ -96,7 +96,7 @@ const MemoDetail = () => {
<
Link
<
Link
className=
"px-3 py-1 border rounded-lg max-w-xs w-auto text-sm flex flex-row justify-start items-center flex-nowrap text-gray-600 dark:text-gray-400 dark:border-gray-500 hover:shadow hover:opacity-80"
className=
"px-3 py-1 border rounded-lg max-w-xs w-auto text-sm flex flex-row justify-start items-center flex-nowrap text-gray-600 dark:text-gray-400 dark:border-gray-500 hover:shadow hover:opacity-80"
to=
{
`/m/${parentMemo.uid}`
}
to=
{
`/m/${parentMemo.uid}`
}
unstable_
viewTransition
viewTransition
>
>
<
ArrowUpLeftFromCircleIcon
className=
"w-4 h-auto shrink-0 opacity-60 mr-2"
/>
<
ArrowUpLeftFromCircleIcon
className=
"w-4 h-auto shrink-0 opacity-60 mr-2"
/>
<
span
className=
"truncate"
>
{
parentMemo
.
content
}
</
span
>
<
span
className=
"truncate"
>
{
parentMemo
.
content
}
</
span
>
...
...
web/src/pages/SignIn.tsx
View file @
8635aed1
...
@@ -84,7 +84,7 @@ const SignIn = () => {
...
@@ -84,7 +84,7 @@ const SignIn = () => {
{
!
workspaceGeneralSetting
.
disallowUserRegistration
&&
!
workspaceGeneralSetting
.
disallowPasswordAuth
&&
(
{
!
workspaceGeneralSetting
.
disallowUserRegistration
&&
!
workspaceGeneralSetting
.
disallowPasswordAuth
&&
(
<
p
className=
"w-full mt-4 text-sm"
>
<
p
className=
"w-full mt-4 text-sm"
>
<
span
className=
"dark:text-gray-500"
>
{
t
(
"auth.sign-up-tip"
)
}
</
span
>
<
span
className=
"dark:text-gray-500"
>
{
t
(
"auth.sign-up-tip"
)
}
</
span
>
<
Link
to=
"/auth/signup"
className=
"cursor-pointer ml-2 text-blue-600 hover:underline"
unstable_
viewTransition
>
<
Link
to=
"/auth/signup"
className=
"cursor-pointer ml-2 text-blue-600 hover:underline"
viewTransition
>
{
t
(
"common.sign-up"
)
}
{
t
(
"common.sign-up"
)
}
</
Link
>
</
Link
>
</
p
>
</
p
>
...
...
web/src/pages/SignUp.tsx
View file @
8635aed1
...
@@ -139,7 +139,7 @@ const SignUp = () => {
...
@@ -139,7 +139,7 @@ const SignUp = () => {
)
:
(
)
:
(
<
p
className=
"w-full mt-4 text-sm"
>
<
p
className=
"w-full mt-4 text-sm"
>
<
span
className=
"dark:text-gray-500"
>
{
t
(
"auth.sign-in-tip"
)
}
</
span
>
<
span
className=
"dark:text-gray-500"
>
{
t
(
"auth.sign-in-tip"
)
}
</
span
>
<
Link
to=
"/auth"
className=
"cursor-pointer ml-2 text-blue-600 hover:underline"
unstable_
viewTransition
>
<
Link
to=
"/auth"
className=
"cursor-pointer ml-2 text-blue-600 hover:underline"
viewTransition
>
{
t
(
"common.sign-in"
)
}
{
t
(
"common.sign-in"
)
}
</
Link
>
</
Link
>
</
p
>
</
p
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment