Skip to content

Commit 7ac99f4

Browse files
committed
update TODO popups a bit
1 parent 215852b commit 7ac99f4

File tree

6 files changed

+46
-6
lines changed

6 files changed

+46
-6
lines changed

src/components/Badge.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const Badge = ({ text, type }: BadgeProps) => {
4848
{TooltipComponent && (
4949
<div
5050
className={twMerge(
51-
'absolute top-full z-10 w-50 rounded border px-2 py-1 text-xs shadow-lg',
51+
'absolute top-full z-10 w-30 rounded border px-2 py-1 text-left text-xs shadow-lg',
5252
typeColors[type],
5353
)}
5454
>
Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
export function CodePreview() {
2-
return <a href='https://github.com/diffplug/gitcasso/issues/81'>TODO #81</a>
2+
return (
3+
<>
4+
TODO{' '}
5+
<a href='https://github.com/diffplug/gitcasso/issues/81' className='underline'>
6+
#81
7+
</a>
8+
: show every codeblock in the draft
9+
</>
10+
)
311
}
Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
export function ImagePreview() {
2-
return <a href='https://github.com/diffplug/gitcasso/issues/80'>TODO #80</a>
2+
return (
3+
<>
4+
TODO{' '}
5+
<a href='https://github.com/diffplug/gitcasso/issues/80' className='underline'>
6+
#80
7+
</a>
8+
: show every image in the draft
9+
</>
10+
)
311
}
Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
export function LinkPreview() {
2-
return <a href='https://github.com/diffplug/gitcasso/issues/79'>TODO #79</a>
2+
return (
3+
<>
4+
TODO{' '}
5+
<a href='https://github.com/diffplug/gitcasso/issues/79' className='underline'>
6+
#79
7+
</a>
8+
: show text, url, and preview info for every link in the draft
9+
</>
10+
)
311
}
Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
export function TextPreview() {
2-
return <a href='https://github.com/diffplug/gitcasso/issues/82'>TODO #82</a>
2+
return (
3+
<>
4+
TODO{' '}
5+
<a href='https://github.com/diffplug/gitcasso/issues/82' className='underline'>
6+
#82
7+
</a>
8+
: show the syntax-highlighted markdown of the latest draft
9+
</>
10+
)
311
}
Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
export function TimePreview() {
2-
return <a href='https://github.com/diffplug/gitcasso/issues/83'>TODO #83</a>
2+
return (
3+
<>
4+
TODO{' '}
5+
<a href='https://github.com/diffplug/gitcasso/issues/83' className='underline'>
6+
#83
7+
</a>
8+
: show the revision history of the comment
9+
</>
10+
)
311
}

0 commit comments

Comments
 (0)