Skip to content

Commit

Permalink
๐Ÿ”จ Fix: ์„ธ๋ถ€ํŽ˜์ด์ง€ ์ž๋™์ƒˆ๋กœ๊ณ ์นจ ํ•ด์ œ์กฐ๊ฑด ์ถ”๊ฐ€
Browse files Browse the repository at this point in the history
#
  • Loading branch information
qilip committed Nov 8, 2023
1 parent 8f0cd4d commit 9d5f7a0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions components/View/Detail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,7 @@ const summary = computed(() => {
์ž๋™์œผ๋กœ ์ง„ํ–‰์ƒํ™ฉ์„ ํ™•์ธํ•˜๊ณ  ์žˆ์–ด์š”. ์ž ์‹œ๋งŒ ๊ธฐ๋‹ค๋ ค์ฃผ์„ธ์š”...`;
case 'SCRAPE_PROCESSING':
return `์Šคํฌ๋žฉ์ด ์ง„ํ–‰์ค‘์ด์—์š”!
30์ดˆ ์ •๋„ ๊ฑธ๋ฆด ์ˆ˜ ์žˆ์–ด์š”.
์ž๋™์œผ๋กœ ์ง„ํ–‰์ƒํ™ฉ์„ ํ™•์ธํ•˜๊ณ  ์žˆ์–ด์š”. ์ž ์‹œ๋งŒ ๊ธฐ๋‹ค๋ ค์ฃผ์„ธ์š”...`;
case 'SCRAPE_REJECTED':
return `์Šคํฌ๋žฉ์— ์‹คํŒจํ–ˆ์–ด์š”. ๋‹ค์Œ๊ณผ ๊ฐ™์€ ์ด์œ ์ผ ์ˆ˜ ์žˆ์–ด์š”.
Expand All @@ -480,6 +481,7 @@ const summary = computed(() => {
์ž๋™์œผ๋กœ ์ง„ํ–‰์ƒํ™ฉ์„ ํ™•์ธํ•˜๊ณ  ์žˆ์–ด์š”. ์ž ์‹œ๋งŒ ๊ธฐ๋‹ค๋ ค์ฃผ์„ธ์š”...`;
case 'EMBED_PROCESSING':
return `AI๊ฐ€ ์ž๋ฃŒ๋ฅผ ์š”์•ฝ์ค‘์ด์—์š”!
1๋ถ„ ์ •๋„ ๊ฑธ๋ฆด ์ˆ˜ ์žˆ์–ด์š”.
์ž๋™์œผ๋กœ ์ง„ํ–‰์ƒํ™ฉ์„ ํ™•์ธํ•˜๊ณ  ์žˆ์–ด์š”. ์ž ์‹œ๋งŒ ๊ธฐ๋‹ค๋ ค์ฃผ์„ธ์š”...`;
case 'EMBED_REJECTED':
return `AI๊ฐ€ ์ž๋ฃŒ๋ฅผ ์š”์•ฝํ•˜์ง€ ๋ชปํ–ˆ์–ด์š”. ๋‹ค์Œ๊ณผ ๊ฐ™์€ ์ด์œ ์ผ ์ˆ˜ ์žˆ์–ด์š”.
Expand Down
2 changes: 2 additions & 0 deletions pages/view/[docId].vue
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ onActivated(() => {
});
onDeactivated(() => {
clearInterval(autoReloadInterval);
unsetObserver();
});
Expand All @@ -145,6 +146,7 @@ const initialFetch = async () => {
let autoReloadInterval: any = null;
const autoReload = () => {
clearInterval(autoReloadInterval);
autoReloadInterval = setInterval(async () => {
document.value = await documentStore.fetchDocumentDetail(docId);
if (
Expand Down
4 changes: 2 additions & 2 deletions utils/cardSummary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ export default function (
case 'SCRAPE_PENDING':
return '์Šคํฌ๋žฉ ๋Œ€๊ธฐ์ค‘์ด์—์š”.';
case 'SCRAPE_PROCESSING':
return '์Šคํฌ๋žฉ์ด ์ง„ํ–‰์ค‘์ด์—์š”!';
return '์Šคํฌ๋žฉ์ด ์ง„ํ–‰์ค‘์ด์—์š”!\n30์ดˆ ์ •๋„ ๊ฑธ๋ฆด ์ˆ˜ ์žˆ์–ด์š”.';
case 'SCRAPE_REJECTED':
return '์Šคํฌ๋žฉ์— ์‹คํŒจํ–ˆ์–ด์š”.';
case 'EMBED_PENDING':
return 'AI๊ฐ€ ๊ณง ์ž๋ฃŒ๋ฅผ ์š”์•ฝํ• ๊ฑฐ์—์š”.';
case 'EMBED_PROCESSING':
return 'AI๊ฐ€ ์ž๋ฃŒ๋ฅผ ์š”์•ฝ์ค‘์ด์—์š”!';
return 'AI๊ฐ€ ์ž๋ฃŒ๋ฅผ ์š”์•ฝ์ค‘์ด์—์š”!\n1๋ถ„ ์ •๋„ ๊ฑธ๋ฆด ์ˆ˜ ์žˆ์–ด์š”.';
case 'EMBED_REJECTED':
return 'AI๊ฐ€ ์ž๋ฃŒ๋ฅผ ์š”์•ฝํ•˜์ง€ ๋ชปํ–ˆ์–ด์š”.';
default:
Expand Down

0 comments on commit 9d5f7a0

Please sign in to comment.