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
3266c3a5
Commit
3266c3a5
authored
Nov 05, 2023
by
Steven
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: update link styles
parent
ef820a11
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
16 deletions
+12
-16
BetaBadge.tsx
web/src/components/BetaBadge.tsx
+3
-1
CreateMemoRelationDialog.tsx
web/src/components/CreateMemoRelationDialog.tsx
+1
-1
RelationListView.tsx
web/src/components/MemoEditor/RelationListView.tsx
+1
-1
MemoRelationListView.tsx
web/src/components/MemoRelationListView.tsx
+2
-2
SSOSection.tsx
web/src/components/Settings/SSOSection.tsx
+2
-2
StorageSection.tsx
web/src/components/Settings/StorageSection.tsx
+3
-9
No files found.
web/src/components/BetaBadge.tsx
View file @
3266c3a5
...
@@ -10,7 +10,9 @@ const BetaBadge: React.FC<Props> = (props: Props) => {
...
@@ -10,7 +10,9 @@ const BetaBadge: React.FC<Props> = (props: Props) => {
return
(
return
(
<
span
<
span
className=
{
`mx-1 px-1 leading-5 text-xs border dark:border-zinc-600 rounded-full text-gray-500 dark:text-gray-400 ${className ?? ""}`
}
className=
{
`mx-1 px-1 leading-5 text-xs border font-normal dark:border-zinc-600 rounded-full text-gray-500 dark:text-gray-400 ${
className ?? ""
}`
}
>
>
{
t
(
"common.beta"
)
}
{
t
(
"common.beta"
)
}
</
span
>
</
span
>
...
...
web/src/components/CreateMemoRelationDialog.tsx
View file @
3266c3a5
...
@@ -96,7 +96,7 @@ const CreateMemoRelationDialog: React.FC<Props> = (props: Props) => {
...
@@ -96,7 +96,7 @@ const CreateMemoRelationDialog: React.FC<Props> = (props: Props) => {
<
div
className=
"w-full flex flex-row justify-start items-start flex-wrap gap-2 mt-1"
>
<
div
className=
"w-full flex flex-row justify-start items-start flex-wrap gap-2 mt-1"
>
{
memoList
.
map
((
memo
)
=>
(
{
memoList
.
map
((
memo
)
=>
(
<
div
<
div
className=
"max-w-[50%] text-sm px-3 py-1 flex flex-row justify-start items-center border rounded-
full
cursor-pointer truncate opacity-80 dark:text-gray-300 hover:opacity-60 hover:line-through"
className=
"max-w-[50%] text-sm px-3 py-1 flex flex-row justify-start items-center border rounded-
md
cursor-pointer truncate opacity-80 dark:text-gray-300 hover:opacity-60 hover:line-through"
key=
{
memo
.
id
}
key=
{
memo
.
id
}
onClick=
{
()
=>
handleDeleteMemoRelation
(
memo
)
}
onClick=
{
()
=>
handleDeleteMemoRelation
(
memo
)
}
>
>
...
...
web/src/components/MemoEditor/RelationListView.tsx
View file @
3266c3a5
...
@@ -38,7 +38,7 @@ const RelationListView = (props: Props) => {
...
@@ -38,7 +38,7 @@ const RelationListView = (props: Props) => {
return
(
return
(
<
div
<
div
key=
{
memo
.
id
}
key=
{
memo
.
id
}
className=
"w-auto max-w-xs overflow-hidden flex flex-row justify-start items-center bg-gray-100 dark:bg-zinc-800 hover:opacity-80 rounded text-sm p-1 px-2 text-gray-500 cursor-pointer hover:line-through"
className=
"w-auto max-w-xs overflow-hidden flex flex-row justify-start items-center bg-gray-100 dark:bg-zinc-800 hover:opacity-80 rounded
-md
text-sm p-1 px-2 text-gray-500 cursor-pointer hover:line-through"
onClick=
{
()
=>
handleDeleteRelation
(
memo
)
}
onClick=
{
()
=>
handleDeleteRelation
(
memo
)
}
>
>
<
Icon
.
Link
className=
"w-4 h-auto shrink-0 opacity-80"
/>
<
Icon
.
Link
className=
"w-4 h-auto shrink-0 opacity-80"
/>
...
...
web/src/components/MemoRelationListView.tsx
View file @
3266c3a5
...
@@ -40,7 +40,7 @@ const MemoRelationListView = (props: Props) => {
...
@@ -40,7 +40,7 @@ const MemoRelationListView = (props: Props) => {
return
(
return
(
<
div
key=
{
memo
.
id
}
className=
"block w-auto max-w-[50%]"
>
<
div
key=
{
memo
.
id
}
className=
"block w-auto max-w-[50%]"
>
<
Link
<
Link
className=
"px-2 border rounded-
full
w-auto text-sm leading-6 flex flex-row justify-start items-center flex-nowrap text-gray-600 dark:text-gray-300 dark:border-gray-600 hover:shadow hover:opacity-80"
className=
"px-2 border rounded-
md
w-auto text-sm leading-6 flex flex-row justify-start items-center flex-nowrap text-gray-600 dark:text-gray-300 dark:border-gray-600 hover:shadow hover:opacity-80"
to=
{
`/m/${memo.id}`
}
to=
{
`/m/${memo.id}`
}
>
>
<
Tooltip
title=
"Reference"
placement=
"top"
>
<
Tooltip
title=
"Reference"
placement=
"top"
>
...
@@ -60,7 +60,7 @@ const MemoRelationListView = (props: Props) => {
...
@@ -60,7 +60,7 @@ const MemoRelationListView = (props: Props) => {
return
(
return
(
<
div
key=
{
memo
.
id
}
className=
"block w-auto max-w-[50%]"
>
<
div
key=
{
memo
.
id
}
className=
"block w-auto max-w-[50%]"
>
<
Link
<
Link
className=
"px-2 border rounded-
full
w-auto text-sm leading-6 flex flex-row justify-start items-center flex-nowrap text-gray-600 dark:text-gray-300 dark:border-gray-600 hover:shadow hover:opacity-80"
className=
"px-2 border rounded-
md
w-auto text-sm leading-6 flex flex-row justify-start items-center flex-nowrap text-gray-600 dark:text-gray-300 dark:border-gray-600 hover:shadow hover:opacity-80"
to=
{
`/m/${memo.id}`
}
to=
{
`/m/${memo.id}`
}
>
>
<
Tooltip
title=
"Backlink"
placement=
"top"
>
<
Tooltip
title=
"Backlink"
placement=
"top"
>
...
...
web/src/components/Settings/SSOSection.tsx
View file @
3266c3a5
...
@@ -107,10 +107,10 @@ const SSOSection = () => {
...
@@ -107,10 +107,10 @@ const SSOSection = () => {
))
}
))
}
<
div
className=
"w-full mt-8"
>
<
div
className=
"w-full mt-8"
>
<
p
className=
"text-sm"
>
{
t
(
"common.learn-more"
)
}
</
p
>
<
p
className=
"text-sm"
>
{
t
(
"common.learn-more"
)
}
:
</
p
>
<
List
component=
"ul"
marker=
"disc"
size=
"sm"
>
<
List
component=
"ul"
marker=
"disc"
size=
"sm"
>
<
ListItem
>
<
ListItem
>
<
Link
className=
"text-sm
hover:underline hover:text-blue-600
"
to=
"https://www.usememos.com/docs/advanced-settings/keycloak"
>
<
Link
className=
"text-sm
text-blue-600 hover:underline
"
to=
"https://www.usememos.com/docs/advanced-settings/keycloak"
>
Configuring Keycloak for Authentication
Configuring Keycloak for Authentication
</
Link
>
</
Link
>
</
ListItem
>
</
ListItem
>
...
...
web/src/components/Settings/StorageSection.tsx
View file @
3266c3a5
...
@@ -124,21 +124,15 @@ const StorageSection = () => {
...
@@ -124,21 +124,15 @@ const StorageSection = () => {
))
}
))
}
</
div
>
</
div
>
<
div
className=
"w-full mt-4"
>
<
div
className=
"w-full mt-4"
>
<
p
className=
"text-sm"
>
{
t
(
"common.learn-more"
)
}
</
p
>
<
p
className=
"text-sm"
>
{
t
(
"common.learn-more"
)
}
:
</
p
>
<
List
component=
"ul"
marker=
"disc"
size=
"sm"
>
<
List
component=
"ul"
marker=
"disc"
size=
"sm"
>
<
ListItem
>
<
ListItem
>
<
Link
<
Link
className=
"text-sm text-blue-600 hover:underline"
to=
"https://www.usememos.com/docs/advanced-settings/local-storage"
>
className=
"text-sm hover:underline hover:text-blue-600"
to=
"https://www.usememos.com/docs/advanced-settings/local-storage"
>
Docs - Local storage
Docs - Local storage
</
Link
>
</
Link
>
</
ListItem
>
</
ListItem
>
<
ListItem
>
<
ListItem
>
<
Link
<
Link
className=
"text-sm text-blue-600 hover:underline"
to=
"https://www.usememos.com/blog/choosing-a-storage-for-your-resource"
>
className=
"text-sm hover:underline hover:text-blue-600"
to=
"https://www.usememos.com/blog/choosing-a-storage-for-your-resource"
>
Choosing a Storage for Your Resource: Database, S3 or Local Storage?
Choosing a Storage for Your Resource: Database, S3 or Local Storage?
</
Link
>
</
Link
>
</
ListItem
>
</
ListItem
>
...
...
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