Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support markdown template #275

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
622 changes: 622 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@
"react-syntax-highlighter": "^15.5.0",
"redux": "^4.2.1",
"rehype-katex": "^6.0.3",
"rehype-raw": "^6.1.1",
"remark-directive": "^2.0.1",
"remark-directive-rehype": "^0.4.2",
"remark-emoji": "^3.1.1",
"remark-gfm": "^3.0.1",
"remark-math": "^5.1.1",
Expand Down
37 changes: 37 additions & 0 deletions src/assets/templates/daily-sync.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# {date:YY-MM-DD} 데일리 싱크

## Name 🏠

어제

- 오늘
- 토론

## Name 🏢

어제

-
- 오늘
- 토론

## Name 🏠

어제

- 오늘
- 토론

## 프로젝트 현황

23년 2Q

- [x] 1.

23년 1Q

- [x] 1.

23년 목표

-
85 changes: 85 additions & 0 deletions src/assets/templates/performance-review.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
# [People] Performance review

:::info
:bulb: This template is for reviewing past performance and planning new objectives with the supervisor .
:::

### :small_blue_diamond: Review Date:

### :small_blue_diamond: Reviewer:

## :book: Employee Information

:::success
List the essential information for this employee. You can add the item you need.
:::

### :small_blue_diamond: Department:

### :small_blue_diamond: Manager:

### :small_blue_diamond: Title:

### :small_blue_diamond: Name:

### :small_blue_diamond: ID:

## :pencil: Scorecard

:::success
Scoring your performance.
:::

| **Item** | **1 = Poor** | **2 = Fair** | **3 = Satisfactory** | **4 = Good** | **5 = Excellent** |
| :------------------: | :-------------------------------: | :-------------------------------: | :-------------------------------: | :-------------------------------: | :-------------------------------: |
| Work Quality | <input type="checkbox" checked/> | <input type="checkbox" disabled/> | <input type="checkbox" disabled/> | <input type="checkbox" disabled/> | <input type="checkbox" disabled/> |
| Job Knowledge | <input type="checkbox" disabled/> | <input type="checkbox" disabled/> | <input type="checkbox" disabled/> | <input type="checkbox" disabled/> | <input type="checkbox" disabled/> |
| Communication Skills | <input type="checkbox" disabled/> | <input type="checkbox" disabled/> | <input type="checkbox" disabled/> | <input type="checkbox" disabled/> | <input type="checkbox" disabled/> |
| Independent Work | <input type="checkbox" disabled/> | <input type="checkbox" disabled/> | <input type="checkbox" disabled/> | <input type="checkbox" disabled/> | <input type="checkbox" disabled/> |
| Creativity | <input type="checkbox" disabled/> | <input type="checkbox" disabled/> | <input type="checkbox" disabled/> | <input type="checkbox" disabled/> | <input type="checkbox" disabled/> |
| Dependability | <input type="checkbox" disabled/> | <input type="checkbox" disabled/> | <input type="checkbox" disabled/> | <input type="checkbox" disabled/> | <input type="checkbox" disabled/> |
| Skills | <input type="checkbox" disabled/> | <input type="checkbox" disabled/> | <input type="checkbox" disabled/> | <input type="checkbox" disabled/> | <input type="checkbox" disabled/> |
| Attendance | <input type="checkbox" disabled/> | <input type="checkbox" disabled/> | <input type="checkbox" disabled/> | <input type="checkbox" disabled/> | <input type="checkbox" disabled/> |

### &rarr; Overall Rating:

## :100: Evaluation

:::success
Evaluate yourself and give examples.
:::

### :small_blue_diamond: Example of Strengths

1.
2.

### :small_blue_diamond: Improvement Needed

1.
2.

## :+1: Goal

:::success
Describe the goal for the previous and subsequent review.
:::

### :small_orange_diamond: Did you achieve the goal from the previous review?

- [ ] Yes
- [ ] No

### :small_orange_diamond: Goal for next review period:

1.
2.

## :pencil2: Reviewer Comments/Feedbacks

:::success
The comments/Feedbacks from the reviewer. According to the employee's performance to write.
:::

1.
2.
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@ import { CursorComponent } from '@tldraw/core';
// Component overrides for the tldraw renderer
const CustomCursor: CursorComponent = ({
color,
metadata = {
name: 'Anonymous',
},
metadata,
}: {
color: string;
metadata?: {
name: string;
};
}) => {
if (!metadata) {
return null;
}
return (
<div
style={{
Expand All @@ -33,7 +34,7 @@ const CustomCursor: CursorComponent = ({
/>
<div
style={{
background: 'white',
// background: 'white',
padding: '4px 8px',
borderRadius: 4,
whiteSpace: 'nowrap',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ import data, { EmojiMartData } from '@emoji-mart/data';
const emojiList = Object.keys((data as EmojiMartData).emojis).map((key) => {
const obj = (data as EmojiMartData).emojis[key];
return {
text: `:${key}:`,
displayText: `${obj.skins[0].native} :${key}:`,
text: obj.skins[0].native,
displayText: `${obj.skins[0].native} ${key}`,
keyText: `:${key}:`,
className: 'emoji-hint',
keywords: obj.keywords,
name: obj.name,
Expand All @@ -25,9 +26,8 @@ const emojiList = Object.keys((data as EmojiMartData).emojis).map((key) => {

// Format the list of emojis as CodeMirror hints
const hints = emojiList.filter((it) => {
// console.log(it.text, prefix);
return (
it.text.includes(query) ||
it.keyText.includes(query) ||
it.keywords.some((keyword) => {
return keyword.includes(query);
})
Expand Down
Loading